ONLYOFFICE Suddenly giving issues

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 30.0.5
  • Operating system and version (e.g., Ubuntu 24.04):
    • Ubuntu 24.04
  • Web server and version (e.g, Apache 2.4.25):
    • Apache2.4.58
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • NPM 2.12.2
  • PHP version (e.g, 8.3):
    • 8.3
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes
  • When did this problem seem to first start?
    • Yesterday (29-1-2025)
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • Bare metal
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • Cloudflare (cname no proxy)

Summary of the issue you are facing:

Onlyoffice only seems to work locally. When i use the android app or go through browser either *.odt won’t open/keeps loading or tells me to download the file. weirdly the type of error changes.

Steps to replicate it (hint: details matter!):

  1. Open nextcloud app/direct website (login)
  2. Open a odt file.
  3. Either, it downloads, tries to open or gives an error ‘cannot be opened’.

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.
https://pastebin.com/RUk5jmcT

Web server / Reverse Proxy

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

2025/01/30 12:03:44 [warn] 172#172: the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:4

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!):

occ $ config:list system
{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [ 
           "localhost",
            "10.66.66.*",
            "nc.mwbreur.eu",
            "127.0.0.1",
            "192.168.1.2"
        ],
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "30.0.5.1",
        "overwrite.cli.url": "https:\/\/nc.mwbreur.eu",
        "htaccess.RewriteBase": "\/",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "default_language": "en",
        "default_locale": "en_US",
        "default_phone_region": "NL",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0
        },
        "maintenance": false,
        "maintenance_window_start": 1, 
       "mail_smtpmode": "smtp", 
       "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***",
        "app_install_overwrite": [
            "occweb"
        ],
        "memories.db.triggers.fcu": true,
        "memories.exiftool": "\/var\/www\/nextcloud\/apps\/memories\/bin-ext\/exiftool-amd64-glibc",
        "memories.vod.path": "\/var\/www\/nextcloud\/apps\/memories\/bin-ext\/go-vod-amd64",
        "memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
        "memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
        "enabledPreviewProviders": [ 
           "OC\\Preview\\Image",
            "OC\\Preview\\HEIC",
            "OC\\Preview\\Movie",
            "OC\\Preview\\TIFF"
        ],
        "memories.vod.disable": false,
        "theme": "",
        "loglevel": 2,
        "memories.gis_type": 1,
        "onlyoffice": {
            "verify_peer_off": "true"
        }
    }
}

Apps

The output from :
occ $ config:list onlyoffice
{
“apps”: {
“onlyoffice”: {
“DocumentServerInternalUrl”: “”,
“DocumentServerUrl”: “https://nc.mwbreur.eu/apps/documentserver_community/”,
“StorageUrl”: “”,
“advanced”: “false”,
“cronChecker”: “true”,
“customizationChat”: “true”,
“customizationCompactHeader”: “true”,
“customizationFeedback”: “true”,
“customizationForcesave”: “false”,
“customizationHelp”: “true”,
“customizationReviewDisplay”: “original”,
“customizationTheme”: “theme-dark”,
“customizationToolbarNoTabs”: “true”,
“defFormats”: “{"doc":"true","docm":"false","docx":"true","dot":"false","dotm":"false","dotx":"false","epub":"false","fb2":"false","fodt":"false","htm":"false","html":"false","mht":"false","mhtml":"false","odt":"true","ott":"false","rtf":"false","stw":"false","sxw":"false","txt":"false","wps":"false","xml":"false","csv":"true","fods":"false","ods":"true","ots":"false","sxc":"false","xls":"true","xlsb":"false","xlsm":"false","xlsx":"true","xlt":"false","xltm":"false","xltx":"false","fodp":"false","odp":"true","otp":"false","pot":"false","potm":"false","potx":"false","pps":"true","ppsm":"false","ppsx":"true","ppt":"true","pptm":"false","pptx":"true","sxi":"false","pdf":"true","djvu":"false","docxf":"true","oform":"true","oxps":"false","xps":"false"}”,
“demo”: “{"available":true,"enabled":false,"start":{"date":"2025-01-27 01:53:56.099355","timezone_type":3,"timezone":"UTC"}}”,
“editFormats”: “{"epub":"false","fb2":"false","html":"false","odt":"true","ott":"false","rtf":"true","txt":"true","csv":"true","ods":"true","ots":"false","odp":"true","otp":"false"}”,
“enabled”: “yes”,
“groups”: “”,
“installed_version”: “9.5.0”,
“jwt_header”: “”,
“jwt_secret”: “REMOVED SENSITIVE VALUE”,
“preview”: “false”,
“sameTab”: “true”,
“settings_error”: “cURL error 35: OpenSSL/3.0.13: error:0A000458:SSL routines::tlsv1 unrecognized name (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://nc.mwbreur.eu/apps/documentserver_community/healthcheck”,
“types”: “prevent_group_restriction”,
“verify_peer_off”: “false”,
“versionHistory”: “true”
}
}
}

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

occ $ app:list
Enabled:
- activity: 3.0.0
- admin_audit: 1.20.0
- app_api: 4.0.5
- bruteforcesettings: 3.0.0
- calendar: 5.0.9
- circles: 30.0.0
- cloud_federation_api: 1.13.0
- comments: 1.20.1
- contacts: 6.1.3
- contactsinteraction: 1.11.0
- dashboard: 7.10.0
- dav: 1.31.1
- deck: 1.14.3
- documentserver_community: 0.1.20
- drawio: 3.0.3
- federatedfilesharing: 1.20.0
- federation: 1.20.0
- files: 2.2.0
- files_downloadlimit: 3.0.0
- files_external: 1.22.0
- files_pdfviewer: 3.0.0
- files_reminders: 1.3.0
- files_sharing: 1.22.0
- files_trashbin: 1.20.1
- files_versions: 1.23.0
- firstrunwizard: 3.0.0
- forms: 4.3.5
- groupfolders: 18.0.9
- logreader: 3.0.0
- lookup_server_connector: 1.18.0
- mail: 4.1.2
- memories: 7.4.1
- music: 2.1.1
- nextcloud_announcements: 2.0.0
- notes: 4.11.0
- notifications: 3.0.0
- oauth2: 1.18.1
- occweb: 0.2.2
- onlyoffice: 9.5.0
- password_policy: 2.0.0
- passwords: 2024.12.21
- photos: 3.0.2
- privacy: 2.0.0
- provisioning_api: 1.20.0
- recognize: 8.2.0
- recommendations: 3.0.0
- related_resources: 1.5.0
- serverinfo: 2.0.0
- settings: 1.13.0
- sharebymail: 1.20.0
- spreed: 20.1.3
- support: 2.0.0
- survey_client: 2.0.0
- suspicious_login: 8.0.0
- systemtags: 1.20.0
- tasks: 0.16.1
- text: 4.1.0
- theming: 2.5.0
- twofactor_backupcodes: 1.19.0
- updatenotification: 1.20.0
- user_status: 1.10.0
- viewer: 3.0.0
- weather_status: 1.10.0
- webhook_listeners: 1.1.0-dev
- whiteboard: 1.0.5
- workflowengine: 2.12.0
Disabled:
- encryption: 2.18.0
- twofactor_nextcloud_notification: 4.0.0
- twofactor_totp: 12.0.0-dev
- user_ldap: 1.21.0

When i do : https://nc.mwbreur.eu/apps/documentserver_community/healthcheck

true

But the log entry says :

[onlyoffice] Error: healthcheckRequest on check error
	POST /apps/occweb/cmd
	from 192.168.1.11 by Michiel at 30 Jan 2025, 11:25:32

I have no idea where to look for answers now, already tried removing it and reinstalling but doesn’t matter.

I think i need to reinstall the whole lot to get it to work again,
Collabora worked fine and suddenly stopped!? Onlyoffice worked fine and suddenly stopped. it’s weird.