Hello Atom Community,
We recently configured SSL on our AtoM instance and now enforce https across all pages.
Since doing this we notice that uploading a digital object produces a 500 Server Error page. The log entry is below.
2018/05/08 17:52:56 [error] 29308#0: *85392 FastCGI sent in stderr: "PHP message: Failed to set permissions on /path-to-uploads/b/e/7/be7d197db504097cb24a52f177be83c4a32ca8169aad325be87c2c5e8758a5b2/rbd_MSG1145_1-ledger1830s_141.jpg" while reading response header from upstream, client: 132.206.204.136, server: XXXXXX, request: "POST /index.php/account-book/addDigitalObject HTTP/1.1", upstream: "fastcgi://unix:/run/php5-fpm.atom.sock:", host: "XXXXXX", referrer: "
https://XXXXXX/index.php/account-book/addDigitalObject"
But when I check permissions on the directory I can see that the file is there, with apparently the correct permissions !
$ ls -la /path-to-uploads/b/e/7/be7*
-rwxrwxr-x. 1 nginx nginx 5967 May 8 17:52 rbd_MSG1145_1-ledger1830s_141.jpg
We are sym-linking our uploads directory from a placeholder under webroot to a directory outside the web services document root, but this has not been an issue in the past.
I'm not 100% sure the problem is related to implementation of SSL, but afaik that is the only thing that has changed on our system.
We are running AtoM 2.4.0 on RHEL 7 with mySQL 5.6, PHP 5.5 and nginx 1.12.2
Can anyone shed any light?
best regards,