Closed jhoogeboom closed 8 months ago
Can you check if this is still a problem with the unstable build? (do not use your main setup for this)
Just did a fresh docker compose pull on the vikunja/vikunja:unstable
image, deleted the db/files, recreated them with right owner. But the vikunja.db is created without any permissions still:
16777233 20779664 ---------- 1 (1000) (1000) 0 0 "Mar 29 09:44:52 2024" "Mar 29 09:44:52 2024" "Mar 29 09:52:25 2024" "Mar 29 09:44:52 2024" 4096 0 0 db/vikunja.db
I was unable to reproduce this with your docker compose file and the latest unstable build.
Maybe this is a filesystem issue? Which OS are you running on? Which FS are you using?
Does it work if you touch
and chown
the db file manually?
Oh it seems a OS issue, I cannot reproduce this on my ubuntu box where my normal setup runs, there the database is created with the right permissions. I thought I'd try out the new container version locally on my laptop which is macOS.
Description
Using this docker-compose:
I also chown the folders first before starting the docker with:
but I get this error:
Turns out that the user 1000 does own the folder and the files, but the permission on vikunja.db is zero, I did
chmod u+rw db/vikunja.db
which fixes it. Perhaps it can be fixed so that the user does not have to do this.Vikunja Version
latest docker vikunja/vikunja
Browser and version
No response
Can you reproduce the bug on the Vikunja demo site?
Please select
Screenshots
No response