Image upload shows 500 Internal Server Error #5402

Closed
opened 2026-02-05 10:02:18 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @Hindin81 on GitHub (Aug 13, 2025).

Describe the Bug

When uploading an image to bookstack, since the last update, I get the following error message:

<html> <head><title>500 Internal Server Error</title></head> <body> <center><h1>500 Internal Server Error</h1></center> <hr><center>openresty</center> </body> </html> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page -->

Image

Steps to Reproduce

Create or edit an page and try to upload an image or an file.

Expected Behaviour

It worked since years now it is broken.

Screenshots or Additional Context

Image

Browser Details

Chrome 139.0.7258.128

Exact BookStack Version

v25.07.1

Originally created by @Hindin81 on GitHub (Aug 13, 2025). ### Describe the Bug When uploading an image to bookstack, since the last update, I get the following error message: `<html> <head><title>500 Internal Server Error</title></head> <body> <center><h1>500 Internal Server Error</h1></center> <hr><center>openresty</center> </body> </html> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page -->` <img width="580" height="191" alt="Image" src="https://github.com/user-attachments/assets/8d91d3ec-593d-4795-92a7-dad9d38ea1d9" /> ### Steps to Reproduce Create or edit an page and try to upload an image or an file. ### Expected Behaviour It worked since years now it is broken. ### Screenshots or Additional Context <img width="580" height="191" alt="Image" src="https://github.com/user-attachments/assets/a8bbc3bc-f186-4190-b646-88afd60ec51e" /> ### Browser Details Chrome 139.0.7258.128 ### Exact BookStack Version v25.07.1
OVERLORD added the 🐕 Support label 2026-02-05 10:02:18 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Aug 13, 2025):

Hi @Hindin81,
You can try looking into the app & server error logs following our guidance here:
https://www.bookstackapp.com/docs/admin/debugging/

Your error mentions openresty, which indicates a potential proxy in use in front of BookStack which is where that specific response is coming from, so you might want to check any error logs at that level also.

@ssddanbrown commented on GitHub (Aug 13, 2025): Hi @Hindin81, You can try looking into the app & server error logs following our guidance here: https://www.bookstackapp.com/docs/admin/debugging/ Your error mentions `openresty`, which indicates a potential proxy in use in front of BookStack which is where that specific response is coming from, so you might want to check any error logs at that level also.
Author
Owner

@ssddanbrown commented on GitHub (Sep 3, 2025):

Since there's been no further follow-up I'm going to close this off.

@ssddanbrown commented on GitHub (Sep 3, 2025): Since there's been no further follow-up I'm going to close this off.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#5402