erpnext-web.bundle.PWQTUHXY.css:1 GET http://erpnext.xpractical.com/assets/erpnext/dist/css/erpnext-web.bundle.PWQTUHXY.css net::ERR_ABORTED 404 (Not Found)
website.bundle.css:1 GET http://erpnext.xpractical.com/website.bundle.css net::ERR_ABORTED 404 (NOT FOUND)
erpnext-web.bundle.PWQTUHXY.css:1 GET http://erpnext.xpractical.com/assets/erpnext/dist/css/erpnext-web.bundle.PWQTUHXY.css net::ERR_ABORTED 404 (Not Found)
frappe-web.bundle.js:1 GET http://erpnext.xpractical.com/frappe-web.bundle.js net::ERR_ABORTED 404 (NOT FOUND)
website.bundle.css:1 GET http://erpnext.xpractical.com/website.bundle.css net::ERR_ABORTED 404 (NOT FOUND)
erpnext-web.bundle.PWQTUHXY.css:1 GET http://erpnext.xpractical.com/assets/erpnext/dist/css/erpnext-web.bundle.PWQTUHXY.css net::ERR_ABORTED 404 (Not Found)
frappe-web.bundle.js:1 GET http://erpnext.xpractical.com/frappe-web.bundle.js net::ERR_ABORTED 404 (NOT FOUND)
How much is your RAM?
I am having the same issue with 16Gb of RAM. I deleted the contact us and product pages from the website setting and suddenly CSS is broken.
Can you run
bench build
bench clear-website-cache
and try again?
Yes, already tried that. Logged the problem as Latest dev release broke multi tenant production mode · Issue #13480 · frappe/frappe · GitHub
Thanks for your suggestion, it is the correct first step
Hi, Ram will not be related to lost css, use chrome in developer mode to see the errors, you will see calls for .css and or .js are broken.
You build seems to have failed.
frappe/public/js/frappe/ui/chart.js:1:22: error: Could not read from file: /home/mcd_steven/frappe-bench/apps/.config/yarn/link/frappe-charts/dist/frapp
e-charts.esm.js
1 │ import { Chart } from "frappe-charts/dist/frappe-charts.esm";
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ERROR There were some problems during build
Error: Build failed with 1 error:
frappe/public/js/frappe/ui/chart.js:1:22: error: Could not read from file: /home/mcd_steven/frappe-bench/apps/.config/yarn/link/frappe-charts/dist/frappe-c
harts.esm.js
(taken from the issue you have raised on GitHub.)
I am also stuck in this page, could you please tell us how did you overcome this?
This worked for me.
Rebuild the css
bench update --reset
how to rebuild the css ?
I have the same problem. Any help is appreciated.
It seems to be a problem of the frappe_docker installation, where i try to update my application using a new docker-image.
This is a show-stopper, because no save deployment path without breaking anything is available.
bench build is running on an error:
rappe@ec8abfd1566e:~/frappe-bench$ bench build
Assets for Release /bin/sh: 1: Syntax error: “(” unexpected don’t exist
Traceback (most recent call last):
File “”, line 198, in _run_module_as_main
File “”, line 88, in _run_code
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 114, in
main()
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 20, in main
click.Group(commands=commands)(prog_name=“bench”)
File “/home/frappe/frappe-bench/env/lib/python3.11/site-packages/click/core.py”, line 1157, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/frappe/frappe-bench/env/lib/python3.11/site-packages/click/core.py”, line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File “/home/frappe/frappe-bench/env/lib/python3.11/site-packages/click/core.py”, line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/frappe/frappe-bench/env/lib/python3.11/site-packages/click/core.py”, line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/frappe/frappe-bench/env/lib/python3.11/site-packages/click/core.py”, line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/frappe/frappe-bench/env/lib/python3.11/site-packages/click/core.py”, line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/frappe/frappe-bench/apps/frappe/frappe/commands/utils.py”, line 76, in build
bundle(
File “/home/frappe/frappe-bench/apps/frappe/frappe/build.py”, line 232, in bundle
setup()
File “/home/frappe/frappe-bench/apps/frappe/frappe/build.py”, line 218, in setup
app_paths = [os.path.dirname(pymodule.file) for pymodule in pymodules]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/frappe/frappe-bench/apps/frappe/frappe/build.py”, line 218, in
app_paths = [os.path.dirname(pymodule.file) for pymodule in pymodules]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “”, line 152, in dirname
TypeError: expected str, bytes or os.PathLike object, not NoneType
This is the error i get on the browser-console. It shows a problem with the assets…
GET https://test.kaefer.idat.cloud/assets/frappe/dist/css/website.bundle.X7XT5LZG.css net::ERR_ABORTED 404 (Not Found)
/assets/frappe/dist/css/login.bundle.FRGIWZMF.css:1
GET https://test.kaefer.idat.cloud/assets/frappe/dist/css/login.bundle.FRGIWZMF.css 404 (Not Found)
website.js:287 Deprecated as of 10.6.0. initHighlighting() is deprecated. Use highlightAll() instead.
/#login:1 Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
I’m using this compose.yaml file. Deleting the background container and rebuild the stack /re-up the compose helped me.
Additionally: I had build problems too. These were caused by this problem and vanished after fixing the configuration.
In the thread there are a few proposed solutions. Try to find one that fits.
This helped me as well. I deleted the volumes for redis cache, queue and rebuilt the stack using same compose file as mentioned (with create-site removed since I had already setup and migrated the erp site). Another context is that I had tried to install other apps like gameplan and drive on the same instance which I assume didn’t fit well and somehow caused the styling etc. to break.
Works fine now.