If the sqlite3 database file is not readable or writable by the user running Ghost, then you’ll run into some errors.
content/data/
but this path may also be configured in your config file.
Ensure that the path in the config is correct and that the path is both readable and writable by the user running Ghost.
This solution is for developers using the supported Ghost install method using ghost-cli. If you’re having problems with an unsupported custom install, check out the community forum.