YunoHost-Apps / collabora_ynh

Collabora package for YunoHost
https://www.collaboraoffice.com/
GNU General Public License v3.0
16 stars 13 forks source link

Upgrading still break connexion with Nextcloud #91

Open rodinux opened 2 weeks ago

rodinux commented 2 weeks ago

Describe the bug

Upgrading breaks the connexion

Context

Steps to reproduce

Expected behavior

Upgrade collabora and keep it working with Nextcloud

Logs

I could only see logs on /var/log/daemon.log, folder `/var/log/collabora/' did not exist...

rodinux commented 2 weeks ago

The only solution for me to resolve (in few collabora installation) was to remove the application and reinstall it.

rodinux commented 2 weeks ago

Perhaps I found logs related after the upgrade... but there is too much logs in /var/log/daemon.log ans perhaps not relevant

Sep 17 21:12:59 yuno coolwsd[360213]: wsd-360213-360299 2024-09-17 21:12:59.747998 +0200 [ prisoner_poll ] ERR  #17: Read failed, have 0 buffered bytes (ECONNRESET: Connection reset by peer)| net/Socket.hpp:1156
Sep 17 21:12:59 yuno coolwsd[360213]: wsd-360213-360299 2024-09-17 21:12:59.748025 +0200 [ prisoner_poll ] WRN  #17: Unassociated Kit (360890) disconnected unexpectedly| wsd/COOLWSD.cpp:3726
Sep 17 21:12:59 yuno coolwsd[360300]: frk-360300-360300 2024-09-17 21:12:59.748473 +0200 [ forkit ] ERR  Couldn't create file: /opt/cool/child-roots/360213-3e6701f2/HI6NsWRZyLZOWGun/tmp/kit-crashed due to error: No such file or directory| kit/ForKit.cpp:300
Sep 17 21:12:59 yuno coolwsd[360300]: frk-360300-360300 2024-09-17 21:12:59.748564 +0200 [ forkit ] WRN  No live Kits exist, and we are not terminating yet.| kit/ForKit.cpp:311
Sep 17 21:12:59 yuno coolwsd[360300]: frk-360300-360300 2024-09-17 21:12:59.748580 +0200 [ forkit ] WRN  Successfully sent 'segfaultcount' message segfaultcount 1
Sep 17 21:12:59 yuno coolwsd[360300]: | kit/ForKit.cpp:343
Sep 17 21:12:59 yuno coolwsd[360891]: kit-360891-360891 2024-09-17 21:12:59.758268 +0200 [ kit_spare_003 ] SIG   Fatal signal received: SIGSEGV code: 2 for address: 0x1271770
Sep 17 21:12:59 yuno coolwsd[360891]: Recent activity:
Sep 17 21:12:59 yuno coolwsd[360891]: Backtrace 360891 - kit startup of 24.04.7.2 d5ebff5:
Sep 17 21:12:59 yuno coolwsd[360891]: /usr/bin/coolforkit-ns(_ZN7SigUtil13dumpBacktraceEv+0x73)[0x61c2d3]
Sep 17 21:12:59 yuno coolwsd[360891]: /usr/bin/coolforkit-ns[0x61c6f5]
Sep 17 21:12:59 yuno coolwsd[360891]: /lib/x86_64-linux-gnu/libpthread.so.0(+0x13140)[0x7f22da3e0140]
Sep 17 21:12:59 yuno coolwsd[360891]: [0x1271770]
Sep 17 21:12:59 yuno coolwsd[360213]: wsd-360213-360299 2024-09-17 21:12:59.762715 +0200 [ prisoner_poll ] ERR  #17: Read failed, have 0 buffered bytes (ECONNRESET: Connection reset by peer)| net/Socket.hpp:1156
Sep 17 21:12:59 yuno coolwsd[360213]: wsd-360213-360299 2024-09-17 21:12:59.762747 +0200 [ prisoner_poll ] WRN  #17: Unassociated Kit (360891) disconnected unexpectedly| wsd/COOLWSD.cpp:3726
Sep 17 21:12:59 yuno coolwsd[360300]: frk-360300-360300 2024-09-17 21:12:59.763194 +0200 [ forkit ] ERR  Couldn't create file: /opt/cool/child-roots/360213-3e6701f2/gOeplhVKgtp8MCFE/tmp/kit-crashed due to error: No such file or directory| kit/ForKit.cpp:300
Sep 17 21:12:59 yuno coolwsd[360300]: frk-360300-360300 2024-09-17 21:12:59.763280 +0200 [ forkit ] WRN  No live Kits exist, and we are not terminating yet.| kit/ForKit.cpp:311
ImaCrea commented 2 weeks ago

Same issue encountered. I re-installed the app, following @rodinux advise, and it went well.

tio-trom commented 2 weeks ago

Same here. Reinstall works.

cheywood commented 2 weeks ago

but there is too much logs in /var/log/daemon.log

Yep coolwsd logging here filled /var/log/daemon.log, /var/log/syslog, /var/log/journal and ultimately the disk.

A little more info: it's been a problem with past upgrades and I think reboots too. Fairly sure after reboots I would need to give the coolwsd yunohost service a kick to get it back up and running. This is the first time the disk filled and took down the server though (about 13gb of logs in a short amount of time).

Hrmm and now it looks like a reboot after reinstalling has resulted in a broken install again.

So here today:

  1. Upgrade Collabora
  2. Server dies (turns out logs filled disk)
  3. Reboot
  4. Uninstall Collabora
  5. Deal with logs
  6. Reinstall Collabora
  7. Collabora working
  8. Reboot
  9. Collabora not working
  10. Restart coolwsd service
  11. Collabora still not working

edit1: extra info edit2: update on reboot failure

tootbrute commented 1 week ago

I updated Nextcloud this week and it did not break my connection.

I'm on Nextcloud 29.0.7. I am using Collabora Office 24.04.7.2 (git hash: 8c74383) Also, I'm on Debian 12. I'm on Yunohost Testing.