Hi Al,
last week I finished the installation of the AIO image. Everything seems to be fine but after switching from OnlyOffice to Nextcloud Office editing office files is not working…
My setup:
Real domain and a official public IP
2 Pi’s running Docker:
- 1 is running the NPM container (192.168.0.10)
services:
proxy:
hostname: proxy
image: jc21/nginx-proxy-manager:latest
restart: unless-stopped
ports:
- 8080:80 # forwarded in router
- 8081:81 # not exposed externally
- 8443:443 # forwarded in router
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
networks:
- npm-net
networks:
npm-net:
driver: bridge
other pi is running nextcloud (192.168.0.11) :
services:
nextcloud-aio-mastercontainer:
image: nextcloud/all-in-one:latest
init: true
restart: always
container_name: nextcloud-aio-mastercontainer
volumes:
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config
- //var/run/docker.sock:/var/run/docker.sock:ro
ports:
- 8383:8080
environment:
- NEXTCLOUD_DATADIR=/mnt/nextcloud/data
- SKIP_DOMAIN_VALIDATION=false
- APACHE_PORT=11000
- APACHE_IP_BINDING=0.0.0.0
- NEXTCLOUD_UPLOAD_LIMIT=20G
- NEXTCLOUD_MAX_TIME=3000
- NEXTCLOUD_MEMORY_LIMIT=2024M
volumes:
nextcloud_aio_mastercontainer:
name: nextcloud_aio_mastercontainer
networks: {}
NPM settings for the nextcloud environment:
I also tried adding 0.0.0.0/0 to the “WOPI request allow list” but no luck…:
The Basics
- Nextcloud Server version (e.g., 29.x.x):
33.0.0
- Operating system and version (e.g., Ubuntu 24.04):
Docker on Debian Trixie arch64
- Web server and version (e.g, Apache 2.4.25):
Apache that came with the AIO stack
- Reverse proxy and version _(e.g. nginx 1.27.2)
nginx (Nginx Proxy manager v2.14.0)
- PHP version (e.g, 8.3):
8.3.30
- Is this the first time you’ve seen this error? (Yes / No):
Yes
- When did this problem seem to first start?
after switching from Only Office to Nextcloud Office
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
AIO
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
no
Summary of the issue you are facing:
When opening a newly created “something.docx“ file I get this error:
Document loading failed
Failed to load Nextcloud Office - please try again later
After some refreshes I get this error:
Document loading failed
Failed to establish socket connection or socket connection closed unexpectedly. The reverse proxy might be misconfigured, please contact the administrator. For more info on proxy configuration please checkout Making sure you're not a bot!
Steps to replicate it (hint: details matter!):
-
Install using the AIO image
-
follow these npm instruction
-
create new office document and open it
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.
The only thing that pops up when i clean my log and “retrigger” my issue is this singe message:
{"reqId":"HrMBIfKI6ER7mosUElEs","level":0,"time":"2026-03-01T13:57:18+00:00","remoteAddr":"","user":"--","app":"admin_audit","method":"","url":"--","scriptName":"/var/www/html/occ","message":"The loading of lazy AppConfig values have been triggered by app \"admin_audit\"","userAgent":"--","version":"33.0.0.16","occ_command":["/var/www/html/occ","config:app:set"],"exception":{"Exception":"RuntimeException","Message":"The loading of lazy AppConfig values have been triggered by app \"admin_audit\"","Code":0,"Trace":[{"file":"/var/www/html/lib/private/AppConfig.php","line":564,"function":"loadConfig","class":"OC\\AppConfig","type":"->","args":["admin_audit",true]},{"file":"/var/www/html/core/Command/Config/App/SetConfig.php","line":130,"function":"getValueType","class":"OC\\AppConfig","type":"->","args":["admin_audit","logfile"]},{"file":"/var/www/html/3rdparty/symfony/console/Command/Command.php","line":326,"function":"execute","class":"OC\\Core\\Command\\Config\\App\\SetConfig","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/core/Command/Base.php","line":220,"function":"run","class":"Symfony\\Component\\Console\\Command\\Command","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/3rdparty/symfony/console/Application.php","line":1078,"function":"run","class":"OC\\Core\\Command\\Base","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/3rdparty/symfony/console/Application.php","line":324,"function":"doRunCommand","class":"Symfony\\Component\\Console\\Application","type":"->","args":[{"__class__":"OC\\Core\\Command\\Config\\App\\SetConfig"},{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/3rdparty/symfony/console/Application.php","line":175,"function":"doRun","class":"Symfony\\Component\\Console\\Application","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/lib/private/Console/Application.php","line":187,"function":"run","class":"Symfony\\Component\\Console\\Application","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/console.php","line":92,"function":"run","class":"OC\\Console\\Application","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"}]},{"file":"/var/www/html/occ","line":33,"args":["/var/www/html/console.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/AppConfig.php","Line":1327,"message":"The loading of lazy AppConfig values have been triggered by app \"admin_audit\"","exception":"{\"class\":\"RuntimeException\",\"message\":\"The loading of lazy AppConfig values have been triggered by app \\\"admin_audit\\\"\",\"code\":0,\"file\":\"/var/www/html/lib/private/AppConfig.php:1327\",\"trace\":\"#0 /var/www/html/lib/private/AppConfig.php(564): OC\\AppConfig->loadConfig('admin_audit', true)\\n#1 /var/www/html/core/Command/Config/App/SetConfig.php(130): OC\\AppConfig->getValueType('admin_audit', 'logfile')\\n#2 /var/www/html/3rdparty/symfony/console/Command/Command.php(326): OC\\Core\\Command\\Config\\App\\SetConfig->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\\n#3 /var/www/html/core/Command/Base.php(220): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\\n#4 /var/www/html/3rdparty/symfony/console/Application.php(1078): OC\\Core\\Command\\Base->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\\n#5 /var/www/html/3rdparty/symfony/console/Application.php(324): Symfony\\Component\\Console\\Application->doRunCommand(Object(OC\\Core\\Command\\Config\\App\\SetConfig), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\\n#6 /var/www/html/3rdparty/symfony/console/Application.php(175): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\\n#7 /var/www/html/lib/private/Console/Application.php(187): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\\n#8 /var/www/html/console.php(92): OC\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput))\\n#9 /var/www/html/occ(33): require_once('/var/www/html/c...')\\n#10 {main}\"}","CustomMessage":"The loading of lazy AppConfig values have been triggered by app \"admin_audit\""},"id":"69a44c56d1e19"}
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.
Web server / Reverse Proxy
The output of your Apache/nginx/system log in /var/log/____:
If I delete the logfile and retrigger my issue no new logfile is created bij NPM…
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": {
"one-click-instance": true,
"one-click-instance.user-limit": 100,
"memcache.local": "\\OC\\Memcache\\APCu",
"apps_paths": [
{
"path": "\/var\/www\/html\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/www\/html\/custom_apps",
"url": "\/custom_apps",
"writable": true
}
],
"check_data_directory_permissions": false,
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"password": "***REMOVED SENSITIVE VALUE***",
"port": 6379
},
"overwritehost": "<sup.domain.tld>",
"overwriteprotocol": "https",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"localhost",
"<sup.domain.tld>"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "pgsql",
"version": "33.0.0.16",
"overwrite.cli.url": "https:\/\/<sup.domain.tld>\/",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"maintenance": false,
"updatechecker": true,
"updatedirectory": "\/nc-updater",
"loglevel": 2,
"app_install_overwrite": [
"nextcloud-aio",
"memories",
"breezedark"
],
"log_type": "file",
"logfile": "\/var\/www\/html\/data\/nextcloud.log",
"log_rotate_size": 10485760,
"log.condition": {
"apps": [
"admin_audit"
]
},
"preview_max_x": 2048,
"preview_max_y": 2048,
"jpeg_quality": 60,
"enabledPreviewProviders": {
"1": "OC\\Preview\\Image",
"2": "OC\\Preview\\MarkDown",
"3": "OC\\Preview\\MP3",
"4": "OC\\Preview\\TXT",
"5": "OC\\Preview\\OpenDocument",
"6": "OC\\Preview\\Movie",
"7": "OC\\Preview\\Krita",
"0": "OC\\Preview\\Imaginary",
"23": "OC\\Preview\\ImaginaryPDF"
},
"enable_previews": true,
"upgrade.disable-web": true,
"mail_smtpmode": "smtp",
"trashbin_retention_obligation": "auto, 30",
"versions_retention_obligation": "auto, 30",
"activity_expire_days": 30,
"simpleSignUpLink.shown": false,
"share_folder": "\/Shared",
"one-click-instance.link": "https:\/\/nextcloud.com\/all-in-one\/",
"upgrade.cli-upgrade-link": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/2726",
"maintenance_window_start": 100,
"allow_local_remote_servers": true,
"davstorage.request_timeout": 3000,
"documentation_url.server_logs": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/5425",
"htaccess.RewriteBase": "\/",
"dbpersistent": false,
"auth.bruteforce.protection.enabled": true,
"ratelimit.protection.enabled": true,
"files_external_allow_create_new_local": false,
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"preview_imaginary_url": "***REMOVED SENSITIVE VALUE***",
"preview_imaginary_key": "***REMOVED SENSITIVE VALUE***",
"onlyoffice": {
"editors_check_interval": 0,
"jwt_secret": "***REMOVED SENSITIVE VALUE***",
"jwt_header": "AuthorizationJwt"
},
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpauth": true,
"mail_smtpport": "465",
"mail_sendmailmode": "smtp",
"mail_smtpstreamoptions": {
"ssl": {
"allow_self_signed": false,
"verify_peer": true,
"verify_peer_name": true
}
},
"memories.db.triggers.fcu": true,
"memories.exiftool": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/exiftool-aarch64-musl",
"memories.vod.path": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/go-vod-aarch64",
"memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
"memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
"DOMAIN": "<sup.domain.tld>",
"AIO_VERSION": "v12.7.0"
}
}
Apps
The output of occ app:list (if possible).
docker exec --user www-data -it nextcloud-aio-nextcloud php occ app:list
Enabled:
- activity: 6.0.0-dev.0
- admin_audit: 1.23.0
- breezedark: 29.0.0
- bruteforcesettings: 6.0.0-dev.0
- calendar: 6.2.1
- circles: 33.0.0
- cloud_federation_api: 1.17.0
- comments: 1.23.0
- contacts: 8.4.0
- contactsinteraction: 1.14.1
- dashboard: 7.13.0
- dav: 1.36.0
- deck: 1.17.0
- drawio: 4.0.1
- federatedfilesharing: 1.23.0
- federation: 1.23.0
- files: 2.5.0
- files_downloadlimit: 5.1.0-dev.0
- files_fulltextsearch: 33.0.0
- files_pdfviewer: 6.0.0-dev.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-dev.0
- fulltextsearch: 33.0.0
- fulltextsearch_elasticsearch: 33.0.0
- logcleaner: 1.3.1
- logreader: 6.0.0
- lookup_server_connector: 1.21.0
- memories: 7.8.2
- nextcloud-aio: 0.8.0
- nextcloud_announcements: 5.0.0
- notes: 4.13.0
- notifications: 6.0.0
- notify_push: 1.3.0
- oauth2: 1.21.0
- password_policy: 5.0.0-dev.0
- photos: 6.0.0-dev.0
- privacy: 5.0.0-dev.0
- profile: 1.2.0
- provisioning_api: 1.23.0
- recommendations: 6.0.0-dev.0
- related_resources: 4.0.0-dev.0
- richdocuments: 10.1.0
- serverinfo: 5.0.0-dev.0
- settings: 1.16.0
- sharebymail: 1.23.0
- support: 5.0.0
- survey_client: 5.0.0-dev.0
- systemtags: 1.23.0
- tasks: 0.17.1
- text: 7.0.0-dev.3
- theming: 2.8.0
- twofactor_backupcodes: 1.22.0
- twofactor_totp: 15.0.0-dev.0
- updatenotification: 1.23.0
- user_status: 1.13.0
- viewer: 6.0.0-dev.0
- weather_status: 1.13.0
- webhook_listeners: 1.5.0
- whiteboard: 1.5.7
- workflowengine: 2.15.0
Disabled:
- app_api: 33.0.0 (installed 33.0.0)
- encryption: 2.21.0
- files_antivirus: 6.1.0
- files_external: 1.25.1
- suspicious_login: 11.0.0-dev.0
- twofactor_nextcloud_notification: 7.0.0
- user_ldap: 1.24.0
Hope someone can help, I really looking forward to try Nextcloud office




