Nextcloud office not working after update

Support intro

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 33.0.8
  • Operating system and version (e.g., Ubuntu 24.04):
    • Ubuntu 26.04
  • Web server and version (e.g, Apache 2.4.25):
    • 2.4.66-2ubuntu2.4
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • 2.4.66-2ubuntu2.4
  • PHP version (e.g, 8.3):
    • 8.5
  • Is this the first time you’ve seen this error? (Yes / No):
    • No, but I somehow managed to fix it - till now. I can't get it working again
  • When did this problem seem to first start?
    • After upgrading Nextcloud to 33
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • Server archive (so no container)
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

After having upgraded Nextcloud to 33, Office stopped working.

The error message I get when configuring Nextcloud Office is:

(Client error: `GET https://my.domain.net/healthcheck` resulted in a `404 Not Found` response:

  1. Log entries

Web server / Reverse Proxy

The output of your Apache/nginx/system log in /var/log/____:

I am not sure how to get this

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "my.domain.net",
            "office.my.domain.net"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "33.0.8.2",
        "overwrite.cli.url": "https:\/\/my.domain.net\/",
        "overwritehost": "my.domain.net",
        "overwriteprotocol": "https",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "maintenance": false,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "default_phone_region": "DE",
        "mail_smtpmode": "smtp",
        "mail_smtpsecure": "ssl",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauthtype": "LOGIN",
        "theme": "",
        "loglevel": 1,
        "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
        "app_install_overwrite": [
            "documentserver_community"
        ],
        "maintenance_window_start": "1"
    }
}

Apps

The output of occ app:list (if possible).

Enabled:

  • activity: 6.0.0
  • app_api: 33.0.0
  • bruteforcesettings: 6.0.0
  • calendar: 6.5.4
  • circles: 33.0.0
  • cloud_federation_api: 1.17.0
  • comments: 1.23.0
  • contacts: 8.7.7
  • contactsinteraction: 1.14.1
  • cookbook: 0.11.10
  • dashboard: 7.13.0
  • dav: 1.36.1
  • end_to_end_encryption: 2.2.4
  • eurooffice: 11.0.4
  • federatedfilesharing: 1.23.0
  • federation: 1.23.0
  • files: 2.5.0
  • files_downloadlimit: 5.1.0
  • files_external: 1.25.1
  • files_pdfviewer: 6.0.0
  • files_reminders: 1.6.0
  • files_sharing: 1.25.2
  • files_trashbin: 1.23.0
  • files_versions: 1.26.0
  • firstrunwizard: 6.0.0
  • logreader: 6.0.0
  • lookup_server_connector: 1.21.0
  • mail: 5.11.4
  • nextcloud_announcements: 5.0.0
  • notifications: 6.0.0
  • oauth2: 1.21.0
  • password_policy: 5.0.0
  • photos: 6.0.0
  • privacy: 5.0.0
  • profile: 1.2.0
  • provisioning_api: 1.23.0
  • recommendations: 6.0.0
  • related_resources: 4.0.0
  • richdocumentscode: 26.4.302
  • serverinfo: 5.0.0
  • settings: 1.16.0
  • sharebymail: 1.23.0
  • support: 5.0.0
  • survey_client: 5.0.0
  • systemtags: 1.23.0
  • text: 7.0.1
  • theming: 2.8.0
  • twofactor_backupcodes: 1.22.0
  • twofactor_nextcloud_notification: 7.0.0
  • twofactor_totp: 15.0.0
  • updatenotification: 1.23.0
  • user_ldap: 1.24.0
  • user_status: 1.13.0
  • viewer: 6.0.0
  • weather_status: 1.13.0
  • webhook_listeners: 1.5.0
  • workflowengine: 2.15.0
    Disabled:
  • admin_audit: 1.23.0
  • deck: 1.17.5 (installed 1.17.5)
  • encryption: 2.21.0
  • epubviewer: 1.9.7 (installed 1.9.7)
  • files_rightclick: 0.15.1 (installed 1.6.0)
  • music: 3.2.1 (installed 3.2.1)
  • spreed: 23.0.10 (installed 23.0.10)
  • suspicious_login: 11.0.0

I found a possible problem:

curl https://office.my.domain.net/hosting/wopiAccessCheck -d {“callbackUrl”:“https://my.domain.net/status.php”} --header “Content-Type: application/json”

<

404 Not Found

Not Found

The requested URL was not found on this server.


Apache/2.4.66 (Ubuntu) Server at office.my.domain.net Port 443

This means that obviously, my Collabra endpoint is not reachable. The docker itself is running:

docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
10c9bf411e7f collabora/code “/start-collabora-on…” 2 years ago Up 17 minutes 127.0.0.1:9980->9980/tcp sweet_keldysh

How to solve this?

different URLs you are using for office and cloud sound like separated CODE?
but this looks like collabora-built-in

which is supposed to live below {cloud}/apps/richdocumentscode/proxy.php?req= url (see Collabora integration guide)

This post can be closed, because we discussed this in another one (248811).