ERPNext version 14 broken CSS

Hi, I know there’s a lot of questions posted here in the forum similar to my problem, yet I haven’t found a solution to my concern.

This is a fresh installed ERPNext, and seems the CSS are broken.
Already tried the ff:

bench reset
bench build
bench mysite clear-website-cache

Seems that the user have not permissions enough over files. Check it.

1 Like

Sorry, I don’t get it. This is in a production mode. What user did you mean?


I mean the user you have created to run frappe. Usually the user name is ‘frappe’ too.

sudo chmod 755 /home/{YOURUSER}


For more details, check your nginx logs, usually at /var/log/nginx/error.log

1 Like

sudo chmod 701 /home/$USER

With frappe user:
sudo chmod 701 /home/frappe


It’s now okay. Thank you!

1 Like

The methods above were not working but this combo did:

sudo chmod 755 -R /home/frappe
sudo  chown -R frappe:frappe /home/$USER
bench restart
bench --site migrate
bench --site clear-cache