Collabora not working in nextcloud 24

NethServer Version: 7.9.2009
nextcloud: 24

At some time collabora seemed to stop workiing. I cannot open any office documents any more. It just says: “Failed to load document”.

How can this be fixed?

Did you already update the Collabora Nextcloud app named richdocuments?

1 Like

I already have richdocuments version 6.3.1 and occ app:update did not update to a newer version.

It actually starts, tries to initiialize

but displays a short error message (connection broken) and the menu only:

Sometimes
grafik

Which version of Collabora do you use, see also Collabora Online — NethServer 7 Final about how to update. Most recent Collabora 22.05.8-2 works here.

rpm -q collaboraoffice

Does it work to click “Save” in the Nextcloud Office settings in Nextcloud UI?

Maybe there’s a config error, please share your config:

config show coolwsd

Are there errors in the Nextcloud log or /var/log/messages?

1 Like

Still not working. Additional infos:

  1. rpm -q collaboraoffice:
    collaboraoffice-22.05.9-3.x86_64

  2. config show coolwsd
    coolwsd=service
    AllowWopiHost=
    VirtualHost=collabora.mydomain.de
    status=enabled

  3. Nextcloud Hub 3 (25.0.2)
    Cannot be updated to 25.0.3 from without Nextcloud because of error

Check for expected files
The following extra files have been found:
    assets
    etc
  1. Nextcloud integrity checker shows:
Technical information
=====================
The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.

Results
=======
- twofactor_totp
	- EXTRA_FILE
		- .php-cs-fixer.dist.php
		- README.md
		- l10n/.gitkeep
		- psalm.xml
		- stylelint.config.js
		- vendor/composer/InstalledVersions.php
		- vendor/composer/installed.php
		- vendor/composer/platform_check.php
  1. I can access and login into
    https://collabora.mydomain.de/browser/dist/admin/admin.html
    There are 0 users and 0 documents shown.

  2. installed packages

root@mail ~]# yum list | grep nextcloud
nethserver-nextcloud.noarch                  1.21.0-1.ns7           @nethserver-updates
nextcloud.noarch                             18.0.0-1.el7           nethserver-base

root@mail ~]# yum list | grep collab
CODE-brand.noarch                            22.05-23               @collaboraoffice
collaboraoffice.x86_64                       22.05.9-3              @collaboraoffice
collaboraoffice-dict-en.x86_64               22.05.9-3              @collaboraoffice
collaboraoffice-ure.x86_64                   22.05.9-3              @collaboraoffice
collaboraofficebasis-calc.x86_64             22.05.9-3              @collaboraoffice
collaboraofficebasis-core.x86_64             22.05.9-3              @collaboraoffice
collaboraofficebasis-draw.x86_64             22.05.9-3              @collaboraoffice
collaboraofficebasis-en-US.x86_64            22.05.9-3              @collaboraoffice
collaboraofficebasis-extension-pdf-import.x86_64
                                             22.05.9-3              @collaboraoffice
collaboraofficebasis-graphicfilter.x86_64    22.05.9-3              @collaboraoffice
collaboraofficebasis-images.x86_64           22.05.9-3              @collaboraoffice
collaboraofficebasis-impress.x86_64          22.05.9-3              @collaboraoffice
collaboraofficebasis-math.x86_64             22.05.9-3              @collaboraoffice
collaboraofficebasis-ooofonts.x86_64         22.05.9-3              @collaboraoffice
collaboraofficebasis-ooolinguistic.x86_64    22.05.9-3              @collaboraoffice
collaboraofficebasis-writer.x86_64           22.05.9-3              @collaboraoffice
coolwsd.x86_64                               22.05.9.3-1.el7        @collaboraoffice
nethserver-collabora.noarch                  0.1.6-1.ns7            @nethforge  
collaboraoffice6.0.x86_64                    6.0.10.18-18           nethforge   
collaboraoffice6.0-dict-ar.x86_64            6.0.10.18-18           nethforge   
collaboraoffice6.0-dict-bg.x86_64            6.0.10.18-18           nethforge   
collaboraoffice6.0-dict-br.x86_64            6.0.10.18-18           nethforge   
collaboraoffice6.0-dict-ca.x86_64            6.0.10.18-18           nethforge   
collaboraoffice6.0-dict-cs.x86_64            6.0.10.18-18           nethforge   
collaboraoffice6.0-dict-da.x86_64            6.0.10.18-18           nethforge   
collaboraoffice6.0-dict-de.x86_64            6.0.10.18-18           nethforge   
collaboraoffice6.0-dict-el.x86_64            6.0.10.18-18           nethforge   
collaboraoffice6.0-dict-en.x86_64            6.0.10.18-18           nethforge   
collaboraoffice6.0-dict-es.x86_64            6.0.10.18-18           nethforge   
collaboraoffice6.0-dict-et.x86_64            6.0.10.18-18           nethforge   
collaboraoffice6.0-dict-fr.x86_64            6.0.10.18-18           nethforge   
collaboraoffice6.0-dict-gd.x86_64            6.0.10.18-18           nethforge   
collaboraoffice6.0-dict-gl.x86_64            6.0.10.18-18           nethforge   
collaboraoffice6.0-dict-gu.x86_64            6.0.10.18-18           nethforge   
collaboraoffice6.0-dict-he.x86_64            6.0.10.18-18           nethforge   
collaboraoffice6.0-dict-hi.x86_64            6.0.10.18-18           nethforge   
collaboraoffice6.0-dict-hr.x86_64            6.0.10.18-18           nethforge   
collaboraoffice6.0-dict-hu.x86_64            6.0.10.18-18           nethforge   
collaboraoffice6.0-dict-is.x86_64            6.0.10.18-18           nethforge   
collaboraoffice6.0-dict-it.x86_64            6.0.10.18-18           nethforge   
collaboraoffice6.0-dict-lt.x86_64            6.0.10.18-18           nethforge   
collaboraoffice6.0-dict-lv.x86_64            6.0.10.18-18           nethforge   
collaboraoffice6.0-dict-nl.x86_64            6.0.10.18-18           nethforge   
collaboraoffice6.0-dict-no.x86_64            6.0.10.18-18           nethforge   
collaboraoffice6.0-dict-oc.x86_64            6.0.10.18-18           nethforge   
collaboraoffice6.0-dict-pl.x86_64            6.0.10.18-18           nethforge   
collaboraoffice6.0-dict-pt-BR.x86_64         6.0.10.18-18           nethforge   
collaboraoffice6.0-dict-pt-PT.x86_64         6.0.10.18-18           nethforge   
collaboraoffice6.0-dict-ro.x86_64            6.0.10.18-18           nethforge   
collaboraoffice6.0-dict-ru.x86_64            6.0.10.18-18           nethforge   
collaboraoffice6.0-dict-sk.x86_64            6.0.10.18-18           nethforge   
collaboraoffice6.0-dict-sl.x86_64            6.0.10.18-18           nethforge   
collaboraoffice6.0-dict-sr.x86_64            6.0.10.18-18           nethforge   
collaboraoffice6.0-dict-sv.x86_64            6.0.10.18-18           nethforge   
collaboraoffice6.0-dict-te.x86_64            6.0.10.18-18           nethforge   
collaboraoffice6.0-dict-uk.x86_64            6.0.10.18-18           nethforge   
collaboraoffice6.0-dict-vi.x86_64            6.0.10.18-18           nethforge   
collaboraoffice6.0-ure.x86_64                6.0.10.18-18           nethforge   
collaboraoffice6.2.x86_64                    6.2.10.3-3             nethforge   
collaboraoffice6.2-ure.x86_64                6.2.10.3-3             nethforge   
collaboraoffice6.4.x86_64                    6.4.10.34-34           nethforge   
collaboraoffice6.4-dict-en.x86_64            6.4.10.34-34           nethforge   
collaboraoffice6.4-ure.x86_64                6.4.10.34-34           nethforge   
collaboraofficebasis6.0-ar.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-as.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-ast.x86_64           6.0.10.18-18           nethforge   
collaboraofficebasis6.0-bg.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-bn-IN.x86_64         6.0.10.18-18           nethforge   
collaboraofficebasis6.0-br.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-ca.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-ca-valencia.x86_64   6.0.10.18-18           nethforge   
collaboraofficebasis6.0-calc.x86_64          6.0.10.18-18           nethforge   
collaboraofficebasis6.0-core.x86_64          6.0.10.18-18           nethforge   
collaboraofficebasis6.0-cs.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-cy.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-da.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-de.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-draw.x86_64          6.0.10.18-18           nethforge   
collaboraofficebasis6.0-el.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-en-GB.x86_64         6.0.10.18-18           nethforge   
collaboraofficebasis6.0-en-US.x86_64         6.0.10.18-18           nethforge   
collaboraofficebasis6.0-es.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-et.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-eu.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-extension-pdf-import.x86_64
collaboraofficebasis6.0-fi.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-fr.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-ga.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-gd.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-gl.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-graphicfilter.x86_64 6.0.10.18-18           nethforge   
collaboraofficebasis6.0-gu.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-he.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-hi.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-hr.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-hu.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-id.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-images.x86_64        6.0.10.18-18           nethforge   
collaboraofficebasis6.0-impress.x86_64       6.0.10.18-18           nethforge   
collaboraofficebasis6.0-is.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-it.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-ja.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-km.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-kn.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-ko.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-lt.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-lv.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-ml.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-mr.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-nb.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-nl.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-nn.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-oc.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-ooofonts.x86_64      6.0.10.18-18           nethforge   
collaboraofficebasis6.0-ooolinguistic.x86_64 6.0.10.18-18           nethforge   
collaboraofficebasis6.0-or.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-pa-IN.x86_64         6.0.10.18-18           nethforge   
collaboraofficebasis6.0-pl.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-pt.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-pt-BR.x86_64         6.0.10.18-18           nethforge   
collaboraofficebasis6.0-ro.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-ru.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-sk.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-sl.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-sr.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-sr-Latn.x86_64       6.0.10.18-18           nethforge   
collaboraofficebasis6.0-sv.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-ta.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-te.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-tr.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-uk.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-vi.x86_64            6.0.10.18-18           nethforge   
collaboraofficebasis6.0-writer.x86_64        6.0.10.18-18           nethforge   
collaboraofficebasis6.0-zh-CN.x86_64         6.0.10.18-18           nethforge   
collaboraofficebasis6.0-zh-TW.x86_64         6.0.10.18-18           nethforge   
collaboraofficebasis6.2-calc.x86_64          6.2.10.3-3             nethforge   
collaboraofficebasis6.2-core.x86_64          6.2.10.3-3             nethforge   
collaboraofficebasis6.2-draw.x86_64          6.2.10.3-3             nethforge   
collaboraofficebasis6.2-en-US.x86_64         6.2.10.3-3             nethforge   
collaboraofficebasis6.2-extension-pdf-import.x86_64
collaboraofficebasis6.2-graphicfilter.x86_64 6.2.10.3-3             nethforge   
collaboraofficebasis6.2-images.x86_64        6.2.10.3-3             nethforge   
collaboraofficebasis6.2-impress.x86_64       6.2.10.3-3             nethforge   
collaboraofficebasis6.2-ooofonts.x86_64      6.2.10.3-3             nethforge   
collaboraofficebasis6.2-ooolinguistic.x86_64 6.2.10.3-3             nethforge   
collaboraofficebasis6.2-writer.x86_64        6.2.10.3-3             nethforge   
collaboraofficebasis6.4-calc.x86_64          6.4.10.34-34           nethforge   
collaboraofficebasis6.4-core.x86_64          6.4.10.34-34           nethforge   
collaboraofficebasis6.4-draw.x86_64          6.4.10.34-34           nethforge   
collaboraofficebasis6.4-en-US.x86_64         6.4.10.34-34           nethforge   
collaboraofficebasis6.4-extension-pdf-import.x86_64
collaboraofficebasis6.4-graphicfilter.x86_64 6.4.10.34-34           nethforge   
collaboraofficebasis6.4-images.x86_64        6.4.10.34-34           nethforge   
collaboraofficebasis6.4-impress.x86_64       6.4.10.34-34           nethforge   
collaboraofficebasis6.4-ooofonts.x86_64      6.4.10.34-34           nethforge   
collaboraofficebasis6.4-ooolinguistic.x86_64 6.4.10.34-34           nethforge   
collaboraofficebasis6.4-writer.x86_64        6.4.10.34-34           nethforge
root@mail log]# systemctl status -l coolwsd
● coolwsd.service - Collabora Online WebSocket Daemon
   Loaded: loaded (/usr/lib/systemd/system/coolwsd.service; enabled; vendor preset: disabled)
   Active: active (running) since Sat 2023-01-21 15:09:40 CET; 17min ago
 Main PID: 926 (coolwsd)
   CGroup: /system.slice/coolwsd.service
           ├─ 926 /usr/bin/coolwsd --version --o:sys_template_path=/opt/cool/systemplate --o:child_root_path=/opt/cool/child-roots --o:file_server_root_path=/usr/share/coolwsd
           ├─1959 /usr/bin/coolforkit --systemplate=/opt/cool/systemplate --lotemplate=/opt/collaboraoffice --childroot=/opt/cool/child-roots/ --clientport=9980 --masterport=coolwsd-nxef9f49 --rlimits=limit_virt_mem_mb:0;limit_stack_mem_kb:8000;limit_file_size_mb:0;limit_num_open_files:0 --version --ui=default
           └─2390 /usr/bin/coolforkit --systemplate=/opt/cool/systemplate --lotemplate=/opt/collaboraoffice --childroot=/opt/cool/child-roots/ --clientport=9980 --masterport=coolwsd-nxef9f49 --rlimits=limit_virt_mem_mb:0;limit_stack_mem_kb:8000;limit_file_size_mb:0;limit_num_open_files:0 --version --ui=default

Jan 21 15:18:10 mail.mydomain.de coolwsd[926]: wsd-00926-02400 2023-01-21 15:18:10.556092 +0100 [ websrv_poll ] WRN  Client - server version mismatch, disabling browser cache. Expected: 6fe6d24; Actual URI path with version hash: /browser/dist/admin/admin.html| wsd/FileServer.cpp:514
Jan 21 15:18:10 mail.mydomain.de coolwsd[926]: wsd-00926-02400 2023-01-21 15:18:10.556602 +0100 [ websrv_poll ] ERR  FileServerRequestHandler::NotAuthenticated: No authentication information found| wsd/FileServer.cpp:684

Hm, it seems Collabora is working as the service is up and you can reach the admin console.

Please also check logs and check the error message in the Nextcloud Office settings in Nextcloud after pressing “Save”.

Nextcloud should only be updated via Software Center.

Updating the apps and removing the files should help:

yum list also lists not installed but available packages.
To check for installed packages it’s better to use rpm:

rpm -qa "*nextcloud*"

1 Like

Thanks for the help. I solved the problem:

  1. Remove all collabora packages
    yum remove nethserver-collabora
    yum remove collaboraoffice.x86_64
    yum autoremove

  2. Reinstall collabora with “Software Center”

  3. Update Collabora
    yum update --enablerepo=collaboraoffice

  4. Fix loolwsd.xml
    mv /etc/loolwsd/loolwsd.xml.rpmnew /etc/loolwsd/loolwsd.xml
    signal-event nethserver-collabora-update

  5. config getprop coolwsd AllowWopiHost cloud.mydomain.de
    signal-event nethserver-collabora-update

  6. Fix Reverse Proxy settings from frontend Nethserver reverse proxy

File: /etc/httpd/conf.d/z-collabora-mydomain1.conf
The problem here was, that “lool” from the old configuration had to be changed to “cool”.

<VirtualHost *:443>

    ServerName collabora.mydomain.de

    #20ssl_engine
    SSLEngine On
    SSLProxyEngine On
    SSLCertificateFile "/etc/letsencrypt/live/cloud.xxxx/cert.pem"
    SSLCertificateKeyFile "/etc/letsencrypt/live/cloud.xxxx1/privkey.pem"
    SSLCertificateChainFile "/etc/letsencrypt/live/cloud.xxxx/chain.pem"

    SSLProxyVerify none
    SSLProxyCheckPeerCN off
    SSLProxyCheckPeerName off
    SSLProxyCheckPeerExpire off

    ProxyPreserveHost On

    AllowEncodedSlashes NoDecode
    ProxyPassMatch "/cool/(.*)/ws$" wss://192.168.x.y/cool/$1/ws nocanon
    ProxyPass /cool/adminws wss://192.168.x.y/cool/adminws

    # Reverse Proxy (with exclusion of local Letsencrypt challenge path)
    ProxyPassMatch ^/.well-known/acme-challenge/ !

    ProxyPass        / https://192.168.x.y / retry=0
    ProxyPassReverse / https://192.168.x.y/

</VirtualHost>
1 Like