Images won't load #7490
Unanswered
Treekaya
asked this question in
Error / Bug Report
Replies: 1 comment
-
我也碰到了该问题。 根据备份、导出内容,看到上传的图片文件一直都在,md页面插入图片管理中,也显示有该图片文件。但一段时间后总是无法显示图片了。 希望尽快支持“上传文件路径管理”功能,感觉还是上传文件的保存路径有点问题。 |
Beta Was this translation helpful? Give feedback.
0 replies
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