Document how to fix the permissions bug when deleting docker volumes.

This commit is contained in:
Daniel Ceregatti 2025-07-28 15:47:15 -06:00
parent efb9276a8e
commit eb6ac6c1a1

View file

@ -16,10 +16,11 @@ This project started when the Linux DayZ server was released for DayZ experiment
* The save file becomes corrupted and when the server restarts so the changes do not persist. * The save file becomes corrupted and when the server restarts so the changes do not persist.
* There are other bugs: * There are other bugs:
* [Server doesn't stop with SIGTERM](https://feedback.bistudio.com/T170721) * [Server doesn't stop with SIGTERM](https://feedback.bistudio.com/T170721)
* When deleting a docker volume, permissions are reset, which causes this error: `ERROR! Failed to install app '223350' (Missing file permissions)`. To fix: * After deleting the `serverfiles` docker volume, permissions are incorrect when restarting the stack, which causes file permissions errors. To fix:
```shell ```shell
docker compose run -u0 --rm web chown user:user /serverfiles/steamapps` docker compose run -u0 --rm web chown user:user /serverfiles -R`
``` ```
Unfortunately, this cannot be easily mitigated within the code, so it remains a manual process.
This project is a work in progress: See the [roadmap](ROADMAP.md). This project is a work in progress: See the [roadmap](ROADMAP.md).