Welcome! Log In Create A New Profile


Rename Permission Denied While Reading From Upstream

Posted by rwhite7890 
Rename Permission Denied While Reading From Upstream
November 25, 2020 12:19PM
I recently switched from Apache to Nginx. PHP language underneath and using fastcgi_pass to php7.4-fpm to run all script file. Everything seems to be working fine. Pages are working, PHP is executing, all assets loading fine, etc. However my nginx error log is getting flooded with these errors:

2020/11/19 06:28:52 [crit] 3332114#3332114: *26646323 rename() "/tmp/0012831123" to "/opt/www/example/web/controller.php" failed (13: Permission denied) while reading upstream, client:, server: www.example.com, request: "GET /path1/path2/path3/ HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "www.example.com", referrer: "https://www.example.com/"

I have been trying to Google this for a week, and there just is nothing. Tried looking at permissions on nginx cache files, etc, but nothing. I really am stumped at this. I have no idea why some tmp file would be trying to get renamed to an actual file that should be executable. This seems bad, and kind of scary.

Any help or advice on where to look would be greatly appreciated.

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 66
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready