Quantcast
Channel: Zimbra Forums
Viewing all articles
Browse latest Browse all 1218

Installation and Upgrade • Zimbra 8.8 to 9.0 FOSS upgrade caused intermittent failures with attachment downloading as nginx was running as 'nobody'

$
0
0
Hi all,

Leaving this here in case anyone else hits this issue.

On upgrading Zimbra 8.8 to 9.0 (FOSS), attachments would fail to open from the webclient, and the old Zimbra Desktop for that one user who insists on keeping using it, also stopped working.

nginx.log would have these corresponding entries:
# caused by old Zimbra Desktop:

Code:

2024/01/20 06:30:11 [crit] 19470#0: *313107 open() "/opt/zimbra/data/tmp/nginx/proxy/9/00/0000002009" failed (13: Permission denied) while reading upstream, client: [redacted], server: [redacted], request: "PROPFIND /dav/[email redacted]/Contacts/ HTTP/1.1", upstream: "http://[redacted]:8080/dav/[email redacted]/Contacts/", host: "[redacted]"  # caused when attempting an attachment download from the web ui: 2024/01/24 11:12:24 [crit] 25153#0: *653 open() "/opt/zimbra/data/tmp/nginx/proxy/0/01/0000000010" failed (13: Permission denied) while reading upstream, client: [redacted], server: [redacted], request: "GET /service/home/~/?auth=co&loc=en_GB&id=[UUID redacted]:64512&part=2&disp=a HTTP/1.1", upstream: "http://[redacted]:8080/service/home/~/?auth=co&loc=en_GB&id=[UUID redacted]:64512&part=2&disp=a", host: "[redacted]", referrer: "https://[redacted]/zimbra/?client=advanced"
I traced it down to the nginx proxy running as "nobody" instead of "zimbra". These first three lines had disappeared from /opt/zimbra/conf/nginx/templates/nginx.conf.main.template when comparing from a pre-upgrade backup:

Code:

# change UID/GID to zimbra/zimbra upon startup# user ${main.user} ${main.group};
Putting this back and restarting Zimbra resolved the issue. Any ideas what would have caused it to disappear?

Statistics: Posted by aw-nz — Tue Jan 23, 2024 10:43 pm



Viewing all articles
Browse latest Browse all 1218

Trending Articles