CSS ChunkLoadError caused by failed MIME type check in V0.92.7 #1715
-
DescriptionHello there, I have tried fiddling around with Brave, Cloudflare and Nginx to solve this error from my end but I'm failing to do so. The problem only occurs on my desktop pc (win 11 pro) using brave and chrome, I've not tested other browsers yet. my setup: google as idp via cloudflare zero trust
docker-compose:
serverblock in nginx.conf
TriliumNext Version0.92.7 What operating system are you using?Windows What is your setup?Server access only Operating System VersionDebian GNU/Linux 12 (bookworm) Error logsDev console:
Docker Logs:
|
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
If you try to access |
Beta Was this translation helpful? Give feedback.
-
{"message":"Router not found for request GET /assets/v0.92.7/app-dist/3013.css"} |
Beta Was this translation helpful? Give feedback.
-
$ sudo docker exec nginx-proxy curl -v "http://trilium:8080/assets/v0.92.7/app-dist/3013.css"
|
Beta Was this translation helpful? Give feedback.
-
@MadeOfClicks , the only explanation I can think of is that there is some bad cache in your browser. Also try opening it in a Private / Incognito window. |
Beta Was this translation helpful? Give feedback.
-
can you check inside the Docker container, if the file exists? if you run
(potentially using bash instead of sh will also work, not sure which shell is used by default) you should end up in the app directory and should be able to check for the file by doing e.g. via
|
Beta Was this translation helpful? Give feedback.
-
Okay, I tried
the css file looked fine to me.. I then cleared cache and it fixed it.. Thanks for the help, appreciate it! |
Beta Was this translation helpful? Give feedback.
@MadeOfClicks , the only explanation I can think of is that there is some bad cache in your browser.
I've set up Docker with the 0.92.7 tag and I have the same output as you.
Try doing a full refresh in your desktop client using Ctrl+Shift+R.
Also try opening it in a Private / Incognito window.