Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The SECRET_KEY setting must not be empty #151

Open
x86dx2 opened this issue Dec 28, 2023 · 1 comment
Open

The SECRET_KEY setting must not be empty #151

x86dx2 opened this issue Dec 28, 2023 · 1 comment

Comments

@x86dx2
Copy link

x86dx2 commented Dec 28, 2023

I cloned the repository, installed the virtual environment, ran the 'run.py,' but when I try to enter the username and password (anyone), I get this error:

OperationalError at /login
no such table: auth_user
Request Method: POST

Request URL: | http://localhost:1515/login
Django Version: | 3.1.14
Exception Type: | OperationalError
Exception Value: | no such table: auth_user
Exception Location: | /Users/x86/OneDrive/VScode/Docker/strongMan/env/lib/python3.11/site-packages/django/db/backends/sqlite3/base.py, line 413, in execute
Python Executable: | /Users/x86/OneDrive/VScode/Docker/strongMan/env/bin/python3.11
Python Version: | 3.11.6
Python Path: | ['/Users/x86/OneDrive/VScode/Docker/strongMan', '/Users/x86/OneDrive/VScode/Docker/strongMan/env/bin',
'/usr/local/Cellar/[email protected]/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python311.zip',
'/usr/local/Cellar/[email protected]/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11',
'/usr/local/Cellar/[email protected]/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/lib-dynload',
'/Users/x86/OneDrive/VScode/Docker/strongMan/env/lib/python3.11/site-packages']

@theko2fi
Copy link
Contributor

theko2fi commented Jan 4, 2024

Check the permission on the strongMan/strongMan/db.sqlite3 file. That file should be writable by the user your application is running as.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants