Error: Command failed: logrotate /etc/logrotate.d/nginx-proxy-manager #3400
-
using latest version ,i have permissions issue in ubuntu with root user: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
The logrotate is complaining because My PR that you commented on (#3219) doesn't have to do with this (it fixes permissions for when the user is not running as root, but still works when they are). The issue you commented on (#2938) is different from your issue (they're not running as root). |
Beta Was this translation helpful? Give feedback.
The
/data
directory in your instance has full permissions. It's not supposed to be like that. You've probably usedchmod
on it from outside the Docker container.logrotate is complaining because
/data/logs
also has full permissions. You will need to run the command:docker exec <npm-container-id> chmod -R a=rX,u+w /data/logs
to fix this.
My PR that you commented on (#3219) doesn't have to do with this (it fixes permissions for when the user is not running as root, but still works when they are). The issue you commented on (#2938) is different from your issue (they're not running as root).