On 21/11/2024 02:08, Ed Wong wrote:
Ed Wong wrote:
As an addendum, I found the only mention of "kallitheavhost"
and that was with my celery line in the configuration.

celery.broker_url = redis://<usr>:<pwd>@<host>:<ip>/kallitheavhost

I'm wondering if I actually got this url string correct.

Sorry for the noise,  looks like it's a PEBCAK again. ;/


I agree everything points in that direction. Or rather in the configuration of celery and redis ... and Kallithea.


I get a 'better' response:

2024-11-21 09:13:48.762 INFO  [sqlalchemy.engine.base.Engine] (9, 2)
..
2024-11-21 09:13:48.773 DEBUG [sqlalchemy.engine.base.Engine] Col
('statistics_stat_id', 'statistics_repository_id',
'statistics_stat_on_revision', 'statistics_commit_activity',
'statistics_commit_activity_combined', 'statistics_languages')


Again, that seems to be the log from the 0.01 second where it is rendering the error page. That is not where the problem is.

With a plain ini file, I see plain `gearbox serve -c foo.ini` showing repository creation exceptions on stdout, without additional configuration of debug or logging. But I don't know if your exact problems would be caught elsewhere, perhaps in some celery log.

Changing the .ini file to

[loggers]
keys = root

I get much more verbose logging that potentially could be helpful, including

2024-11-21 02:35:41.371 INFO  [kallithea.model.repo] creating repo sadfasdf in /var/tmp/sadfasdf from url: ``

I thus think Kallithea did an OK job being helpful in this area out of the box. But it can be configured and has advanced features where users and their system administrators must know all the moving parts.

Has anyone here setup Celery + redis?  If so,  was I supposed
to somehow create a DB?  It doesn't mention anything creating
a DB.  using redis-cli,  "INFO keyspace" shows that there
is a db0.  No clue if it defaults to readwrite; but from
what I gather, default is read/write.

FWIW, I don't think I have tried. I have only tried rabbitmq.

/Mads

_______________________________________________
kallithea-general mailing list
[email protected]
https://lists.sfconservancy.org/mailman/listinfo/kallithea-general

Reply via email to