It’s really frustating, there is no proper solution anywhere, and they claim it as open source. No proper doccumentation either. For the last one month i am trying to fix the CSS issues, whenever i am installing the apps complete css goes away.
i am running my ERPNext on docker, I installed the apps both in frontend and backend for eg i tried to install helpdesk app
bench get-app helpdesk
bench --site frontend install-app helpdesk
after this i restarted my containers, also did bench migrate and restarted again.
As soon i login to the desk, there is nothing showing complete broken page with no CSS, I have seen some solutions in internet but none of them worked here what i tried
bench build --hard-link --production in the frontend. this doesnot work either. Look at the image bellow.
I really request an working solution for this, I know 100s of people are stucked at this point of time. It would be great if someone can help me in this.
1 Like
Please review the Nginx logs and check the permissions on your Bench folder. This should provide insights into the issue. I hope this information proves helpful
These are the logs
2024/03/07 15:22:39 [emerg] 8#8: host not found in upstream “websocket:9000” in /etc/nginx/conf.d/frappe.conf:6
2024/03/07 15:23:39 [emerg] 8#8: host not found in upstream “websocket:9000” in /etc/nginx/conf.d/frappe.conf:6
2024/03/07 15:24:39 [emerg] 8#8: host not found in upstream “websocket:9000” in /etc/nginx/conf.d/frappe.conf:6
2024/03/07 15:25:39 [emerg] 8#8: host not found in upstream “websocket:9000” in /etc/nginx/conf.d/frappe.conf:6
2024/03/07 15:26:40 [emerg] 8#8: host not found in upstream “websocket:9000” in /etc/nginx/conf.d/frappe.conf:6
2024/03/07 15:27:40 [emerg] 8#8: host not found in upstream “websocket:9000” in /etc/nginx/conf.d/frappe.conf:6
172.29.0.1 - - [07/Mar/2024:15:29:08 +0000] “GET / HTTP/1.1” 200 94070 “-” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2 Safari/605.1.15”
172.29.0.1 - - [07/Mar/2024:15:29:09 +0000] “GET /assets/frappe/dist/css/website.bundle.QV6SIBIC.css HTTP/1.1” 404 153 “https://panel.futureaiit.com/” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2 Safari/605.1.15”
172.29.0.1 - - [07/Mar/2024:15:29:09 +0000] “GET /assets/erpnext/dist/css/erpnext-web.bundle.HIVT3QQT.css HTTP/1.1” 404 153 “https://panel.futureaiit.com/” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2 Safari/605.1.15”
172.29.0.1 - - [07/Mar/2024:15:29:09 +0000] “GET /website_script.js HTTP/1.1” 200 25 “https://panel.futureaiit.com/” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2 Safari/605.1.15”
209.141.42.209 - - [07/Mar/2024:15:29:34 +0000] “GET / HTTP/1.1” 200 44611 “-” “-”