Nextcloud Office only works when the nextcloud-aio-mastercontainer is stopped

Nextcloud version: 24.0.6
Operating system and version: Debian 5.10
Apache or nginx version: Apache 2.4.54
PHP version: 8.0.25

The issue you are facing: I recently installed Nextcloud via the docker all-in-one method. I followed the guide for a reverse proxy setup found here. I used Caddy (not as a docker container), which was recommended. Everything is working for the most part, except for Nextcloud Office/Collabora.

Any time I try to open a document it times out and gives the following error: “Failed to load Nextcloud Office - Please try again later”. In the Nextcloud Office section in the Admin settings, it says that it can’t reach the Collabora container.

Strangely enough, if I stop the master container via docker, everything works fine. I can open files and the Collabora server is reachable. However as soon as I start the master container again, Collabora breaks. This happens every time.

Is this the first time you’ve seen this error: Y

Steps to replicate it:

  1. Install Nextcloud all in one via docker
  2. See that Nextcloud Office is not working?

The output of your Nextcloud log in Admin > Logging:

[richdocuments] Error: GuzzleHttp\Exception\ConnectException: cURL error 7: Failed to connect to [REDACTED DOMAIN] port 443 after 0 ms: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for [REDACTED DOMAIN]/hosting/discovery at <<closure>>

 0. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php line 158
    GuzzleHttp\Handler\CurlFactory::createRejection(GuzzleHttp\Handl ... l}, [7,"Failed to co ... "])
 1. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php line 110
    GuzzleHttp\Handler\CurlFactory::finishError(GuzzleHttp\Handler\CurlHandler {}, GuzzleHttp\Handl ... l}, GuzzleHttp\Handler\CurlFactory {})
 2. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlHandler.php line 47
    GuzzleHttp\Handler\CurlFactory::finish(GuzzleHttp\Handler\CurlHandler {}, GuzzleHttp\Handl ... l}, GuzzleHttp\Handler\CurlFactory {})
 3. /var/www/html/lib/private/Http/Client/DnsPinMiddleware.php line 113
    GuzzleHttp\Handler\CurlHandler->__invoke("*** sensitive parameters replaced ***", "*** sensitive parameters replaced ***")
 4. /var/www/html/3rdparty/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php line 35
    OC\Http\Client\DnsPinMiddleware->OC\Http\Client\{closure}("*** sensitive parameters replaced ***")
 5. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Middleware.php line 31
    GuzzleHttp\PrepareBodyMiddleware->__invoke("*** sensitive parameters replaced ***", "*** sensitive parameters replaced ***")
 6. /var/www/html/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php line 71
    GuzzleHttp\Middleware::GuzzleHttp\{closure}("*** sensitive parameters replaced ***")
 7. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Middleware.php line 63
    GuzzleHttp\RedirectMiddleware->__invoke("*** sensitive parameters replaced ***", "*** sensitive parameters replaced ***")
 8. /var/www/html/3rdparty/guzzlehttp/guzzle/src/HandlerStack.php line 75
    GuzzleHttp\Middleware::GuzzleHttp\{closure}("*** sensitive parameters replaced ***")
 9. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php line 331
    GuzzleHttp\HandlerStack->__invoke("*** sensitive parameters replaced ***", "*** sensitive parameters replaced ***")
10. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php line 168
    GuzzleHttp\Client->transfer("*** sensitive parameters replaced ***", "*** sensitive parameters replaced ***")
11. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php line 187
    GuzzleHttp\Client->requestAsync("get", GuzzleHttp\Psr7\Uri {}, ["/mnt/ncdata/fi ... "])
12. /var/www/html/lib/private/Http/Client/Client.php line 218
    GuzzleHttp\Client->request("get", "[REDACTED PARTIAL URL]", ["/mnt/ncdata/fi ... e])
13. /var/www/html/custom_apps/richdocuments/lib/WOPI/DiscoveryManager.php line 84
    OC\Http\Client\Client->get("[REDACTED PARTIAL URL]", [45,[true]])
14. /var/www/html/custom_apps/richdocuments/lib/WOPI/DiscoveryManager.php line 56
    OCA\Richdocuments\WOPI\DiscoveryManager->fetchFromRemote()
15. /var/www/html/custom_apps/richdocuments/lib/WOPI/Parser.php line 41
    OCA\Richdocuments\WOPI\DiscoveryManager->get()
16. /var/www/html/custom_apps/richdocuments/lib/TokenManager.php line 232
    OCA\Richdocuments\WOPI\Parser->getUrlSrc("application/vnd ... t")
17. /var/www/html/custom_apps/richdocuments/lib/Controller/DocumentController.php line 174
    OCA\Richdocuments\TokenManager->getToken("*** sensitive parameters replaced ***")
18. /var/www/html/lib/private/AppFramework/Http/Dispatcher.php line 225
    OCA\Richdocuments\Controller\DocumentController->index("*** sensitive parameters replaced ***", "/Documents/Welc ... x")
19. /var/www/html/lib/private/AppFramework/Http/Dispatcher.php line 133
    OC\AppFramework\Http\Dispatcher->executeController(OCA\Richdocument ... {}, "index")
20. /var/www/html/lib/private/AppFramework/App.php line 172
    OC\AppFramework\Http\Dispatcher->dispatch(OCA\Richdocument ... {}, "index")
21. /var/www/html/lib/private/Route/Router.php line 298
    OC\AppFramework\App::main("OCA\\Richdocume ... r", "index", OC\AppFramework\ ... {}, ["richdocuments.document.index"])
22. /var/www/html/lib/base.php line 1030
    OC\Route\Router->match("/apps/richdocuments/index")
23. /var/www/html/index.php line 36
    OC::handleRequest()

GET /apps/richdocuments/index?fileId=235&requesttoken=[REDACTED]&path=%2FDocuments%2FWelcome%20to%20Nextcloud%20Hub.docx
from [REDACTED IP] by [REDACTED NAME] at 2022-11-04T10:06:24+00:00

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'apps_paths' =>
  array (
    0 =>
    array (
      'path' => '/var/www/html/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 =>
    array (
      'path' => '/var/www/html/custom_apps',
      'url' => '/custom_apps',
      'writable' => true,
    ),
  ),
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => 'nextcloud-aio-redis',
    'password' => '[REDACTED]',
    'port' => 6379,
  ),
  'overwritehost' => '[REDACTED]',
  'overwriteprotocol' => 'https',
  'default_phone_region' => 'nl',
  'passwordsalt' => '[REDACTED]',
  'secret' => '[REDACTED]',
  'trusted_domains' =>
  array (
    0 => 'localhost',
    1 => '[REDACTED]',
  ),
  'datadirectory' => '/mnt/ncdata',
  'dbtype' => 'pgsql',
  'version' => '24.0.6.1',
  'overwrite.cli.url' => '[REDACTED]',
  'dbname' => 'nextcloud_database',
  'dbhost' => 'nextcloud-aio-database',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => '[REDACTED]',
  'dbpassword' => '[REDACTED]',
  'installed' => true,
  'instanceid' => '[REDACTED]',
  'loglevel' => '2',
  'log_type' => 'file',
  'logfile' => '/var/www/html/data/nextcloud.log',
  'log_rotate_size' => '10485760',
  'log.condition' =>
  array (
    'apps' =>
    array (
      0 => 'admin_audit',
    ),
  ),
  'preview_max_x' => '2048',
  'preview_max_y' => '2048',
  'jpeg_quality' => '60',
  'enabledPreviewProviders' =>
  array (
    1 => 'OC\\Preview\\Image',
    2 => 'OC\\Preview\\MarkDown',
    3 => 'OC\\Preview\\MP3',
    4 => 'OC\\Preview\\TXT',
    5 => 'OC\\Preview\\OpenDocument',
    6 => 'OC\\Preview\\Movie',
  ),
  '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',
  'tempdirectory' => '/mnt/ncdata/tmp/',
  'one-click-instance' => true,
  'one-click-instance.user-limit' => 100,
  'htaccess.RewriteBase' => '/',
  'files_external_allow_create_new_local' => false,
  'trusted_proxies' =>
  array (
    0 => '127.0.0.1',
    1 => '::1',
  ),
  'allow_local_remote_servers' => true,
  'mail_sendmailmode' => 'smtp',
  'mail_from_address' => '[REDACTED]',
  'mail_domain' => '[REDACTED]',
  'mail_smtphost' => '[REDACTED]',
  'mail_smtpport' => '25',
  'twofactor_enforced' => 'true',
  'twofactor_enforced_groups' =>
  array (
  ),
  'twofactor_enforced_excluded_groups' =>
  array (
  ),
  'maintenance' => false,
  'data-fingerprint' => '[REDACTED]',
  'one-click-instance.link' => 'https://nextcloud.com/all-in-one/',
);

The output of your Apache log in /var/log/apache2/access.log (inside the nextcloud-aio-apache container):

127.0.0.1 - - [04/Nov/2022:11:35:53 +0100] "POST /apps/text/session/sync HTTP/1.1" 200 1015 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
127.0.0.1 - - [04/Nov/2022:11:35:53 +0100] "GET /apps/files/ajax/getstoragestats?dir=%2FDocuments HTTP/1.1" 200 986 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
127.0.0.1 - - [04/Nov/2022:11:35:53 +0100] "POST /apps/text/session/sync HTTP/1.1" 200 1004 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
127.0.0.1 - - [04/Nov/2022:11:35:55 +0100] "POST /apps/text/session/close HTTP/1.1" 200 780 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
127.0.0.1 - - [04/Nov/2022:11:35:58 +0100] "POST /apps/text/session/sync HTTP/1.1" 200 1004 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
127.0.0.1 - - [04/Nov/2022:11:35:58 +0100] "POST /apps/text/session/sync HTTP/1.1" 200 1004 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
127.0.0.1 - - [04/Nov/2022:11:36:00 +0100] "PROPFIND /remote.php/dav/files/[REDACTED]/Documents/havelaar.docx HTTP/1.1" 207 1443 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
127.0.0.1 - - [04/Nov/2022:11:36:00 +0100] "GET /apps/richdocuments/index?fileId=1235&requesttoken=[REDACTED[&path=%2FDocuments%2Fhavelaar.docx HTTP/1.1" 200 7694 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
127.0.0.1 - - [04/Nov/2022:11:36:01 +0100] "GET /index.php/apps/photos/service-worker.js HTTP/1.1" 200 6437 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
127.0.0.1 - - [04/Nov/2022:11:36:02 +0100] "GET /index.php/apps/photos/service-worker.js HTTP/1.1" 200 6437 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
127.0.0.1 - - [04/Nov/2022:11:36:03 +0100] "POST /apps/text/session/sync HTTP/1.1" 200 1004 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
127.0.0.1 - - [04/Nov/2022:11:36:04 +0100] "POST /apps/text/session/sync HTTP/1.1" 200 1004 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
127.0.0.1 - - [04/Nov/2022:11:36:08 +0100] "POST /apps/text/session/sync HTTP/1.1" 200 1004 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
127.0.0.1 - - [04/Nov/2022:11:36:10 +0100] "POST /apps/text/session/sync HTTP/1.1" 200 1004 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
127.0.0.1 - - [04/Nov/2022:11:36:11 +0100] "HEAD / HTTP/1.1" 302 1413 "-" "curl/7.74.0"
127.0.0.1 - - [04/Nov/2022:11:36:13 +0100] "POST /apps/text/session/sync HTTP/1.1" 200 1004 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
127.0.0.1 - - [04/Nov/2022:11:36:16 +0100] "POST /apps/text/session/sync HTTP/1.1" 200 1004 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
127.0.0.1 - - [04/Nov/2022:11:36:18 +0100] "POST /apps/text/session/sync HTTP/1.1" 200 1004 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
127.0.0.1 - - [04/Nov/2022:11:36:22 +0100] "POST /apps/text/session/sync HTTP/1.1" 200 1004 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
127.0.0.1 - - [04/Nov/2022:11:36:24 +0100] "POST /apps/text/session/sync HTTP/1.1" 200 1004 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
127.0.0.1 - - [04/Nov/2022:11:36:28 +0100] "POST /apps/text/session/sync HTTP/1.1" 200 1004 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
127.0.0.1 - - [04/Nov/2022:11:36:29 +0100] "POST /apps/text/session/sync HTTP/1.1" 200 1004 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
127.0.0.1 - - [04/Nov/2022:11:36:34 +0100] "POST /apps/text/session/sync HTTP/1.1" 200 1004 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
127.0.0.1 - - [04/Nov/2022:11:36:34 +0100] "POST /apps/text/session/sync HTTP/1.1" 200 1004 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
127.0.0.1 - - [04/Nov/2022:11:36:39 +0100] "POST /apps/text/session/sync HTTP/1.1" 200 1004 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
127.0.0.1 - - [04/Nov/2022:11:36:40 +0100] "POST /apps/text/session/sync HTTP/1.1" 200 1004 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
127.0.0.1 - - [04/Nov/2022:11:36:41 +0100] "HEAD / HTTP/1.1" 302 1413 "-" "curl/7.74.0"
127.0.0.1 - - [04/Nov/2022:11:36:44 +0100] "POST /apps/text/session/sync HTTP/1.1" 200 1004 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
127.0.0.1 - - [04/Nov/2022:11:36:46 +0100] "POST /apps/text/session/sync HTTP/1.1" 200 1004 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"
127.0.0.1 - - [04/Nov/2022:11:36:49 +0100] "POST /apps/text/session/sync HTTP/1.1" 200 1004 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0"

This is indeed very strange. Never heard of that before…

Can you try to do run this command for debugging when it doesnt work and post the output here?

I just created a new Wiki article on how to debug problems like this:

Thanks for your reply. I ran both of the commands, it seems like the domain can’t be reached from inside the container. If I visit the URL in a browser, I do get output. Nextcloud Talk gives similar issues by the way (although that one does seem to work after a restart of the master container).

  • curl -vvv https://$NC_DOMAIN:443/hosting/discovery
*   Trying 172.20.0.6:443...
* connect to 172.20.0.6 port 443 failed: Connection refused
* Failed to connect to [REDACTED DOMAIN] port 443 after 0 ms: Connection refused
* Closing connection 0
curl: (7) Failed to connect to [REDACTED DOMAIN] port 443 after 0 ms: Connection refused
  • curl -vvv https://$NC_DOMAIN:443/standalone-signaling/api/v1/welcome
*   Trying 172.20.0.6:443...
* connect to 172.20.0.6 port 443 failed: Connection refused
* Failed to connect to [REDACTED DOMAIN] port 443 after 0 ms: Connection refused
* Closing connection 0
curl: (7) Failed to connect to [REDACTED DOMAIN] port 443 after 0 ms: Connection refused

So you found your problem. You need to fix your network.

But both commands run fine when the master container is stopped.

What does the command return in that case? (I probably only need the ip-address that curl connects to )

Also, can you post the docker run command or docker compose file of the mastercontainer and caddy and also the caddyfile here?

It connects to the public IP of my server.

https://$NC_DOMAIN:443/hosting/discovery
*   Trying [REDACTED IP]:443...
* Connected to [REDACTED DOMAIN] ([REDACTED IP]) port 443 (#0)
* ALPN: offers h2
* ALPN: offers http/1.1
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256
* ALPN: server accepted h2
* Server certificate:
*  subject: CN=[REDACTED DOMAIN]
*  start date: Oct 17 14:02:44 2022 GMT
*  expire date: Jan 15 14:02:43 2023 GMT
*  subjectAltName: host "[REDACTED DOMAIN]" matched cert's "[REDACTED DOMAIN]"
*  issuer: C=US; O=Let's Encrypt; CN=R3
*  SSL certificate verify ok.
* Using HTTP2, server supports multiplexing
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* h2h3 [:method: GET]
* h2h3 [:path: /hosting/discovery]
* h2h3 [:scheme: https]
* h2h3 [:authority: [REDACTED DOMAIN]]
* h2h3 [user-agent: curl/7.83.1]
* h2h3 [accept: */*]
* Using Stream ID: 1 (easy handle 0x7f8f1435c1b0)
> GET /hosting/discovery HTTP/2
> Host: [REDACTED DOMAIN]
> user-agent: curl/7.83.1
> accept: */*
> 
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* Connection state changed (MAX_CONCURRENT_STREAMS == 250)!
< HTTP/2 200 
< alt-svc: h3=":443"; ma=2592000
< content-type: text/xml
< date: Fri, 04 Nov 2022 13:30:24
< last-modified: Fri, 04 Nov 2022 13:30:24
< server: Caddy
< server: Caddy
< server: COOLWSD HTTP Server 22.05.7.2
< x-content-type-options: nosniff
< content-length: 32414
< 
<wopi-discovery>
    <net-zone name="external-http">

        <!-- Writer documents -->
        <app favIconUrl="https://[REDACTED DOMAIN]/browser/b639546/images/x-office-document.svg" name="writer">
            <action default="true" ext="sxw" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="odt" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="fodt" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <!-- Text template documents -->
            <action default="true" ext="stw" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="ott" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <!-- MS Word -->
            <action default="true" ext="doc" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="dot" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <!-- OOXML wordprocessing -->
            <action default="true" ext="docx" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="docm" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="dotx" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="dotm" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <!-- Others -->
            <action default="true" ext="wpd" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="pdb" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="hwp" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="wps" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="wri" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="lrf" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="mw" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="rtf" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="txt" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="fb2" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="cwk" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="pages" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="abw" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="602" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>

        <app name="writer-global">
            <!-- Text master documents -->
            <action default="true" ext="sxg" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="odm" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <!-- Writer master document templates -->
            <action default="true" ext="otm" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>

        <app name="writer-web">
            <action default="true" ext="oth" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>

        <!-- Calc documents -->
        <app favIconUrl="https://[REDACTED DOMAIN]/browser/b639546/images/x-office-spreadsheet.svg" name="calc">
            <action default="true" ext="sxc" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="ods" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="fods" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <!-- Spreadsheet template documents -->
            <action default="true" ext="stc" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="ots" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <!-- MS Excel -->
            <action default="true" ext="xls" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="xla" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <!-- OOXML spreadsheet -->
            <action default="true" ext="xltx" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="xltm" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="xlsx" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="xlsb" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="xlsm" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <!-- Others -->
            <action default="true" ext="dif" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="slk" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="csv" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="dbf" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="wk1" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="gnumeric" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="numbers" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>

        <!-- Impress documents -->
        <app favIconUrl="https://[REDACTED DOMAIN]/browser/b639546/images/x-office-presentation.svg" name="impress">
            <action default="true" ext="sxi" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="odp" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="fodp" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <!-- Presentation template documents -->
            <action default="true" ext="sti" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="otp" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <!-- MS PowerPoint -->
            <action default="true" ext="ppt" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="pot" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <!-- OOXML presentation -->
            <action default="true" ext="pptx" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="pptm" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="potx" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="potm" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="ppsx" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <!-- Others -->
            <action default="true" ext="cgm" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="key" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>

        <!-- Draw documents -->
        <app name="draw">
            <action default="true" ext="sxd" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="odg" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="fodg" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <!-- Drawing template documents -->
            <action default="true" ext="std" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="otg" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <!-- Others -->
            <action ext="svg" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="dxf" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="emf" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="wmf" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="cdr" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="vsd" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="vsdx" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="vss" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="pub" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="p65" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="wpg" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action default="true" ext="fh" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action ext="bmp" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action ext="png" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action ext="gif" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action ext="tiff" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action ext="jpg" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action ext="jpeg" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
            <action ext="pdf" name="view_comment" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>

        <!-- Math documents -->
        <!-- In fact Math documents are not supported at all.
             See: https://bugs.documentfoundation.org/show_bug.cgi?id=97006
        <app name="math">
            <action name="view" default="true" ext="sxm"/>
            <action name="edit" default="true" ext="odf"/>
        </app>
        -->

        <!-- Legacy MIME-type actions (compatibility) -->

        <app name="image/svg+xml">
            <action ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/vnd.ms-powerpoint">
            <action default="true" ext="" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/vnd.ms-excel">
            <action default="true" ext="" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>

        <!-- Writer documents -->
        <app name="application/vnd.sun.xml.writer">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.text">
            <action default="true" ext="" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.text-flat-xml">
            <action default="true" ext="" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>

        <!-- Calc documents -->
        <app name="application/vnd.sun.xml.calc">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.spreadsheet">
            <action default="true" ext="" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.spreadsheet-flat-xml">
            <action default="true" ext="" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>

        <!-- Impress documents -->
        <app name="application/vnd.sun.xml.impress">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.presentation">
            <action default="true" ext="" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.presentation-flat-xml">
            <action default="true" ext="" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>

        <!-- Draw documents -->
        <app name="application/vnd.sun.xml.draw">
            <action default="true" ext="" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.graphics">
            <action default="true" ext="" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.graphics-flat-xml">
            <action default="true" ext="" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>

        <!-- Chart documents -->
        <app name="application/vnd.oasis.opendocument.chart">
            <action default="true" ext="" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>

        <!-- Text master documents -->
        <app name="application/vnd.sun.xml.writer.global">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.text-master">
            <action default="true" ext="" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>

        <!-- Math documents -->
        <!-- In fact Math documents are not supported at all.
             See: https://bugs.documentfoundation.org/show_bug.cgi?id=97006
        <app name="application/vnd.sun.xml.math">
            <action name="view" default="true" ext=""/>
        </app>
        <app name="application/vnd.oasis.opendocument.formula">
            <action name="edit" default="true" ext=""/>
        </app>
        -->
        <!-- Text template documents -->
        <app name="application/vnd.sun.xml.writer.template">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.text-template">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>

        <!-- Writer master document templates -->
        <app name="application/vnd.oasis.opendocument.text-master-template">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>

        <!-- Spreadsheet template documents -->
        <app name="application/vnd.sun.xml.calc.template">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.spreadsheet-template">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>

        <!-- Presentation template documents -->
        <app name="application/vnd.sun.xml.impress.template">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.presentation-template">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>

        <!-- Drawing template documents -->
        <app name="application/vnd.sun.xml.draw.template">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.graphics-template">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>

        <!-- MS Word -->
        <app name="application/msword">
            <action default="true" ext="" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/msword">
            <action default="true" ext="" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>

        <!-- MS Excel -->
        <app name="application/vnd.ms-excel">
            <action default="true" ext="" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>

        <!-- MS PowerPoint -->
        <app name="application/vnd.ms-powerpoint">
            <action default="true" ext="" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>

        <!-- OOXML wordprocessing -->
        <app name="application/vnd.openxmlformats-officedocument.wordprocessingml.document">
            <action default="true" ext="" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/vnd.ms-word.document.macroEnabled.12">
            <action default="true" ext="" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/vnd.openxmlformats-officedocument.wordprocessingml.template">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/vnd.ms-word.template.macroEnabled.12">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>

        <!-- OOXML spreadsheet -->
        <app name="application/vnd.openxmlformats-officedocument.spreadsheetml.template">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/vnd.ms-excel.template.macroEnabled.12">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet">
            <action default="true" ext="" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/vnd.ms-excel.sheet.binary.macroEnabled.12">
            <action default="true" ext="" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/vnd.ms-excel.sheet.macroEnabled.12">
            <action default="true" ext="" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>

        <!-- OOXML presentation -->
        <app name="application/vnd.openxmlformats-officedocument.presentationml.presentation">
            <action default="true" ext="" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/vnd.ms-powerpoint.presentation.macroEnabled.12">
            <action default="true" ext="" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/vnd.openxmlformats-officedocument.presentationml.template">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/vnd.ms-powerpoint.template.macroEnabled.12">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>

        <!-- Others -->
        <app name="application/vnd.wordperfect">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/x-aportisdoc">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/x-hwp">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/vnd.ms-works">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/x-mswrite">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/x-dif-document">
            <action default="true" ext="" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="text/spreadsheet">
            <action default="true" ext="" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="text/csv">
            <action default="true" ext="" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/x-dbase">
            <action default="true" ext="" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/vnd.lotus-1-2-3">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="image/cgm">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="image/vnd.dxf">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="image/x-emf">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="image/x-wmf">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/coreldraw">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/vnd.visio2013">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/vnd.visio">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/vnd.ms-visio.drawing">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/x-mspublisher">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/x-sony-bbeb">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/x-gnumeric">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/macwriteii">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/x-iwork-numbers-sffnumbers">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.text-web">
            <action default="true" ext="" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/x-pagemaker">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="text/rtf">
            <action default="true" ext="" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="text/plain">
            <action default="true" ext="" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/x-fictionbook+xml">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/clarisworks">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="image/x-wpg">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/x-iwork-pages-sffpages">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/vnd.openxmlformats-officedocument.presentationml.slideshow">
            <action default="true" ext="" name="edit" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/x-iwork-keynote-sffkey">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/x-abiword">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="image/x-freehand">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/vnd.sun.xml.chart">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/x-t602">
            <action default="true" ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="image/bmp">
            <action ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="image/png">
            <action ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="image/gif">
            <action ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="image/tiff">
            <action ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="image/jpg">
            <action ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="image/jpeg">
            <action ext="" name="view" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>
        <app name="application/pdf">
            <action ext="" name="view_comment" urlsrc="https://[REDACTED DOMAIN]/browser/b639546/cool.html?"/>
        </app>

        <!-- End of legacy MIME-type actions -->

        <app name="Capabilities">
            <action ext="" name="getinfo" urlsrc="https://[REDACTED DOMAIN]/hosting/capabilities"/>
        </app>
    </net-zone>
<proof-key exponent="AQAB" modulus="/PcAJan/FY942Up4rjJ2QHSnfmj/KMAkTn6QbTP95BTrmYYjxxcdl5Q1lsXxibVqyvIWPKej8fKm3kgNVs2kJPRuVQpFlNTaNLeFoT0pxh7X4OJ30M3ujb+yImwX1njQgkiiv8EMAPQrIuEKVsbW5rfST+/8VCkmbm4p/rJgURIoDhH1ld3lLAiO6Yc/QqQCAisQBzdxZpwDFgH/DGUXUDlfhbjdHe9LGBqPh934H6zdmPD4cIyIlIYsphYDPmYEmp2s7bJ93xzws0K0VxPnoYxK8bg+51xgPnU+IYaEDAjxy5OxXW2o/ZtxheLeAPM+DhtHgFCGBEBGeleFS1T9Sw==" oldexponent="AQAB" oldmodulus="/PcAJan/FY942Up4rjJ2QHSnfmj/KMAkTn6QbTP95BTrmYYjxxcdl5Q1lsXxibVqyvIWPKej8fKm3kgNVs2kJPRuVQpFlNTaNLeFoT0pxh7X4OJ30M3ujb+yImwX1njQgkiiv8EMAPQrIuEKVsbW5rfST+/8VCkmbm4p/rJgURIoDhH1ld3lLAiO6Yc/QqQCAisQBzdxZpwDFgH/DGUXUDlfhbjdHe9LGBqPh934H6zdmPD4cIyIlIYsphYDPmYEmp2s7bJ93xzws0K0VxPnoYxK8bg+51xgPnU+IYaEDAjxy5OxXW2o/ZtxheLeAPM+DhtHgFCGBEBGeleFS1T9Sw==" oldvalue="BgIAAACkAABSU0ExAAgAAAEAAQBL/VRLhVd6RkAEhlCARxsOPvMA3uKFcZv9qG1dsZPL8QgMhIYhPnU+YFznPrjxSoyh5xNXtEKz8BzffbLtrJ2aBGY+AxamLIaUiIxw+PCY3awf+N2HjxoYS+8d3biFXzlQF2UM/wEWA5xmcTcHECsCAqRCP4fpjggs5d2V9REOKBJRYLL+KW5uJilU/O9P0rfm1sZWCuEiK/QADMG/okiC0HjWF2wisr+N7s3Qd+Lg1x7GKT2hhbc02tSURQpVbvQkpM1WDUjepvLxo6c8FvLKarWJ8cWWNZSXHRfHI4aZ6xTk/TNtkH5OJMAo/2h+p3RAdjKueErZeI8V/6klAPf8" value="BgIAAACkAABSU0ExAAgAAAEAAQBL/VRLhVd6RkAEhlCARxsOPvMA3uKFcZv9qG1dsZPL8QgMhIYhPnU+YFznPrjxSoyh5xNXtEKz8BzffbLtrJ2aBGY+AxamLIaUiIxw+PCY3awf+N2HjxoYS+8d3biFXzlQF2UM/wEWA5xmcTcHECsCAqRCP4fpjggs5d2V9REOKBJRYLL+KW5uJilU/O9P0rfm1sZWCuEiK/QADMG/okiC0HjWF2wisr+N7s3Qd+Lg1x7GKT2hhbc02tSURQpVbvQkpM1WDUjepvLxo6c8FvLKarWJ8cWWNZSXHRfHI4aZ6xTk/TNtkH5OJMAo/2h+p3RAdjKueErZeI8V/6klAPf8"/></wopi-discovery>* Connection #0 to host [REDACTED DOMAIN] left intact
https://$NC_DOMAIN:443/standalone-signaling/api/v1/welcome
*   Trying [REDACTED IP]:443...
* Connected to [REDACTED DOMAIN] ([REDACTED IP]) port 443 (#0)
* ALPN: offers h2
* ALPN: offers http/1.1
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256
* ALPN: server accepted h2
* Server certificate:
*  subject: CN=[REDACTED DOMAIN]
*  start date: Oct 17 14:02:44 2022 GMT
*  expire date: Jan 15 14:02:43 2023 GMT
*  subjectAltName: host "[REDACTED DOMAIN]" matched cert's "[REDACTED DOMAIN]"
*  issuer: C=US; O=Let's Encrypt; CN=R3
*  SSL certificate verify ok.
* Using HTTP2, server supports multiplexing
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* h2h3 [:method: GET]
* h2h3 [:path: /standalone-signaling/api/v1/welcome]
* h2h3 [:scheme: https]
* h2h3 [:authority: [REDACTED DOMAIN]]
* h2h3 [user-agent: curl/7.83.1]
* h2h3 [accept: */*]
* Using Stream ID: 1 (easy handle 0x7f6d56aad1b0)
> GET /standalone-signaling/api/v1/welcome HTTP/2
> Host: [REDACTED DOMAIN]
> user-agent: curl/7.83.1
> accept: */*
>
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* Connection state changed (MAX_CONCURRENT_STREAMS == 250)!
< HTTP/2 200
< alt-svc: h3=":443"; ma=2592000
< content-type: application/json; charset=utf-8
< date: Fri, 04 Nov 2022 14:04:32 GMT
< server: Caddy
< server: Caddy
< server: nextcloud-spreed-signaling/33dc5a554b496bd253bedbecc6755de514a64867
< x-spreed-signaling-features: audio-video-permissions, hello-v2, incall-all, mcu, simulcast, transient-data, update-sdp, welcome
< content-length: 94
<
{"nextcloud-spreed-signaling":"Welcome","version":"33dc5a554b496bd253bedbecc6755de514a64867"}
* Connection #0 to host [REDACTED DOMAIN] left intact

Caddyfile (caddy is running on the host, not in docker):

https://[REDACTED DOMAIN]:443 {
        reverse_proxy localhost:11000
        log {
                output file /var/log/caddy/[REDACTED DOMAIN]-access.log
        }
}

Docker compose file:

version: "3.8"

volumes:
  nextcloud_aio_mastercontainer:
    name: nextcloud_aio_mastercontainer
    external: true

services:
  nextcloud:
    hostname: [REDACTED HOSTNAME]
    image: nextcloud/all-in-one:latest
    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:
      - 8080:8080
    environment:
      - APACHE_PORT=11000
      - APACHE_IP_BINDING=127.0.0.1
      - SKIP_DOMAIN_VALIDATION=true # domain check did not pass
      - NEXTCLOUD_DATADIR=/data00/nc-data

Perhaps the domain check not passing was also already related.

This is indeed very strange!

I don’t see any way how starting any container would introduce such a behaviour on others. And obviously am I not able to reproduce this on my test instance…

Most likely, indeed

Btw, is this the ip-address of the mastercontainer or where does that come from?

Yes it is, I ran docker network inspect nextcloud-aio and the IP addresses match.

Okay, I think we’ve fond the culprit. It is in your docker-compose.yml

Can you remove this line, run docker-compose down and docker-compose up and check if that makes it work?

1 Like

BTW, I am really not sure how that got into your docker-compose file. It is nowhere recommended to put this in place…

This was indeed the issue! This is my first time installing Nextcloud and at first I misunderstood the purpose of the AIO interface. I thought after starting the master container, Nextcloud should have been available immediately on port 443 instead of 8080. I only later realized that the main Nextcloud installation is configured via the master interface.

Apparently I did a lot more damage than I thought while trying to fix the “issue”. I was actually in the process of a re-installation, and straight away the domain check succeeded. Now also Nextcloud Office and Nextcloud Talk are working.

Thank you very much for the support!!