[MASTER] error: path must be absolute or specify root to res.sendFile #7536
Unanswered
SanQianQVQ
asked this question in
Error / Bug Report
Replies: 1 comment
-
I had the same problem of images not appearing, and solved it by changing the "Path" of the "Local File System" in the "Storage" section of the admin area from relative to absolute (as required in the comment below the field) |
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
Uh oh!
There was an error while loading. Please reload this page.
-
wiki.js: 2.5.306
PostgreSQL: 17.2
Node.js: 22.2.0
img url: /acts_of_parliament/yi-hui-fa-ling-03.png
#7490
What happened:
Image files uploaded to local storage cannot be accessed, when accessed they return 500 Error and output 'error: path must be absolute or specify root to res.sendFile' on the console
Previously the images were accessible, using docker to run wikijs, but for unknown reasons this issue suddenly occurred
Beta Was this translation helpful? Give feedback.
All reactions