we set up a fresh install and restored a site database. We restored also the files also following these instructions:
The problem is that the images of the products are not shown although they are copied in /public/files/. When we change the user in /etc/nginx/nginx.conf from ‘nginx’ to ‘erpnext’ the images are shown correctly, but the desk is unresponsive.
We checked Selinux and it is not the problem. We restarted nginx after the changes. As said, the only way we can see the pictures is by changing the nginx user to the user to ‘erpnext’ in /etc/nginx/nginx.conf
This happens also with the backup files, they are not found in the browser. Somehow the nginx user created by the script does not have permissions to access the files.
I really think that SELinux is blocking this because a policy is required to be enabled for a webserver (apache/nginx) to read the home_dir. Can you please put it in permissive or off mode and try again?