BookStackApp / BookStack

A platform to create documentation/wiki content built with PHP & Laravel
https://www.bookstackapp.com/
MIT License
15.43k stars 1.94k forks source link

Impossible to export #5272

Open Mikhail7196 opened 1 month ago

Mikhail7196 commented 1 month ago

Attempted Debugging

Searched GitHub Issues

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

ssddanbrown commented 1 month ago

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.

Mikhail7196 commented 1 month ago

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.

ssddanbrown commented 1 month ago

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)

Mikhail7196 commented 1 month ago

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 2 weeks ago

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.