Comment 5 for bug 1724096

Revision history for this message
Michael Skalka (mskalka) wrote :

Alberto,

Ran into this bug today as well. Created a superuser via the CLI, then tried to delete it with another super user via the GUI. I initially thought it was due to the fact that I had never logged in with the deleted user (no login, no logs?) but that turned out to be false. The GUI error is the same as above, just rendered in html:

ProgrammingError at /accounts/tmadmin/del/
relation "django_admin_log" does not exist
LINE 1: DELETE FROM "django_admin_log" WHERE "django_admin_log"."use...
                    ^
Request Method: POST
Request URL: http://10.X.X.X/MAAS/accounts/tmadmin/del/
Django Version: 1.8.7
Exception Type: ProgrammingError
Exception Value:
relation "django_admin_log" does not exist
LINE 1: DELETE FROM "django_admin_log" WHERE "django_admin_log"."use...
                    ^
Exception Location: /usr/lib/python3/dist-packages/django/db/backends/utils.py in execute, line 64
Python Executable: /usr/bin/python3
Python Version: 3.5.2
Python Path:
['/',
 '/usr/bin',
 '/usr/lib/python35.zip',
 '/usr/lib/python3.5',
 '/usr/lib/python3.5/plat-x86_64-linux-gnu',
 '/usr/lib/python3.5/lib-dynload',
 '/usr/local/lib/python3.5/dist-packages',
 '/usr/lib/python3/dist-packages']
Server time: Wed, 31 Jan 2018 15:57:19 +0000