Replies: 7 comments
-
Did you search? #2460 |
Beta Was this translation helpful? Give feedback.
-
Yes, the one that looks similar to my issue was: #4531 but it is closed already with no solutions. I check the one you linked (#2460), but his solution was already what I did as stated in my first post. Anything else from the logs that I might need to check to solve this? additional info: when I change the UID and GID to 1000 in the config I mentioned in my first post:
It works without changing anything else. |
Beta Was this translation helpful? Give feedback.
-
I really don't understand the fascination with rootless. It seems like nothing but an issue generator. Anyway, presumably some people have been able to run the container with rootless, but I don't and don't have experience with it. If you find anything out that can be documented, let us know or open a PR for it. |
Beta Was this translation helpful? Give feedback.
-
If you can point me to the right direction of debugging this, I can provide more info. So far, this is what I know: Non-root works only if using UID:GID 1000:1000.
|
Beta Was this translation helpful? Give feedback.
-
See #1212 (comment) As noted, no one here is going to work on this so theres really no reason keep an issue open so I'm going to convert it to a discussion. We would welcome PRs if there are improvements to be made, feel free to ping the author of these original changes, they have been largely unchanged since they were added. |
Beta Was this translation helpful? Give feedback.
-
Hi, I have the same problem. The error is thrown by this line paperless-ngx/docker/docker-entrypoint.sh Line 13 in 7be7185
I think the command is launched from the user specified by the docker compose, that is not root and it cannot have permission to launch usermod properly. paperless-ngx/docker/docker-entrypoint.sh Line 99 in 7be7185 How to reproduce:
|
Beta Was this translation helpful? Give feedback.
-
Description
Trying to run as non-root, but when setting a different UID (other than 1000), it fails to start.
Steps to reproduce
Webserver logs
Browser logs
No response
Paperless-ngx version
2.7.2
Host OS
Debian 12
Installation method
Docker - official image
Browser
No response
Configuration changes
No response
Other
No response
Please confirm the following
Beta Was this translation helpful? Give feedback.
All reactions