clusterinthecloud / support

If you need help with Cluster in the Cloud, this is the right place
2 stars 0 forks source link

webui incompatible with django 3.2 #35

Closed ghost closed 3 years ago

ghost commented 3 years ago

New clusters are failing to during the Ansible phase due to Django releasing a new version (3.2) that is apparently not fully compatible with previous django verisons (3.1.x). The ensure_adminuser command is no longer being found.

If I manually run /opt/webui_venv/bin/python manage.py ensure_adminuser --username... I get an error: Unknown command: 'ensure_adminuser'

I can downgrade django to 3.1.6 (or probably any other 3.1.x) via pip, and the command then works.