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

Handle sqlite DB not having write access #100

Open
stuartlangridge opened this issue Jul 9, 2018 · 1 comment
Open

Handle sqlite DB not having write access #100

stuartlangridge opened this issue Jul 9, 2018 · 1 comment

Comments

@stuartlangridge
Copy link
Collaborator

If the webserver user doesn't have write access to the sqlite DB, API calls that try to write die with a 500 error. Trap this error and return something indicating it, and display the error (and potential solutions) in the error menu in the front end.

@grooverdan
Copy link

volume option required to add to README.md - for starting boxedcode/alpine-nginx-php-fpm docker image - -v /path/to//Measure/database:/var/www/database - the db need to be in the image at /var/www/database and to be owned to the nginx (within the container) along with admin.db.

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