-
Notifications
You must be signed in to change notification settings - Fork 344
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
Following contributing guide, migration step failing #1455
Comments
There was an error in the installation guide that may have led to the above error. Make sure you run The migrations worked for me when I attempted them just now. |
I've tried deleting and re-cloning the repo and I still get the same error. Here is a video of the process, am I doing anything wrong? open-civi-wiki.mp4 |
Can you upload a video where it creates the initial Poetry virtual environment? |
Is this what you mean? I deleted the poetry environment so open-civi-wiki-2.mp4 |
@gorkemarslan are you able to spot anything that might be causing this bug? |
@bigbuckalex, what operating system are you using? As far as I understand, the Django framework cannot connect your local database because it cannot validate the database configs. Can you try to replace the database configs in your settings.py file OpenCiviWiki/project/core/settings.py Lines 118 to 130 in 549cd03
with the default one: DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
}
} |
@gorkemarslan I am using Pop!_OS 22.04 Replacing the database configs allowed me to run the migrations. Thank you! |
Description
I am following the contributing guide and I am getting this error message on the "Run migrations" step:
What should have happened?
No response
What browser(s) are you seeing the problem on?
Not applicable
Further details
Full error message:
The text was updated successfully, but these errors were encountered: