[SOLVED] Upgrade to CODE 2.1 breaks setup

Just tried to upgrade my CODE docker file following https://nextcloud.com/collaboraonline/ - everything went smooth, no errors given. After stopping and deleting the old container I tried to start over - but now CODE won’t work as expected.
Container Logs are like this: https://pastebin.com/XqcrCTYX

Looks like there’s an incomplete filetree installed :-/
I already tried to completely remove and re-install CODE - to no avail.

Anyony else having this problem? Ideas how to solve?

2 Likes

Same on my installation. Also the Logs are flooded with the same error! :unamused:

1 Like

For me, too. Access prohibited. Instructions as done in https://nextcloud.com/collaboraonline/#update. Same Error as in Post 1.

In starter script (/start-libreoffice.sh) there should be collaboraoffice5.3 instead of collaboraoffice5.1. You can modify it, or you can pull a newer image.

5 Likes

Tanks for your fast reaction. It’s working again! :+1:

timar, you’re the man :slight_smile:
Thanks for sharing! Upgrading CODE did the trick for me.

1 Like

I just updated to latest and I have a gray screen in nextcloud. Did I miss something ?

How to check the logs please?

Ok here are my logs:

sudo docker logs 6fe5ccdb952c
Generating RSA private key, 2048 bit long modulus
.+++
.+++
e is 65537 (0x10001)
Generating RSA private key, 2048 bit long modulus
.....+++
.....................................................+++
e is 65537 (0x10001)
Signature ok
subject=/C=DE/ST=BW/L=Stuttgart/O=Dummy Authority/CN=localhost
Getting CA Private Key
loolforkit version details: 2.1.0 - b2e736a3
office version details: { "ProductName": "Collabora Office", "ProductVersion": "5.3", "ProductExtension": ".10.10", "BuildId": "77b0d93c0f6ff6490e909dbd81b1994862a31b3a" }
wsd-00025-00026 21:56:43.117746 [ prisoner_poll ] WRN  ForKit not responsive for 7053 ms forking 1 children. Resetting.| wsd/LOOLWSD.cpp:338
wsd-00025-00034 21:57:04.650313 [ websrv_poll ] ERR  File [/usr/share/loolwsd//loleaflet/2.0.4/loleaflet.html] does not exist.| wsd/FileServer.cpp:282

I went to work on another task, came back and it is now running well :confused:

I just updated to the latest docker version (2.1, as of May 5h 10:30 CET) and I get that same error. In Nextcloud when I click on a .doc file I get a gray screen.

I updated that too and it works with nc 11.0.3 and 12 without issue. Did you logout and relogin?

After logging out and logging in as well as restarting the container as well as restarting docker itself (unfortunately cannot tell which of the above actions - or combination thereof - actually did the trick), the problem went away… to bring a new one: “file not recognized or corrupt” (or something to that effect). I’ve stopped and removed the container and will start again when I have time during the weekend.

I thought with containers things would work more reliably, but there are obviously many things that can go wrong without any clear indication of where the problem is… :frowning:

adding a symbolic link “docker run collabora/code ln -s /opt/collaboraoffice5.3 /opt/collaboraoffice5.1” will make it work.

I’m also getting the “Failed to fork child processes” with the latest collabora/code docker. I’ve started a new thread at Restarting Docker results in “Failed to fork child processes” - if anybody has any more advice (I’ve tried the “ln -s” method from AlessandroP and had a look at the start-libreoffice.sh script, which seems fine now), I’d be very happy

Hi everyone, after upgrade to new code 2.1 when I tried to open any document it keep trying to connect.

Anyone have the solution? here are my logs

sudo docker logs 66dac0f97512
Generating RSA private key, 2048 bit long modulus
…+++
…+++
e is 65537 (0x10001)
Generating RSA private key, 2048 bit long modulus
.+++
…+++
e is 65537 (0x10001)
Signature ok
subject=/C=DE/ST=BW/L=Stuttgart/O=Dummy Authority/CN=localhost
Getting CA Private Key
loolforkit version details: 2.1.0 - b2e736a3
office version details: { “ProductName”: “Collabora Office”, “ProductVersion”: “5.3”, “ProductExtension”: “.10.10”, “BuildId”: “77b0d93c0f6ff6490e909dbd81b1994862a31b3a” }
wsd-00026-00034 10:57:51.614991 [ websrv_poll ] ERR FileServerRequestHandler::NotAuthenticated: No authentication information found| wsd/FileServer.cpp:209
wsd-00026-00034 10:59:12.708343 [ websrv_poll ] ERR Admin request: /lool/adminws/| wsd/LOOLWSD.cpp:1604
wsd-00026-00035 10:59:29.386482 [ admin ] ERR Socket #18 SSL BIO error: closed (0).| ./net/SslSocket.hpp:255
wsd-00026-00034 10:59:30.548309 [ websrv_poll ] ERR Admin request: /lool/adminws/| wsd/LOOLWSD.cpp:1604
wsd-00026-00035 11:00:09.736681 [ admin ] ERR Socket #18 SSL BIO error: closed (0).| ./net/SslSocket.hpp:255
wsd-00026-00034 11:00:10.940598 [ websrv_poll ] ERR Admin request: /lool/adminws/| wsd/LOOLWSD.cpp:1604
wsd-00026-00035 11:00:19.976452 [ admin ] ERR Socket #18 SSL BIO error: closed (0).| ./net/SslSocket.hpp:255
wsd-00026-00034 11:00:20.797878 [ websrv_poll ] ERR Admin request: /lool/adminws/| wsd/LOOLWSD.cpp:1604
wsd-00026-00035 11:01:36.991330 [ admin ] ERR Socket #18 SSL BIO error: closed (0).| ./net/SslSocket.hpp:255
wsd-00026-00034 11:01:37.793810 [ websrv_poll ] ERR Admin request: /lool/adminws/| wsd/LOOLWSD.cpp:1604
wsd-00026-00035 11:02:35.449843 [ admin ] ERR Socket #18 SSL BIO error: closed (0).| ./net/SslSocket.hpp:255
wsd-00026-00034 11:03:40.467435 [ websrv_poll ] WRN WOPI host did not pass optional access_token_ttl| wsd/FileServer.cpp:327
wsd-00026-00036 11:03:42.738905 [ docbroker_001 ] ERR Exception while invoking poll [docbroker_001] callback: No acceptable WOPI hosts found matching the target host [nextcloud-forum-asia.org] in config.| ./net/Socket.hpp:382
wsd-00026-00036 11:03:43.152449 [ docbroker_001 ] WRN Attempted ping on non-upgraded websocket!| ./net/WebSocketHandler.hpp:287
wsd-00026-00036 11:03:43.169955 [ docbroker_001 ] WRN Child session [0016] not found to forward message: load url=https://nextcloud-forum-asia.org/apps/richdocuments/wopi/files/136122_ocuyeaonhtz6?access_token=wwud2NZGkFEZ0R2IGCrmIXzxvXUZMv9I&access_token_ttl=0&permission=edit readonly=0 lang=en_GB| wsd/DocumentBroker.cpp:1270
wsd-00026-00036 11:04:03.191310 [ docbroker_001 ] WRN Attempted ping on non-upgraded websocket!| ./net/WebSocketHandler.hpp:287
wsd-00026-00036 11:04:03.191340 [ docbroker_001 ] WRN Attempted ping on non-upgraded websocket!| ./net/WebSocketHandler.hpp:287
wsd-00026-00036 11:04:23.212700 [ docbroker_001 ] WRN Attempted ping on non-upgraded websocket!| ./net/WebSocketHandler.hpp:287
wsd-00026-00036 11:04:23.212730 [ docbroker_001 ] WRN Attempted ping on non-upgraded websocket!| ./net/WebSocketHandler.hpp:287

someone can help us with that error, I’ve been looking for a solution for 5 days and I can not probe everything that lines above but I can not even make the docker work or unpack the content … please help me … I’m willing to pay for the solution.

I have the same issue, with a fresh install of the latest docker image. So the solution above is not useful as it’s already configured with collaboraoffice5.3.

Any idea ?