The Basics
- Nextcloud Server version (e.g., 29.x.x):
31.0.9
- Operating system and version (e.g., Ubuntu 24.04):
Debian 12 bookworm
- Web server and version (e.g, Apache 2.4.25):
Apache 2.4.65-1
- PHP version (e.g, 8.3):
8.4
- Is this the first time you’ve seen this error? (Yes / No):
yes
- When did this problem seem to first start?
Upgrading to Nextcloud 31.0.9
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
Bare Metal
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
No
Summary of the issue you are facing:
When try to open an .odt file through Nextcloud online Collabora (version arm64, v25.4.403) it loads a while and finally I get an error page “Document loading failed“ and below the text “Failed to load Nextcloud Office - please try again later”
Investigated via console, I can see it tries several times this url and last attempt fails with error code 400:
| /nextcloud/apps/richdocumentscode_arm64/proxy.php | |
|---|---|
with the following request parameters:
Steps to replicate it (hint: details matter!):
-
Download and enable extensions Collabora online Built-in CODE server (arm64) as well as Nextcloud Office
-
Choose any existing .odt file in your Nextcloud in Firefox to start online editing
-
Shown is a pretty empty page showing
Nextcloud Office
Connecting…
and after a while an error is shown: “Document loading failed“ and below the text “Failed to load Nextcloud Office - please try again later” -
Try it with Chrome or Chromium - both work - so no general issue with Nextcloud, Collabora or Apache.
Log entries
Nextcloud
[PHP] Error: voku\helper\UTF8::reduce_string_array(): Implicitly marking parameter $remove_short_values as nullable is deprecated, the explicit nullable type must be used instead at /var/www/html/nextcloud/apps/suspicious_login/vendor/voku/portable-utf8/src/voku/helper/UTF8.php#13827
GET /nextcloud/ocs/v2.php/core/navigation/apps?format=json
from 88.117.85.78 by martin at 16 Sept 2025, 17:23:31
Web Browser
If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.
/nextcloud/apps/richdocumentscode_arm64/proxy.php?req=/cool/https://mydomain.net/nextcloud/index.php/apps/richdocuments/wopi/files/some_file_id?access_token=blabla&access_token_ttl=0&no_auth_header=/ws?WOPISrc=https://mydomain.net/nextcloud/index.php/apps/richdocuments/wopi/files/some_file_id&compat=/ws/blablabla/write/2
Web server / Reverse Proxy
The output of your Apache/nginx/system log in /var/log/apache2/error.log:
[Tue Sep 16 17:34:03.455018 2025] [php:notice] [pid 11016:tid 11016] [client 88.117.85.78:60082] richdocumentscode (proxy.php) error exit, PID: 11016, Message: The param should be 'status' or 'req=...', but is: 'ui_theme=light'
[Tue Sep 16 17:36:09.023183 2025] [autoindex:error] [pid 10662:tid 10662] [client 44.206.229.23:19276] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive
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": [
"mysserver.local",
"10.10.1.10",
"mydomain.net",
"myservername"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "31.0.9.1",
"overwrite.cli.url": "https:\/\/mydomain.net\/nextcloud",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "587",
"mail_smtpauth": 1,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"maintenance_window_start": 2,
"defaultapp": "",
"bulkupload.enabled": false,
"memcache.local": "\\OC\\Memcache\\APCu",
"default_phone_region": "XX",
"default_timezone": "Somewhere",
"enable_previews": true,
"preview_concurrency_all": 4,
"preview_concurrency_new": 2,
"enabledPreviewProviders": [
"OC\\Preview\\BMP",
"OC\\Preview\\GIF",
"OC\\Preview\\JPEG",
"OC\\Preview\\Krita",
"OC\\Preview\\MarkDown",
"OC\\Preview\\MP3",
"OC\\Preview\\OpenDocument",
"OC\\Preview\\PNG",
"OC\\Preview\\TXT",
"OC\\Preview\\XBitmap",
"OC\\Preview\\PDF",
"OC\\Preview\\HEIC"
],
"maintenance": false,
"theme": "",
"loglevel": 2,
"app_install_overwrite": [
"pdfdraw",
"epubreader"
],
"updater.release.channel": "stable"
}
}
Apps
The output of occ app:list (if possible).
Enabled:
- activity: 4.0.0
- app_api: 5.0.2
- bruteforcesettings: 4.0.0
- calendar: 5.5.4
- cfg_share_links: 7.0.1
- circles: 31.0.0
- cloud_federation_api: 1.14.0
- comments: 1.21.0
- contacts: 7.3.1
- contactsinteraction: 1.12.0
- dashboard: 7.11.0
- dav: 1.33.0
- dicomviewer: 2.3.1
- federatedfilesharing: 1.21.0
- federation: 1.21.0
- files: 2.3.1
- files_downloadlimit: 4.0.0
- files_pdfviewer: 4.0.0
- files_reminders: 1.4.0
- files_sharing: 1.23.1
- files_trashbin: 1.21.0
- files_versions: 1.24.0
- firstrunwizard: 4.0.0
- forms: 5.1.2
- logreader: 4.0.0
- lookup_server_connector: 1.19.0
- mail: 5.4.0
- nextcloud_announcements: 3.0.0
- notifications: 4.0.0
- oauth2: 1.19.1
- password_policy: 3.0.0
- photos: 4.0.0
- previewgenerator: 5.10.0
- privacy: 3.0.0
- profile: 1.0.0
- provisioning_api: 1.21.0
- quota_warning: 1.21.0
- recommendations: 4.0.0
- related_resources: 2.0.0
- richdocuments: 8.7.4
- richdocumentscode_arm64: 25.4.403
- serverinfo: 3.0.0
- settings: 1.14.0
- sharebymail: 1.21.0
- spreed: 21.1.4
- support: 3.0.0
- survey_client: 3.0.0
- suspicious_login: 9.0.1
- systemtags: 1.21.1
- tables: 0.9.5
- text: 5.0.0
- theming: 2.6.1
- twofactor_backupcodes: 1.20.0
- updatenotification: 1.21.0
- user_status: 1.11.0
- viewer: 4.0.0
- webhook_listeners: 1.2.0
- workflowengine: 2.13.0
Disabled:
- admin_audit: 1.21.0
- deck: 1.15.2 (installed 1.15.2)
- encryption: 2.19.0
- end_to_end_encryption: 1.17.0 (installed 1.17.0)
- epubreader: 1.4.7
- files_external: 1.23.0
- notes: 4.12.3 (installed 4.12.3)
- pdfdraw: 0.1.2
- twofactor_nextcloud_notification: 5.0.0
- twofactor_totp: 13.0.0-dev.0
- user_ldap: 1.22.0
- weather_status: 1.11.0 (installed 1.9.0)
- workflow_script: 2.0.0 (installed 2.0.0)