[BUG] Installed from script and Gotenburg and Tika not working? #1594
Comments
|
I have/had the same issue. It looks as if gotenberg has updated their API. An image that does work is thecodingmachine/gotenberg:6.0.0 . I'm unsure when the API was updated (it appears they're not respecting semvar?) as 6.4.4 did not work with paperless-ng either. So the WA would be to use the 6.0.0 tag. Paperless-ng will have to be updated to use the newer api which seems to all be under localhost:3000/forms |
|
This commit actually fixes it. Just needs to be merged from dev to master and then a new docker image built and pushed. I'd use the workaround until the maintainers push it to master. |
|
As workaround you can use this PAPERLESS_TIKA_GOTENBERG_ENDPOINT: http://paperless-gotenberg:3000/forms/libreoffice/convert# |
The workaround if your setup is vanilla: # PAPERLESS_TIKA_GOTENBERG_ENDPOINT: http://gotenberg:3000
PAPERLESS_TIKA_GOTENBERG_ENDPOINT: http://gotenberg:3000/forms/libreoffice/convert# |
|
thx, that was really helpfull ! |
|
Unfortunatly this workaround didn't work for me. |
|
I finally got gotenberg to work. The issue is that, for whatever reason, the container isn't publishing a network port. Going into portainer and manually publishing the network port of host 3000 and container 3000 resolved the issue of gotenberg not being available. Or adding the lines to a docker compose file works. setting of
|
|
Possible solutions I already tried: Changed endpoint to So changed the endpoint back to default and added the ports like @iplaughlin wrote, error message: Gotenberg log: {
"level": "error",
"ts": 1650366380.1664767,
"logger": "api",
"msg": "convert to PDF: lock long-running LibreOffice listener: acquire LibreOffice listener lock: context deadline exceeded",
"trace": "52da9339-8761-4dca-bb2e-8ca269ce27ea",
"remote_ip": "172.18.0.6",
"host": "gotenberg:3000",
"uri": "/forms/libreoffice/convert",
"method": "POST",
"path": "/forms/libreoffice/convert",
"referer": "",
"user_agent": "python-requests/2.27.1",
"status": 503,
"latency": 30002593316,
"latency_human": "30.002593316s",
"bytes_in": 17375,
"bytes_out": 19
} |
|
@CodeBrauer - I ended up spinning up gotenberg in its own container, outside of paperless. |
|
For my setup only this worked: |
Hello, thanks for this great work!
I am new to paperless-ng do not normally use docker, so I may be doing something wrong.
My paperless works well, but when I try to import a .docx file for example, it fails with,
Error while converting document to PDF: 404 Client Error: Not Found for url: http://gotenberg:3000/convert/officeI installed using the script, and specified to enable Tika.
Gothenburg and Tika are running according to
docker psThe text was updated successfully, but these errors were encountered: