Production setup live but without js loading

I have an issue after production setup, the page loads but without styling nor javascript. I have warnings “loading failed” for jquery, bootstrap, js etc… and no CSS styling.
This does not happen when launching development setup on 8000 port, everything loads fine. What could cause this issue ?


hi @quentA


bench build --force


bench clear-cache

It didn’t work, i still have the same errors :

 Password fields present on an insecure (http://) page. This is a security risk that allows user login credentials to be stolen.

Loading failed for the <script> with source “http://.../assets/frappe/js/lib/jquery/jquery.min.js”. 

Loading failed for the <script> with source “http://.../assets/js/frappe-web.min.js?ver=1644757989.0”. 

Loading failed for the <script> with source “http://.../assets/js/bootstrap-4-web.min.js”. 

Loading failed for the <script> with source “http://.../assets/js/erpnext-web.min.js?ver=1644757989.0”.

could it be caused by the fact that there’s no SSL certificate yet ?

Which version of Frappe & ERPnext ?? and which installation process did you follow ?

Versions :
erpnext 13.19.0
frappe 13.19.0

I’ve followed this guide : GitHub - D-codE-Hub/ERPNext-installation-Guide: The complete guide to install ERPNext in your Ubuntu system

try reloading nginx and supervisor

sudo service nginx reload


sudo service supervisor restart

Nothing… Also I can’t launch development mode anymore because of multiple " Could not create server TCP listening socket bind: Address already in use"

Should i reinstall ? Will i lose all the data ?

Hmm before doing a reinstall try doing

bench update --reset

Still no css or javascript loading :confused:

Anyone here who managed to resolve this issue?

No, it’s a new error for me setting up a V14 production instance. I am going to try rebuilding it again from scratch. No amount of messing with nginx configs seems to resolve it