January 30, 20188 yr 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
January 30, 20188 yr Author 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
February 12, 20188 yr Author 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
March 9, 20188 yr Author 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. Edited March 9, 20188 yr by stormshaker Wrong umask!
Archived
This topic is now archived and is closed to further replies.