Closed belatedly closed 10 months ago
Can you try this command:
sudo -u bookwyrm venv/bin/python3 manage.py admin_code
sudo: venv/bin/python3: command not found
cd /var/www/bookwyrm
sudo -u bookwyrm venv/bin/python3 manage.py admin_code
Thank you, that worked
Describe the bug
I copied the command that is required to generate the admin code and am getting this error:
Context
Steps to reproduce
sudo -u bookwyrm /var/www/bookwyrm/venv/bin/python3 /var/www/bookwyrm/manage.py admin_code
as rootExpected behavior
The admin code should be generated
Logs
Error message noted above