Cannot get homarr v1.0.0-beta4 to start (permissions)

I have been unable to get appropriate permissions set up for /appdata. Tried setting perms to 777, subdirectories are created but container is unable to chown. Recently tried just using a volume instead of a bind and now getting mkdir: can't create directory '/appdata/db': Permission denied Is there a way to set the uid/gid that the container runs as? Passing them as env vars did not appear to work
Solution
Okay I just setup portainer and took a look. It seems like you currently have somehow defined that it needs to run with the nextjs user see your inspection in Config > User above Volumes. For me this field is an empty string: "User": ""
So I guess you have configured this somewhere in your portainer configuration
Was this page helpful?