Impossible to export #5011

Closed
opened 2026-02-05 09:33:30 +03:00 by OVERLORD · 6 comments
Owner

Originally created by @Mikhail7196 on GitHub (Oct 16, 2024).

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

Describe the Scenario

When I try to export my book in .pdf or . html file, an error appears: "504 - Gateway Timeout. That's an error. We did not receive a timely response from the upstream server." Maybe it is because of the large size of the exported book, but I am not sure.
504

Exact BookStack Version

v24.02.3

Log Content

No response

Hosting Environment

PHP 8.1.29, CentOS 7 nginx+apache

Originally created by @Mikhail7196 on GitHub (Oct 16, 2024). ### Attempted Debugging - [X] I have read the debugging page ### Searched GitHub Issues - [X] I have searched GitHub for the issue. ### Describe the Scenario When I try to export my book in .pdf or . html file, an error appears: "504 - Gateway Timeout. That's an error. We did not receive a timely response from the upstream server." Maybe it is because of the large size of the exported book, but I am not sure. ![504](https://github.com/user-attachments/assets/5f134d27-dc13-4d68-b3a7-c2158a9b228a) ### Exact BookStack Version v24.02.3 ### Log Content _No response_ ### Hosting Environment PHP 8.1.29, CentOS 7 nginx+apache
OVERLORD added the 🐕 Support label 2026-02-05 09:33:30 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Oct 16, 2024):

How long does it take before timing out?
Typically this will be due to timeouts set at the webserver level (and any proxies/servers in front of that).
Exports can take a while, depending on host resources and exact content.

@ssddanbrown commented on GitHub (Oct 16, 2024): How long does it take before timing out? Typically this will be due to timeouts set at the webserver level (and any proxies/servers in front of that). Exports can take a while, depending on host resources and exact content.
Author
Owner

@Mikhail7196 commented on GitHub (Oct 17, 2024):

How long does it take before timing out? Typically this will be due to timeouts set at the webserver level (and any proxies/servers in front of that). Exports can take a while, depending on host resources and exact content.

5-8 minutes.

@Mikhail7196 commented on GitHub (Oct 17, 2024): > How long does it take before timing out? Typically this will be due to timeouts set at the webserver level (and any proxies/servers in front of that). Exports can take a while, depending on host resources and exact content. 5-8 minutes.
Author
Owner

@ssddanbrown commented on GitHub (Oct 17, 2024):

That's quite a while, what kind of hardware/resources is the system running? And what kind of scale is this book at? (number of pages and general page length)

@ssddanbrown commented on GitHub (Oct 17, 2024): That's quite a while, what kind of hardware/resources is the system running? And what kind of scale is this book at? (number of pages and general page length)
Author
Owner

@Mikhail7196 commented on GitHub (Oct 17, 2024):

That's quite a while, what kind of hardware/resources is the system running? And what kind of scale is this book at? (number of pages and general page length)

  • Windows 10, ver. 22H2, OS build 19045.4894;
  • Intel(R) Core(TM) i5-7400 CPU @ 3.00GHz 3.00 GHz;
  • RAM 16 GB;
  • Intel(R) HD Graphics 630;
  • 53 pages;
  • general page length: max. - 37 918 symbols (including spaces and images); min - 1863 symbols (including spaces and images)
@Mikhail7196 commented on GitHub (Oct 17, 2024): > That's quite a while, what kind of hardware/resources is the system running? And what kind of scale is this book at? (number of pages and general page length) - Windows 10, ver. 22H2, OS build 19045.4894; - Intel(R) Core(TM) i5-7400 CPU @ 3.00GHz 3.00 GHz; - RAM 16 GB; - Intel(R) HD Graphics 630; - 53 pages; - general page length: max. - 37 918 symbols (including spaces and images); min - 1863 symbols (including spaces and images)
Author
Owner

@ssddanbrown commented on GitHub (Nov 7, 2024):

Might be something specific within the content that's causing things to stall.
Otherwise shouldn't be taking that long.
Would really need to go through the specific pages and reduce them down to isolate the specific cause of what might be affecting the book export.

@ssddanbrown commented on GitHub (Nov 7, 2024): Might be something specific within the content that's causing things to stall. Otherwise shouldn't be taking that long. Would really need to go through the specific pages and reduce them down to isolate the specific cause of what might be affecting the book export.
Author
Owner

@ssddanbrown commented on GitHub (Feb 25, 2025):

I'm going to go ahead and close this off, but if an example case, which causes such issues, can be isolated and shared feel free to raise that as a bug issue.

@ssddanbrown commented on GitHub (Feb 25, 2025): I'm going to go ahead and close this off, but if an example case, which causes such issues, can be isolated and shared feel free to raise that as a bug issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#5011