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

Write permission on data/db #2064

Closed
mariovor opened this issue May 12, 2016 · 2 comments
Closed

Write permission on data/db #2064

mariovor opened this issue May 12, 2016 · 2 comments

Comments

@mariovor
Copy link
Contributor

Issue details

I installed today wallabag and the site was afterwards not reachable.
The log stated:
PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 8 attempt to write a readonly database

I could solve the issue by giving write access of data/db to www-user.
However, this is not stated in the documentation http://doc.wallabag.org/en/master/user/installation.html#rights-access-to-the-folders-of-the-project

Is this is a bug or just missing in the documentation?

Environment

  • wallabag version (or git revision) that exhibits the issue: 2.0.4
  • How did you install wallabag? git clone
  • Last wallabag version that did not exhibit the issue (if applicable): new install
  • php version: PHP Version 5.5.33
  • OS: debian wheezy
  • type of hosting (shared or dedicated): dedicated
  • which storage system you choose at install (SQLite, MySQL/MariaDB or PostgreSQL): default
@tcitworld
Copy link
Member

Indeed it's missing from the documentation.

@nicosomb
Copy link
Member

nicosomb commented Oct 7, 2016

In the documentation, we can see that we say to do a chmod -R for these folders:

  • /var/www/wallabag/bin/
  • /var/www/wallabag/app/config/
  • /var/www/wallabag/vendor/
  • /var/www/wallabag/data/

Fixed.

@nicosomb nicosomb closed this as completed Oct 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants