BookStack icon indicating copy to clipboard operation
BookStack copied to clipboard

Impossible to export

Open Mikhail7196 opened this issue 1 year ago • 4 comments

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

Exact BookStack Version

v24.02.3

Log Content

No response

Hosting Environment

PHP 8.1.29, CentOS 7 nginx+apache

Mikhail7196 avatar Oct 16 '24 12:10 Mikhail7196

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 avatar Oct 16 '24 14:10 ssddanbrown

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 avatar Oct 17 '24 08:10 Mikhail7196

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 avatar Oct 17 '24 09:10 ssddanbrown

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 avatar Oct 17 '24 09:10 Mikhail7196

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 avatar Nov 07 '24 14:11 ssddanbrown

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 avatar Feb 25 '25 12:02 ssddanbrown