Some upload images 404 #7858
Unanswered
LuckyZone
asked this question in
Help / Questions
Replies: 0 comments
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.
-
NodeJS:12.22.9
MySQL:8.0.44-0ubuntu0.22.04.1
OS:Ubuntu 22.04
WikiJS:2.5.301
I didn't deploy Wiki.js using Docker, but instead ran it locally with a MySQL database.
When creating or editing wiki pages, uploaded images correctly appear in both the specified local directory and the MySQL database, but the wiki preview page cannot display them. Directly accessing the image path results in a "Not Found" error with an HTTP code 404.
This issue only occurs on some pages. If it's a newly created page, all images uploaded to that page will have this problem. When editing a previously normal page, there's a chance that images uploaded during editing won't display, while previously working images remain unaffected.
I've checked both normal and problematic images: they have the same permissions in the local disk, and I've verified the file integrity in both the disk storage and the assetData table in the database.
Beta Was this translation helpful? Give feedback.
All reactions