I am trying to setup erpnext on digitalocean droplet. Everything works fine with “bench start”. However when I tried to move to production mode then all files are not loading up. Files from assets directory are not loading up in production mode. Please see this screenshot
Also I found out following lines in nginx.conf
location /assets {
try_files $uri =404;
}
Please check the HTTP error code, whether it’s 404 or 403…
If it’s 403, as root, run
chmod o+rx /home/frappe
EDIT: Sorry, just saw the screenshot, check nginx error log. If it says permission denied, run the above chmod command, else bench update should build the assets anyway if they don’t exist