Replies: 15 comments 11 replies
-
Please have a look through existing issues before opening a new one, this does work in general but setup can be a little finicky |
Beta Was this translation helpful? Give feedback.
-
I'm also having the same issue with basically the same setup as OP: none of the proposals in the recent issues fixed it, nor did any combination that I could find. |
Beta Was this translation helpful? Give feedback.
-
Gotenberg is completely separate software, of course we use it here but if you think you’ve found a bug or a document that won’t process with it perhaps searching / opening an issue there would be helpful, but again, don’t think this is broken generally and don’t think on the -ngx side of things If you do figure it out please post back any resolution, indeed it seems the cause can vary |
Beta Was this translation helpful? Give feedback.
-
I am running gotenberg:7.8 and can confirm that this is also happening, in my case with different file formats (.xls or .doc for instance) |
Beta Was this translation helpful? Give feedback.
-
same here. some documents are fine, others not. having trouble with one .eml which is pulled from my gmail inbox. others are fine i saw in gotenberg logs
now it's fine :-) |
Beta Was this translation helpful? Give feedback.
-
There are always problems with gotenberg versions. Versions that work: Versions with problems: I find it problematic that the version 7.8 is specified in the compose-file. This can trigger the proven error 503 for a current installation. I test every version! The latest version for me is 7.8.1 on Synology Diskstation. I hope it helps other users. |
Beta Was this translation helpful? Give feedback.
-
I'm also on Synology (DSM7.1) and still have this Bug.. Even with above mentioned measures like increasing timeouts. |
Beta Was this translation helpful? Give feedback.
-
according to which instructions did you install paperless? |
Beta Was this translation helpful? Give feedback.
-
I installed according the official docker-compose template But modified the compose file a little bit according my needs (different logger etc.) |
Beta Was this translation helpful? Give feedback.
-
I've done clean brand new installs and still face this issue. Can't seem to solve it at all |
Beta Was this translation helpful? Give feedback.
-
I was getting this issue too. I found that it was because the Synology NAS doesn't have enough resources to process the gotenberg request within the default 30s timeout. You can increase the time out, I set mine to 5 minutes. https://gotenberg.dev/docs/troubleshooting#timeouts-chromium example:
|
Beta Was this translation helpful? Give feedback.
-
for future users: i have solved reading the gotenberg documentation by passing these parameters: The most important are:
the endpoint in enviroment section is the correct one and not the one found in other discussion (PAPERLESS_TIKA_GOTENBERG_ENDPOINT: http://gotenberg:3000/forms/libreoffice/convert#) |
Beta Was this translation helpful? Give feedback.
-
Ahh, see that could be it. I've noticed the same thing, that reverting the exact same config to a beefier VM, it works a treat, but once it's attached to my Synology DS420+, it fails. |
Beta Was this translation helpful? Give feedback.
-
After trying about every option I found in this thread (and others) I said 'f*** it' and just went for gotenberg:latest (now 8.2.1) and the options below, and guess what. It worked! Running on a synology ds918+ with 8GB of ram.
|
Beta Was this translation helpful? Give feedback.
-
I know it's been a few months, but for anyone still struggling with this issue I may have a solution. Initially I tried many of the suggestions above with no success. Eventually, I noticed that upon consuming a new .docx the gotenberg container's CPU utilization would spike for 20 seconds before receiving the 503 unavailable error we're all complaining about. I noticed in the gotenberg documentation that 20 seconds happens to be gotenberg's default LibreOffice startup timeout. So I was finally able to fix this problem on my setup (running on a Synology DS1821+) by adding the following two additional commands to the gotenberg service in my compose.yaml file:
|
Beta Was this translation helpful? Give feedback.
-
Description
It does not work with any gotenberg version as shown in the list below:
7
7.4
7.6
7.7.2
Paperless example.docx
Error while converting document to PDF: Service Unavailable for url: http://gotenberg:3000/forms/libreoffice/convert#/forms/libreoffice/convert
Steps to reproduce
Webserver logs
Browser logs
No response
Paperless-ngx version
1.13.0
Host OS
DSM 7.1.1-42962 Update 4 (Synology DS420+)
Installation method
Docker - official image
Browser
Chrome
Configuration changes
No response
Other
No response
Beta Was this translation helpful? Give feedback.
All reactions