Permission error running latest container image #6480
Replies: 5 comments 16 replies
-
|
What's the user that owns the local file system storage volume? As of rc71, the Docker image uses the @paescuj @t7tran any instructions on how to update the owner of the volume? |
Beta Was this translation helpful? Give feedback.
-
|
While the Directus container is running (whichever version you can get it up and running), follow the steps below:
If you use |
Beta Was this translation helpful? Give feedback.
-
|
The |
Beta Was this translation helpful? Give feedback.
-
|
This is an issue on the latest container version. This is running on Ubuntu server by a user in the docker group. Using the docker compose example provided in the docs: Fixed!! 🚀 @mattes3 solution worked after I pruned volumes and restarted the command a couple times! 🎉 Full docker-compose.yml for anyone who has same issue: |
Beta Was this translation helpful? Give feedback.
-
|
It happens because docker "bind mount" host directory (in contrast to named volumes) is not initialized with owner/permissions taken from inside the container directory. It can be fixed via docker compose P.S.: see directus/docs#428 for details |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
If the above steps do not resolve your issue, please complete the following:
The issue and what you expected to happen
Endpoint
/server/healthis returning an error instead of 200.Exact steps to reproduce this issue
/server/healthYour environment:
v9.0.0-rc.69 and v9.0.0-rc.80 container images
Postgres
Docker and docker-compose
Any other relevant information we might need to reproduce this issue
Beta Was this translation helpful? Give feedback.
All reactions