On Fri, 1 Nov 2024 12:29:56 -0700 Mark Sapiro <mark@msapiro.net> wrote:
On 10/31/24 21:18, Jigme Datse wrote:
On Thu, 31 Oct 2024 20:07:00 -0700 Mark Sapiro <mark@msapiro.net> wrote:
What's in Django's logs?
Attached logs (I hope that works). A couple are currently empty?
I suspect the django_q error is because you need to run
django-admin migrate
[1], but it isn't responsible for your inability to get list pages.Again, what's in Django's logs? These are not the uwsgi logs. If you don't know where they are, look in your Django settings in the LOGGING definition for the filename setting for the file handler.
[1] The actual name of the Django admin command may be
django-admin
,python manage.py
or something else depending on how Mailman web is installed.
Thank you,
A couple of things, running django-admin complains about:
Note that only Django core commands are listed as settings are not properly configured (error: Requested setting INSTALLED_APPS, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.).
which *that* error gets replaced by:
django.core.exceptions.ImproperlyConfigured: settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details.
with the command:
python venv/lib/python3.12/site-packages/mailman_web/manage.py migrate
which *might* be the wrong manage.py but other than the change with the migrate command, without it looks to throw the same output.
The Django log was at that time empty it's now attached (larger than I'd like).
It does seem like some configuration isn't quite working. Maybe *badly* not working with some change that happened.
It's not a huge deal, this is more a "fun project" for me. This part of it isn't so much fun.