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

fix path of SQLITE_URL for Django (postorius + web docker-image) #539

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

SvenRoederer
Copy link
Contributor

Startup of images using SQLite database fails as of non-existent database file.
Fix this by using the proper syntax (joke2k/django-environ#187 (comment)) to have the database created at /opt/mailman-web-data/mailmanweb.db .

Addresses the problem of #193 I also ran into.

Startup of images using SQLite database fails as of non-existent database file.
Fix this by using the proper syntax [1] to have the database created at /opt/mailman-web-data/mailmanweb.db

1 - joke2k/django-environ#187 (comment)

Signed-off-by: Sven Roederer <sven@geroedel.de>
@maxking
Copy link
Owner

maxking commented Apr 14, 2022

We don’t use django-environ in this project and also the syntax is actually correct, it will just create the database in the CWD which is /opt/mailman-web inside the container. The only issue really is that it won’t persist container upgrades since it is not a mount point.

Although, they are different database engines.

Does this change in this allow your local setup to work correctly? If yes, I’ll go ahead and merge this.

@github-actions
Copy link

This Pull Request has not been updated for more than 1year

@SvenRoederer
Copy link
Contributor Author

Sorry for the long delay ...

As far as I remember, with this change included the setup passed without issues.

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

Successfully merging this pull request may close these issues.

None yet

2 participants