Unraid AIO install - Unable to open office documents in Collabora - socket or proxy error

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. :heart:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 31.0.9 - 31.0.9.1
  • Operating system and version (e.g., Ubuntu 24.04):
    • Linux 6.12.24-Unraid #1 SMP PREEMPT_DYNAMIC Sat May 3 00:12:52 PDT 2025 x86_64
  • Web server and version (e.g, Apache 2.4.25):
    • Apache/2.4.65 (Unix) (fpm-fcgi)
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • Apache/2.4.65 (Unix) (fpm-fcgi)
  • PHP version (e.g, 8.3):
    • 8.3.26
  • Is this the first time you’ve seen this error? (Yes / No):
    • No - has always been happening
  • When did this problem seem to first start?
    • Since first install - is now just annoying me
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • AIO container on Unraid via Community Apps
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • Yes - Cloudflare tunnel

Summary of the issue you are facing:

When opening an office document am presented with the error:

Document loading failed
Failed to establish socket connection or socket connection closed unexpectedly. The reverse proxy might be misconfigured, please contact the administrator……

I’ve reviewed URL supplied, but I’m not sure what is needed. Have also seen other posts with the same referring to WOPI allow lists. Confirming I have 0.0.0.0/0 set. (Have tried many variations)

My Collabora settings in the “Office” settings are:

Collabora Online server is reachable.

Collabora Online Development Edition 25.04.6.1 c042625181

URL used by the browser: https://www.<mydomain>.co.nz
Nextcloud URL used by Collabora: http://nextcloud-aio-apache:23973

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

  1. Open different office documents gives same error

  2. Stopping AIO Master container, removing Collabora, restarting, deleting old nextcloud-aio-collabora to clean up. Then reversing - stopping AIO, adding Collabora etc and starting again (checking WOPI has 0.0.0.0/0) gives the same settings as above and the same failure

  3. Websockets is allowed in Cloudflare domain.

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/EQtXE3B6

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.

not applicable - fails in all browsers

Web server / Reverse Proxy

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

Connection to nextcloud-aio-nextcloud (172.20.0.8) 9000 port [tcp/*] succeeded!
/usr/lib/python3.12/site-packages/supervisor/options.py:13: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  import pkg_resources
[Mon Oct 27 11:24:31.636446 2025] [mpm_event:notice] [pid 48:tid 48] AH00489: Apache/2.4.65 (Unix) configured -- resuming normal operations
[Mon Oct 27 11:24:31.636469 2025] [core:notice] [pid 48:tid 48] AH00094: Command line: '/usr/local/apache2/bin/httpd -D FOREGROUND'
{"level":"info","ts":1761517471.639544,"msg":"maxprocs: Leaving GOMAXPROCS=16: CPU quota undefined"}
{"level":"info","ts":1761517471.6396718,"msg":"GOMEMLIMIT is updated","package":"github.com/KimMachineGun/automemlimit/memlimit","GOMEMLIMIT":59597247283,"previous":9223372036854775807}
{"level":"info","ts":1761517471.6396918,"msg":"using config from file","file":"/tmp/Caddyfile"}
{"level":"info","ts":1761517471.640872,"msg":"adapted config to JSON","adapter":"caddyfile"}
{"level":"info","ts":1761517471.6453974,"msg":"serving initial configuration"}
Waiting for Nextcloud to start...
Waiting for Nextcloud to start...

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

{
    "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": "www.mydomain.co.nz",
    "overwriteprotocol": "https",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "localhost",
        "www.mydomain.co.nz"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "dbtype": "pgsql",
    "version": "31.0.9.1",
    "overwrite.cli.url": "https:\/\/www.mydomain.co.nz\/",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "maintenance": false,
    "updatedirectory": "\/nc-updater",
    "loglevel": "2",
    "app_install_overwrite": [
        "nextcloud-aio"
    ],
    "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": {
        "0": "OC\\Preview\\Imaginary",
        "1": "OC\\Preview\\MarkDown",
        "2": "OC\\Preview\\MP3",
        "3": "OC\\Preview\\TXT",
        "4": "OC\\Preview\\OpenDocument",
        "5": "OC\\Preview\\Movie",
        "6": "OC\\Preview\\Krita",
        "7": "OC\\Preview\\ImaginaryPDF",
        "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": 3600,
    "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***",
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_sendmailmode": "smtp",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpauth": true,
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpport": "587",
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
    "default_phone_region": "NZ",
    "memories.db.triggers.fcu": true,
    "memories.exiftool": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/exiftool-amd64-musl",
    "memories.vod.path": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/go-vod-amd64",
    "memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
    "memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
    "updatechecker": false,
    "DOMAIN": "www.mydomain.co.nz"
}

Apps

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

Enabled:

  • activity: 4.0.0
  • admin_audit: 1.21.0
  • bruteforcesettings: 4.0.0
  • calendar: 5.5.7
  • circles: 31.0.0
  • comments: 1.21.0
  • contacts: 7.3.4
  • contactsinteraction: 1.12.0
  • dashboard: 7.11.0
  • deck: 1.15.3
  • federation: 1.21.0
  • 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
  • logreader: 4.0.0
  • memories: 7.7.0
  • nextcloud-aio: 0.8.0
  • nextcloud_announcements: 3.0.0
  • notes: 4.12.3
  • notifications: 4.0.0
  • notify_push: 1.2.0
  • password_policy: 3.0.0
  • photos: 4.0.0
  • previewgenerator: 5.10.0
  • privacy: 3.0.0
  • recommendations: 4.0.0
  • related_resources: 2.0.0
  • richdocuments: 8.7.6
  • serverinfo: 3.0.0
  • sharebymail: 1.21.0
  • support: 3.0.0
  • survey_client: 3.0.0
  • systemtags: 1.21.1
  • tasks: 0.17.0
  • text: 5.0.0
  • twofactor_totp: 13.0.0-dev.0
  • updatenotification: 1.21.0
  • user_status: 1.11.0
  • weather_status: 1.11.0
  • webhook_listeners: 1.2.0
    Disabled:
  • app_api: 5.0.2
  • encryption
  • files_external
  • suspicious_login
  • twofactor_nextcloud_notification
  • user_ldap

Tips for increasing the likelihood of a response

  • Use the preformatted text formatting option in the editor for all log entries and configuration output.
  • If screenshots are useful, feel free to include them.
    • If possible, also include key error output in text form so it can be searched for.
  • Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.

Hi, can you follow How to debug problems with Collabora and/or Talk · nextcloud/all-in-one · Discussion #1358 · GitHub?

Hi, Thanks for your reply.
Confirming:

#1 my domain is not in any local hosts files. All name resolution appears correct and loops out to Cloudflare as expected.

#2 Have tried many variants of the WOPI settings (blank, 0.0.0.0/0, named Cloudflare ranges etc.

#3 Output of discovery dump can be found here: 0000: acti12:35:59.310882 [0-0] == Info: [WRITE] [OUT] wrote 4 body bytes -> 4 - Pastebin.com

I hope that helps?

Kind Regards,

Rubber..

I’m still trying to find the culprit. I can tell you ChatGPT is useless and actually causes harm, but it has allowed me to see and confirm this in the boot logs.

https://192.168.0.5:7282/api/docker/logs?id=nextcloud-aio-nextcloud

2025-10-27T03:38:04.639966071Z Config value were not updated
2025-10-27T03:38:04.648821118Z + echo nextcloud-aio-collabora
2025-10-27T03:38:04.648839129Z + grep -q ‘nextcloud-.*-collabora’
2025-10-27T03:38:04.649385408Z + COLLABORA_HOST=www.mydomain.co.nz
2025-10-27T03:38:04.649394606Z + set +x
2025-10-27T03:38:05.184972378Z richdocuments is up-to-date or no updates could be found
2025-10-27T03:38:05.471671718Z Config value ‘wopi_url’ for app ‘richdocuments’ is now set to ‘https://www.mydomain.co.nz/’, stored as mixed in fast cache
2025-10-27T03:38:09.762413826Z Warning: No IPv4 address found for www.mydomain.co.nz.
2025-10-27T03:38:10.024688287Z Config value ‘wopi_allowlist’ for app ‘richdocuments’ is now set to ‘0.0.0.0/0,2606:4700:3031::ac43:bb30,127.0.0.1/8,192.168.0.0/16,172.16.0.0/12,10.0.0.0/8,fd00::/8,::1’, stored as mixed in fast cache

To my untrained eye, all that looks normal except for the “Warning: No IPv4 address found…” error.

Is this a red herring?

Hi,

Just bumping this back up as it is still ongoing. I’ve been reading ALOT of documentation and my head is swimming and I’m going in circles.

As far as I can tell this “should be working”, although obviously isn’t.

Everything says it is online. My WOPI allow list is set. I’m not doing crazy things with name resolution. I’ve got a vanilla AIO install and my desire is to be able to hit Collabora natively from my primary domain name.

I’ve read a good portion of the Collabora documentation and note the triangle of connections (client/Nextcloud/Collabora) but still don’t understand how this applies to AIO

My “Office” settings say this (generated by the AIO wizard):

Collabora Online server is reachable.
Collabora Online Development Edition 25.04.6.1 c042625181
URL used by the browser: https://www.mydomain.co.nz
Nextcloud URL used by Collabora: http://nextcloud-aio-apache:23973

I’ll never be able to communicate with that internal link from my client and nor it with I, which is the whole proxy/sockets error right?

There’s something obvious missing, but I’m dammed if I can find it.

Cheers

Rubber.

Hi - I just wanted to add to this that I am experiencing essentially the same as what is being described, with a couple small changes to my configuration (i.e. using NPM for reverse proxy). Basically, no matter what I have tried (including adding 0.0.0.0/0 and cloudflare ip’s to wopi list, restarting aio containers, removing the aio-collabora and re-installing from the AIO interface, etc), just like @RubberChicken I am unable to edit documents within my Nextcloud instance. Nextcloud reports that it is able to reach the collabora server, and for reference when I go to nextcloud.mydomain.com/hosting/discovery it returns an XML.

Here is my configuration info:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):

    • 31.0.10 (AIO version 11.10.0)
  • Operating system and version (e.g., Ubuntu 24.04):

    • Linux nextcloud-aio-nextcloud 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64 GNU/Linux
  • Web server and version (e.g, Apache 2.4.25):

    • Apache/2.4.65 (Unix)
  • Reverse proxy and version _(e.g. nginx 1.27.2)

    • Nginx Proxy Manager v2.12.6
  • PHP version (e.g, 8.3):

    • 8.3.26
  • Is this the first time you’ve seen this error? (Yes / No):

    • Yes
  • When did this problem seem to first start?

    • Since the install - a couple days.
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)

    • AIO container on OMV 7.17, Docker compose
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)

    • Using cloudflare for DNS only, configured reverse proxy through Nginx Proxy Manager

Summary of the issue you are facing:

Same issues as @RubberChicken . Occassionally when trying to edit a document, I get a “Nextcloud Office Connecting” Spinning wheel, with a progress bar that hangs at 0% before going to the error screen “Document Loading Failed: Failed to establish socket connection or socket connection closed unexpectedly….”etc”

Admin settings > Office reports:

Collabora Online server is reachable.

Collabora Online Development Edition 25.04.6.1 c042625181

URL used by the browser: https://nextcloud.mydomain.com
Nextcloud URL used by Collabora: http://nextcloud-aio-apache:23973

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

  1. Opening any document gives the same errors, sometimes with a loading bar showing, often without.

  2. Attempting to open office documents on the mobile app results in same errors

  3. Browsing to https://nextcloud.mydomain/hosting/discovery returns an XML output

  4. Websockets is enabled in my NPM, which points my domain (from cloudflare DNS to my public IP, not proxied on CF side but DNS only) to the gateway address of my nextcloud instance, in this case 172.18.0.1:11000.

  5. In addition to adding 0.0.0.0/0 and all of cloudflare IPv4 and IPv6 addresses to the WOPI list, I have also attempted removing collabora from the list of provided containers in the nextcloud aio interface, and then starting the collabora server separately and using a separate subdomain for this, but that also did not work.

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.

[richdocuments] Debug: Loaded WOPI Token record: {"id":387,"owner_uid":"user","editor_uid":"user","guest_displayname":null,"fileid":7119,"version":0,"canwrite":true,"server_host":"https://nextcloud.mydomain.com/","token":"REPLACED_SENSATIVE_DATA","expiry":1761712955,"template_destination":null,"template_id":0,"hide_download":false,"direct":false,"remote_server":"","remote_server_token":"","share":null,"token_type":0}.
	GET /index.php/apps/richdocuments/wopi/files/7119_abcdefg1234/contents?access_token=REPLACED_SENSATIVE_DATA&access_token_ttl=0
	from 127.0.0.1 by -- at Oct 28, 2025, 1:42:36 PM



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.


not applicable - fails in all browsers
Also fails in mobile application. 

Web server / Reverse Proxy

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

2025-10-28T17:37:49.120843228Z Waiting for Nextcloud to start...
2025-10-28T17:37:54.122979360Z Waiting for Nextcloud to start...
2025-10-28T17:37:59.124829382Z Waiting for Nextcloud to start...
2025-10-28T17:38:04.126722595Z Waiting for Nextcloud to start...
2025-10-28T17:38:09.128645781Z Waiting for Nextcloud to start...
2025-10-28T17:38:14.132913845Z Connection to nextcloud-aio-nextcloud (172.18.0.10) 9000 port [tcp/*] succeeded!
2025-10-28T17:38:14.402739724Z /usr/lib/python3.12/site-packages/supervisor/options.py:13: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
2025-10-28T17:38:14.402757331Z   import pkg_resources
2025-10-28T17:38:15.468240383Z [Tue Oct 28 17:38:15.467818 2025] [mpm_event:notice] [pid 44:tid 44] AH00489: Apache/2.4.65 (Unix) configured -- resuming normal operations
2025-10-28T17:38:15.468418828Z [Tue Oct 28 17:38:15.468301 2025] [core:notice] [pid 44:tid 44] AH00094: Command line: '/usr/local/apache2/bin/httpd -D FOREGROUND'
2025-10-28T17:38:15.484787453Z {"level":"info","ts":1761673095.4844851,"msg":"maxprocs: Leaving GOMAXPROCS=6: CPU quota undefined"}
2025-10-28T17:38:15.484848524Z {"level":"info","ts":1761673095.4846952,"msg":"GOMEMLIMIT is updated","package":"github.com/KimMachineGun/automemlimit/memlimit","GOMEMLIMIT":22468626432,"previous":9223372036854775807}




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": "nextcloud.mydomain.us",
        "overwriteprotocol": "https",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "nextcloud.mydomain.us"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "31.0.10.2",
        "overwrite.cli.url": "https:\/\/nextcloud.mydomain.us\/",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "updatechecker": false,
        "updatedirectory": "\/nc-updater",
        "loglevel": 0,
        "one-click-instance.link": "https:\/\/nextcloud.com\/all-in-one\/",
        "upgrade.cli-upgrade-link": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/2726",
        "logfile": "\/var\/www\/html\/data\/nextcloud.log",
        "maintenance_window_start": 100,
        "allow_local_remote_servers": true,
        "davstorage.request_timeout": 3600,
        "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": true,
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "enabledPreviewProviders": {
            "0": "OC\\Preview\\Imaginary",
            "23": "OC\\Preview\\ImaginaryPDF"
        },
        "preview_imaginary_url": "***REMOVED SENSITIVE VALUE***",
        "preview_imaginary_key": "***REMOVED SENSITIVE VALUE***",
        "defaultapp": "dashboard",
        "DOMAIN": "nextcloud.mydomain.us"
    }
}


Apps

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

Enabled:

  • activity: 4.0.0
  • bruteforcesettings: 4.0.0
  • calendar: 5.5.7
  • circles: 31.0.0
  • cloud_federation_api: 1.14.0
  • comments: 1.21.0
  • contactsinteraction: 1.12.1
  • cookbook: 0.11.4
  • dashboard: 7.11.0
  • dav: 1.33.0
  • epubviewer: 1.8.1
  • event_update_notification: 2.7.0
  • federatedfilesharing: 1.21.0
  • federation: 1.21.0
  • files: 2.3.1
  • files_downloadlimit: 4.0.0
  • files_external: 1.23.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
  • guests: 4.6.0
  • integration_google: 4.2.0
  • logreader: 4.0.0
  • lookup_server_connector: 1.19.0
  • nextcloud-aio: 0.8.0
  • nextcloud_announcements: 3.0.0
  • notes: 4.12.3
  • notifications: 4.0.0
  • notify_push: 1.2.0
  • oauth2: 1.19.1
  • ownershiptransfer: 1.3.0
  • password_policy: 3.0.0
  • photos: 4.0.0
  • privacy: 3.0.0
  • profile: 1.0.0
  • provisioning_api: 1.21.0
  • recommendations: 4.0.0
  • related_resources: 2.0.0
  • richdocuments: 8.7.6
  • serverinfo: 3.0.0
  • settings: 1.14.0
  • sharebymail: 1.21.0
  • spreed: 21.1.5
  • support: 3.0.0
  • survey_client: 3.0.0
  • systemtags: 1.21.1
  • tasks: 0.17.0
  • text: 5.0.2
  • theming: 2.6.1
  • twofactor_backupcodes: 1.20.0
  • updatenotification: 1.21.0
  • user_status: 1.11.0
  • viewer: 4.0.0
  • weather_status: 1.11.0
  • webhook_listeners: 1.2.0
  • whiteboard: 1.4.0
  • workflowengine: 2.13.0
    Disabled:
  • admin_audit: 1.21.0
  • app_api: 5.0.2 (installed 5.0.2)
  • encryption: 2.19.0
  • files_fulltextsearch: 31.0.0 (installed 31.0.0)
  • fulltextsearch: 31.0.0 (installed 31.0.0)
  • suspicious_login: 9.0.1
  • twofactor_nextcloud_notification: 5.0.0
  • twofactor_totp: 13.0.0-dev.0
  • user_ldap: 1.22.0

That’s one piece of validation I was after - you have the same as me, thus is likely to be a correct setting.

(Admittedly older) installation guides had that being the same as my primary URL. I tried that and failed immediately so quickly rolled back.

Still doesn’t help fix it though. :grinning_face:

Hi again. I just wanted to give an update because I found a solution, and it seems likely that it will solve it for @RubberChicken as well. On my server it seems that the root cause was hairpin NAT; the AIO containers could not reach the external domain from inside docker, and attempting to change the settings in Admin > Office to the external domain won’t work since the mastercontainer seems to enforce the routing through the aio-apache container. At any rate, here is the fix (for me):

  • Edit /etc/hosts on the host machine to point your localhost IP to your nextcloud domain
    • echo "192.168.X.X ``nextcloud.yourdomain.com``" | sudo tee -a /etc/hosts
    • You can verify that it was added with tail -2 /etc/hosts
  • After adding the entry, restart docker
    • sudo systemctl restart docker
  • After restarting docker, which will ofc also restart all your containers, you can test the fix by running a curl from your collabora container to your nextcloud domain status.php. It should return the JSON status quickly:

Hope that fixes it for you. An alternative solution could also be to set a router-level DNS pointing your nextcloud hostname to your server IP using pi-hole or similar, if you have that set up.

Gidday @zbresler. Am very glad you got yours working, and really appreciate the time you took to write it up. I can tell you I tried and I successfully failed! So no improvement - still not working. But sharing here to help others.

I was able to resolve my domain already, but figured it was worth trying it. Either expose new clues or confirm areas are not the issue.

Before - CloudFlare DNS + CloudFlared Tunnel

root@Tower:~# docker exec nextcloud-aio-collabora curl -v -m 5 https://www.mydomain.co.nz/status.php
Host www.mydomain.co.nz:443 was resolved.

  • IPv4: 172.67.187.48, 104.21.64.171 ## external CloudFlare addressing

  • Trying 172.67.187.48:443

  • Connected to www.mydomain.co.nz (172.67.187.48) port 443

  • using HTTP/2

GET /status.php HTTP/2
Host: www.mydomain.co.nz
User-Agent: curl/8.14.1
Accept: /

{ [5 bytes data]
100 170 0 170 0 0 2920 0 --:–:-- --:–:-- --:–:-- 2931

  • Connection #0 to host www.mydomain.co.nz left intact
    {“installed”:true,“maintenance”:false,“needsDbUpgrade”:false,“version”:“31.0.9.1”,“versionstring”:“31.0.9”,“edition”:“”,“productname”:“Nextcloud”,“extendedSupport”:false}root@Tower:~#

note - snipped out chaff to simplify

After - Local DNS resolver

root@Tower:~# docker exec nextcloud-aio-collabora curl -v -m 5 https://www.mydomain.co.nz/status.php

  • Host www.mydomain.co.nz:443 was resolved.

  • IPv4: 192.168.0.5

  • Trying 192.168.0.5:443

  • SSL certificate problem: self-signed certificate
    0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0

  • closing connection #0
    curl: (60) SSL certificate problem: self-signed certificate
    More details here: curl - SSL CA Certificates

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the webpage mentioned above.
root@Tower:~#
‘’’

I tried the “Disable certificate verification (insecure)” option as well, but no change.

Also, my “Overview > Security & setup warnings” went mental, complaining about all sorts of issues.

I have rolled back and removed my local DNS resolver.

My setup warnings have gone, but my core problem remains.