ljrk, (edited ) Oof, I like #wallabag as an idea but hosting that stuff is terrible... pulling up the #Container image doesn't work... it just dies because the
data/db
directory must exist and be writable by the user *drumroll*nobody
. The error is extremely misleading, mostly talking about the database itself not being writable, not the containing directory, which seems to be just a #PHP thing to do:> If you receive an error while trying to write to a sqlite database (update, delete, drop):
>
>Warning: PDO::query() [function.query]: SQLSTATE[HY000]: General error: 1 unable to open database
>
> The folder that houses the database file must be writeable.https://www.php.net/manual/en/ref.pdo-sqlite.php#57356
Finally, when creating a local user you need to manually pass
prod
to the symfony console:
bin/console --env=prod fos:user:create
Otherwise it will complain about modules not being loadable :|
Add comment