-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Bug: Upgrade from 0.18 to 0.19.3 results in read-only error to argus.db #519
Comments
That's odd. That quote change in the entrypoint.sh really shouldn't be causing this, especially if it's just an upgrade and the UID/GID hasn't changed. I created a container on Could you check the permissionz inside the container please? docker exec -it argus ls -lah /app/data ✔ 9380 18:11:36
total 20K
drwxr-xr-x 3 1000 1000 96 Jan 17 18:08 .
drwxr-sr-x 1 argus argus 4.0K Jan 15 21:11 ..
-rw-r--r-- 1 1000 1000 12.0K Jan 17 18:08 argus.db |
Still on 0.18.0 it shows: ~/argus$ sudo docker exec -it argus ls -alh /app/data ~/argus$ cat docker-compose.yml
|
What about the |
I think this may be caused from the addition of the
line in the Dockerfile. I'll look into this some more and decide what to do about it |
Looks like that is the issue. The DB is owned by non-911, but with that line, the app will only run as 911, so won't have permission to write to the DB. Thanks for reporting! |
0.19.4 is releasing now and should, 🤞, fix this |
Thanks @JosephKav all good here pulling 0.19.4. |
Describe the bug
When upgrading from 0.18.0 to latest 0.19.3, I get errors about write permissions on argus.db that I didn't have with 0.18.0
To Reproduce
Steps to reproduce the behavior:
Log errors:
Docker compose file:
Docker host perms on the mounted file
Container log on start for version 0.18
Expected behavior
When upgrading from 0..18.0 to 0.19.x, I expected it to start without any impact to/from my argus.db file.
Screenshots
N/A
Desktop (please complete the following information):
Docker
Smartphone (please complete the following information):
N/A
The text was updated successfully, but these errors were encountered: