Images won't load #7490
Unanswered
Treekaya
asked this question in
Error / Bug Report
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am self hosting wiki.js with version: 2.5.305
It is being hosted via docker.
wiki: ghcr.io/requarks/wiki:2
wiki-update-companion: ghcr.io/requarks/wiki-update-companion:latest
db: postgres:11
Recently no images are loading in. The Browser returns a 500 Internal Server Error. I have traced it back to this log:
2024-12-23T08:37:56.272Z [MASTER] error: path must be absolute or specify root to res.sendFile
Looking online I also found similar problems:
#2930 (Closed Jan 2021)
#3041 (Closed Feb 2021)
#5223 (Unanswered Apr 2022)
How to reproduce:
Create or edit a page and upload via the Wiki.js UI an Image.
They usually have a solution where they are changing the code but since I am working with the docker container that, I was unable to try it.
I have no idea why it happened now. The Wiki got last updated around a month, so it didn't even show up straight after the last update or anything, I am guessing something else is causing this.
Beta Was this translation helpful? Give feedback.
All reactions