nextcloud / all-in-one

📦 The official Nextcloud installation method. Provides easy deployment and maintenance with most features included in this one Nextcloud instance.
https://hub.docker.com/r/nextcloud/all-in-one
GNU Affero General Public License v3.0
5.7k stars 660 forks source link

Unable to export Excel sheet to PDF #2088

Closed MastaG closed 1 year ago

MastaG commented 1 year ago

Hi, I've followed the instructions to deploy nextcloud-aio on my Synology NAS running Docker and Portainer.

Here's the stack:

version: "3.8"
volumes:
  nextcloud_aio_mastercontainer:
    name: nextcloud_aio_mastercontainer
services:
  nextcloud-aio:
    image: nextcloud/all-in-one:latest
    restart: always
    container_name: nextcloud-aio-mastercontainer
    volumes:
      - nextcloud_aio_mastercontainer:/mnt/docker-aio-config
      - /var/run/docker.sock:/var/run/docker.sock:ro
    ports:
      - 8080:8080
    environment:
      - APACHE_PORT=11000
      - APACHE_IP_BINDING=0.0.0.0
      - COLLABORA_SECCOMP_DISABLED=true # Required for Synology
      - NEXTCLOUD_DATADIR=/volume1/docker/nextcloud-aio/data
      - NEXTCLOUD_UPLOAD_LIMIT=20G
      - NEXTCLOUD_MEMORY_LIMIT=2048M

I'm using Nginx proxy manager to access Nextcloud and everything seems to be working fine. I can upload excel documents and use Collabora office to edit and save them from within my browser. However when I try to export a sheet to PDF, a message will pop-up saying: "The server encountered a failure error while parsing the exportas command"

When I look into the collabora container logging, I see the following:

Server: COOLWSD HTTP Server 22.05.10.1
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: FTIXqb3YX7tkk3nsYmj5hYTHzoE=
| net/WebSocketHandler.hpp:936
wsd-00001-00035 2023-03-01 16:37:16.254325 +0100 [ prisoner_poll ] TRC  #22: Wrote 202 bytes of 202 buffered data| net/Socket.hpp:1447
wsd-00001-00035 2023-03-01 16:37:16.254341 +0100 [ prisoner_poll ] INF  ChildProcess ctor [45].| wsd/COOLWSD.hpp:59
wsd-00001-00035 2023-03-01 16:37:16.254353 +0100 [ prisoner_poll ] TRC  #22: Resetting thread affinity while in transit (was 0x7fa0a2a16700)| net/Socket.hpp:330
wsd-00001-00035 2023-03-01 16:37:16.254364 +0100 [ prisoner_poll ] TRC  Calling addNewChild in disposition's move thing to add to NewChildren| wsd/COOLWSD.cpp:3496
wsd-00001-00035 2023-03-01 16:37:16.254372 +0100 [ prisoner_poll ] TRC  Adding a new child 45 to NewChildren| wsd/COOLWSD.cpp:544
wsd-00001-00035 2023-03-01 16:37:16.254380 +0100 [ prisoner_poll ] INF  Have 1 spare child after adding [45]. Notifying.| wsd/COOLWSD.cpp:550
wsd-00001-00035 2023-03-01 16:37:16.254409 +0100 [ prisoner_poll ] TRC  #21: Revents: 0x0| net/Socket.hpp:1301
wsd-00001-00035 2023-03-01 16:37:16.254420 +0100 [ prisoner_poll ] TRC  #22: Removing socket (at 2 of 3) from prisoner_poll| net/Socket.cpp:470
wsd-00001-00001 2023-03-01 16:37:16.254415 +0100 [ coolwsd ] TRC  Have 1 new children.| wsd/COOLWSD.cpp:5516
wsd-00001-00035 2023-03-01 16:37:16.254428 +0100 [ prisoner_poll ] TRC  #20: setupPollFds getPollEvents: 0x1| net/Socket.hpp:862
wsd-00001-00001 2023-03-01 16:37:16.254440 +0100 [ coolwsd ] INF  WSD initialization complete: setting log-level to [warning] as configured.| wsd/COOLWSD.cpp:5532
Ready to accept connections on port 9980.
wsd-00001-00049 2023-03-01 16:37:16.306270 +0100 [ remotefontconfig_poll ] ERR  Remote config server has response status code: 502| wsd/COOLWSD.cpp:1166
wsd-00001-00049 2023-03-01 16:38:23.428940 +0100 [ remotefontconfig_poll ] ERR  Remote config server has response status code: 502| wsd/COOLWSD.cpp:1166
wsd-00001-00049 2023-03-01 16:39:23.501096 +0100 [ remotefontconfig_poll ] ERR  Remote config server has response status code: 502| wsd/COOLWSD.cpp:1166
wsd-00001-00049 2023-03-01 16:40:23.552741 +0100 [ remotefontconfig_poll ] ERR  Remote config server has response status code: 502| wsd/COOLWSD.cpp:1166
wsd-00001-00049 2023-03-01 16:41:23.619369 +0100 [ remotefontconfig_poll ] ERR  Remote config server has response status code: 502| wsd/COOLWSD.cpp:1166
wsd-00001-00049 2023-03-01 16:42:23.675261 +0100 [ remotefontconfig_poll ] ERR  Remote config server has response status code: 502| wsd/COOLWSD.cpp:1166
wsd-00001-00049 2023-03-01 16:43:23.770223 +0100 [ remotefontconfig_poll ] ERR  Remote config server has response status code: 502| wsd/COOLWSD.cpp:1166
wsd-00001-00049 2023-03-01 16:44:23.841571 +0100 [ remotefontconfig_poll ] ERR  Remote config server has response status code: 502| wsd/COOLWSD.cpp:1166
wsd-00001-00049 2023-03-01 16:45:23.913932 +0100 [ remotefontconfig_poll ] ERR  Remote config server has response status code: 502| wsd/COOLWSD.cpp:1166
wsd-00001-00049 2023-03-01 16:46:23.980898 +0100 [ remotefontconfig_poll ] ERR  Remote config server has response status code: 502| wsd/COOLWSD.cpp:1166
wsd-00001-00049 2023-03-01 16:47:24.054184 +0100 [ remotefontconfig_poll ] ERR  Remote config server has response status code: 502| wsd/COOLWSD.cpp:1166
wsd-00001-00049 2023-03-01 16:48:24.149181 +0100 [ remotefontconfig_poll ] ERR  Remote config server has response status code: 502| wsd/COOLWSD.cpp:1166
wsd-00001-00049 2023-03-01 16:49:24.221873 +0100 [ remotefontconfig_poll ] ERR  Remote config server has response status code: 502| wsd/COOLWSD.cpp:1166
frk-00036-00036 2023-03-01 17:42:05.089913 +0100 [ forkit ] WRN  The systemplate directory [/opt/cool/systemplate] is read-only, and at least [/opt/cool/systemplate//etc/hosts] is out-of-date. Will have to copy sysTemplate to jails. To restore optimal performance, make sure the files in [/opt/cool/systemplate/etc] are up-to-date.| common/JailUtil.cpp:437
wsd-00001-00047 2023-03-01 17:42:05.391671 +0100 [ websrv_poll ] ERR  FileServerRequestHandler: File not found: Invalid URI request: [/browser/719ae9b/nextcloud/images/filter-remove.svg].| wsd/FileServer.cpp:695
kit-00931-00036 2023-03-01 17:42:06.267871 +0100 [ kit_spare_002 ] ERR  Failed to install seccomp syscall filter| common/Seccomp.cpp:239
kit-00931-00036 2023-03-01 17:42:06.267914 +0100 [ kit_spare_002 ] ERR  LibreOfficeKit seccomp security lockdown failed, but configured to continue. You are running in a significantly less secure mode.| kit/Kit.cpp:2862
wsd-00001-00047 2023-03-01 17:42:06.687218 +0100 [ websrv_poll ] ERR  FileServerRequestHandler: File not found: Invalid URI request: [/browser/719ae9b/images/lc_cellvertbottom.svg].| wsd/FileServer.cpp:695
wsd-00001-00047 2023-03-01 17:42:06.689670 +0100 [ websrv_poll ] ERR  FileServerRequestHandler: File not found: Invalid URI request: [/browser/719ae9b/images/lc_cellverttop.svg].| wsd/FileServer.cpp:695
wsd-00001-00047 2023-03-01 17:42:06.689897 +0100 [ websrv_poll ] ERR  FileServerRequestHandler: File not found: Invalid URI request: [/browser/719ae9b/images/lc_cellvertcenter.svg].| wsd/FileServer.cpp:695
wsd-00001-00047 2023-03-01 17:42:06.714428 +0100 [ websrv_poll ] ERR  FileServerRequestHandler: File not found: Invalid URI request: [/browser/719ae9b/images/lc_entirerow.svg].| wsd/FileServer.cpp:695
wsd-00001-00047 2023-03-01 17:42:06.721700 +0100 [ websrv_poll ] ERR  FileServerRequestHandler: File not found: Invalid URI request: [/browser/719ae9b/images/lc_insertrowsafter.svg].| wsd/FileServer.cpp:695
wsd-00001-00047 2023-03-01 17:42:06.727195 +0100 [ websrv_poll ] ERR  FileServerRequestHandler: File not found: Invalid URI request: [/browser/719ae9b/images/lc_setoptimalrowheight.svg].| wsd/FileServer.cpp:695
wsd-00001-00047 2023-03-01 17:42:06.732381 +0100 [ websrv_poll ] ERR  FileServerRequestHandler: File not found: Invalid URI request: [/browser/719ae9b/images/lc_insertcolumnsafter.svg].| wsd/FileServer.cpp:695
wsd-00001-00047 2023-03-01 17:42:06.758939 +0100 [ websrv_poll ] ERR  FileServerRequestHandler: File not found: Invalid URI request: [/browser/719ae9b/images/lc_bringtofront.svg].| wsd/FileServer.cpp:695
wsd-00001-00047 2023-03-01 17:42:06.775429 +0100 [ websrv_poll ] ERR  FileServerRequestHandler: File not found: Invalid URI request: [/browser/719ae9b/images/welcome/slide3.png].| wsd/FileServer.cpp:695
wsd-00001-00047 2023-03-01 17:42:06.775751 +0100 [ websrv_poll ] ERR  FileServerRequestHandler: File not found: Invalid URI request: [/browser/719ae9b/images/lc_objectbackone.svg].| wsd/FileServer.cpp:695
wsd-00001-00047 2023-03-01 17:42:06.781490 +0100 [ websrv_poll ] ERR  FileServerRequestHandler: File not found: Invalid URI request: [/browser/719ae9b/images/welcome/slide1-right.png].| wsd/FileServer.cpp:695
wsd-00001-00047 2023-03-01 17:42:06.781921 +0100 [ websrv_poll ] ERR  FileServerRequestHandler: File not found: Invalid URI request: [/browser/719ae9b/images/welcome/slide2.png].| wsd/FileServer.cpp:695
wsd-00001-00047 2023-03-01 17:42:06.782130 +0100 [ websrv_poll ] ERR  FileServerRequestHandler: File not found: Invalid URI request: [/browser/719ae9b/images/welcome/slide1-center.png].| wsd/FileServer.cpp:695
wsd-00001-00047 2023-03-01 17:42:06.782360 +0100 [ websrv_poll ] ERR  FileServerRequestHandler: File not found: Invalid URI request: [/browser/719ae9b/images/welcome/slide1-left.png].| wsd/FileServer.cpp:695
kit-00045-00036 2023-03-01 17:42:57.055716 +0100 [ kitbroker_001 ] ERR  ToMaster-090: error: cmd=exportas kind=failure| common/Session.hpp:165
wsd-00001-00930 2023-03-01 17:42:57.056380 +0100 [ docbroker_001 ] ERR  ToClient-090: exportas error failure: failure| wsd/ClientSession.cpp:1589
kit-00045-00036 2023-03-01 17:51:05.544645 +0100 [ kitbroker_001 ] ERR  ToMaster-090: error: cmd=exportas kind=failure| common/Session.hpp:165
wsd-00001-00930 2023-03-01 17:51:05.545364 +0100 [ docbroker_001 ] ERR  ToClient-090: exportas error failure: failure| wsd/ClientSession.cpp:1589
kit-00045-00036 2023-03-01 17:51:40.469068 +0100 [ kitbroker_001 ] ERR  ToMaster-090: error: cmd=exportas kind=failure| common/Session.hpp:165
wsd-00001-00930 2023-03-01 17:51:40.469745 +0100 [ docbroker_001 ] ERR  ToClient-090: exportas error failure: failure| wsd/ClientSession.cpp:1589

Any ideas?

szaimen commented 1 year ago

Looks like a bug in collabora: https://github.com/CollaboraOnline/online/issues/5088