Using a non-root user leads to some permission errors #153
Unanswered
ArmoredGoat
asked this question in
Q&A
Replies: 1 comment
|
Hey! I've never tried this before, so I can't say much about potential issues. But all errors seem to originate from caddy, which is the reverse-proxy responsible for either serving the frontend or handling requests to the API. If everything still works and there aren't any issues (look out for Nevertheless, when I have some spare time I'll have a look for how to run caddy without root permissions, although it seems to work for now. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I would like to run Ocular inside a non-root container (e.g., with
user: 1000:1000). The application files and all other data inside the container are owned by root.However, when run as
1000:1000I get the following errors:[...] WRN ts=1770462916.9929044 logger=tls msg=unable to get instance ID; storage clean stamps will be incomplete error=open /data/caddy/instance.uuid: permission denied ERR ts=1770462916.9929879 logger=tls msg=could not clean default/global storage error=unable to acquire storage_clean lock: creating lock file: open /data/caddy/locks/storage_clean.lock: no such file or directory [...] ERR ts=1770462916.993612 msg=unable to autosave config file=/config/caddy/autosave.json error=open /config/caddy/autosave.json: permission denied INF ts=1770462916.993621 msg=serving initial configurationOcular is nevertheless functional, but is there any drawback to using a non-root user?
Kind regards :)
All reactions