stormshaker Posted January 30, 2018 Posted January 30, 2018 Hi, I have a couple of permission issues with the WebGUI / nginx after the 6.4 upgrade. On startup: Jan 30 11:35:57 nas nginx: 2018/01/30 11:35:57 [crit] 3899#3899: *162 open() "/etc/nginx/htpasswd" failed (13: Permission denied), client: 172.16.20.7, server: , request: "POST /webGui/include/ProcessStatus.php HTTP/1.1", host: "nas", referrer: "http://nas/webGui/include/Boot.php" If I chmod 644 /etc/nginx/htpasswd, I can login to the webGUI until next reboot. But then docker icons are missing, caused by this (one for each docker logged): Jan 30 11:10:45 nas nginx: 2018/01/30 11:10:45 [crit] 3766#3766: *2187749 stat() "/usr/local/emhttp/state/plugins/dynamix.docker.manager/images/linuxserver-radarr-latest-icon.png" failed (13: Permission denied), client: 172.16.20.7, server: , request: "GET /state/plugins/dynamix.docker.manager/images/linuxserver-radarr-latest-icon.png HTTP/1.1", host: "nas", referrer: "http://nas/Dashboard" How can I fix more permanently? Thanks, James
ljm42 Posted January 30, 2018 Posted January 30, 2018 That is odd. Please upload your full diagnostics.
stormshaker Posted January 30, 2018 Author Posted January 30, 2018 Diagnostics attached. FYI - emhttp generated the file but then another nginx permissions error caused a 403 to be returned in the webGUI. nas-diagnostics-20180130-1308.zip
stormshaker Posted February 12, 2018 Author Posted February 12, 2018 Any more thoughts on this one? After reboot I can't open the WebGUI until I open an ssh session and: chmod go+r /etc/nginx/htpasswd . Thanks, James
stormshaker Posted March 9, 2018 Author Posted March 9, 2018 Just to close this off - I found I had a 'umask 0700' in my go start script, as part of copying the SSH key in. All sorted now.
ljm42 Posted March 10, 2018 Posted March 10, 2018 Good catch. Probably better to just chmod the dir and file after copying them?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.