Skip to content

Trouble migrating v3 -> v4: Attempt to write to a readonly database #435

Answered by karlomikus
smugleafdev asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,
First PUID and PGID env variables are not used anymore, so you can remove those. What I would is first check if the user and group is correct in the container.

docker compose exec bar-assistant ls -al

It should show www-data:www-data for all files and folders (33:33).
Then do the same for the mounted folder

docker compose exec bar-assistant ls -al storage/bar-assistant

This should also show www-data:www-data for all files and folders

If it's not you could just try to chown it via:

docker compose exec -u root bar-assistant chown -R 33:33 storage/bar-assistant

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@smugleafdev
Comment options

@mikelagase
Comment options

Answer selected by smugleafdev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants