Uberspace / lab

The Uberlab provides various tutorials - written by you! - on how to run software and tools on Uberspace 7.
https://lab.uberspace.de
Other
309 stars 408 forks source link

[libreoffice] execmode=F1 stopped working #1618

Open Uatschitchun opened 9 months ago

Uatschitchun commented 9 months ago

Hi.. Followed the guide and successfully installed CODE v. 23.5.2.1

Today I did an update to latest and the server stopped working.... logs repeat:

2023-10-12 19:23:58,000 DEBG 'libreoffice' stderr output:
wsd-08738-08738 2023-10-12 19:23:57.999358 +0200 [ ld-linux-x86-64 ] INF  Waiting for a new child for a max of 20000ms| wsd/COOLWSD.cpp:5714

2023-10-12 19:23:58,023 DEBG 'libreoffice' stderr output:
wsd-08738-08761 2023-10-12 19:23:58.022778 +0200 [ prisoner_poll ] TRC  Poll completed with 0 live polls max (5000000us)(timedout)| net/Socket.cpp:360
wsd-08738-08761 2023-10-12 19:23:58.022928 +0200 [ prisoner_poll ] TRC  #8: Handling events of wakeup pipe: 0x0| net/Socket.cpp:364
wsd-08738-08761 2023-10-12 19:23:58.022957 +0200 [ prisoner_poll ] TRC  #18: Handling poll events of prisoner_poll at index 0 (of 1): 0x0| net/Socket.cpp:457
wsd-08738-08761 2023-10-12 19:23:58.022981 +0200 [ prisoner_poll ] TRC  Executing SocketDisposition of #18: Type::CONTINUE| net/Socket.cpp:689
wsd-08738-08761 2023-10-12 19:23:58.023007 +0200 [ prisoner_poll ] TRC  #18: setupPollFds getPollEvents: 0x1| net/Socket.hpp:845
wsd-08738-08761 2023-10-12 19:23:58.023027 +0200 [ prisoner_poll ] TRC  ppoll start, timeoutMicroS: 5000000 size 1| net/Socket.cpp:341

I was able to fix it with setting udocker setup --execmode=P1 collabora-code-23_05_4_2_1

So setting P1 instead of F1 fixes it. Don't know the cause and don't know the drawbacks...

cnoderer commented 5 months ago

Thank you @Uatschitchun, i was runnin into the same problem setting up a new installation with 23.05.9.1.1. STDERR reportet a constant ppoll start. Setting --execmode=P1 fixed my issue.

Uatschitchun commented 4 months ago

I again updated CODE to 23.05.9.1.1 and still F1 isn't working, but P1 is.

If I read the libreoffice guide correct, there's a disadvantage in using proot instead of fakeroot. How are we able to debug this and make it work with F1 again?