Impossible to export
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.
Exact BookStack Version
v24.02.3
Log Content
No response
Hosting Environment
PHP 8.1.29, CentOS 7 nginx+apache
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.
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.
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)
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)
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.
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.