Collabora server after Nextcloud AIO update cannot be reached

Hi,

I realized that Collabora is not working in my Nextcloud AIO setup anymore. I realized after a recent update/restart of the container through the master container but I am not completely sure it is due to an update as I’ve been installing some apps recently too (Memories, recognize).

It seems the problem resides in the Collabora container though according to the logs:

...
wsd-00001-00001 2023-03-02 19:59:59.247168 +0100 [ coolwsd ] INF  WSD initialization complete: setting log-level to [warning] as configured.| wsd/COOLWSD.cpp:5545
Ready to accept connections on port 9980.

wsd-00001-00042 2023-03-02 19:59:59.250723 +0100 [ remotefontconfig_poll ] ERR  #24: Read failed, have 0 buffered bytes (EPIPE: Broken pipe)| net/Socket.hpp:1136
wsd-00001-00042 2023-03-02 19:59:59.250932 +0100 [ remotefontconfig_poll ] ERR  #24: Socket write returned -1 (EPIPE: Broken pipe)| net/Socket.hpp:1436
wsd-00001-00042 2023-03-02 19:59:59.250953 +0100 [ remotefontconfig_poll ] ERR  #24: Socket write returned -1 (EPIPE: Broken pipe)| net/Socket.hpp:1436
wsd-00001-00042 2023-03-02 19:59:59.251315 +0100 [ remotefontconfig_poll ] ERR  Remote config server has response status code: 0| wsd/COOLWSD.cpp:1168
wsd-00001-00042 2023-03-02 20:00:59.312203 +0100 [ remotefontconfig_poll ] ERR  #33: Read failed, have 0 buffered bytes (EPIPE: Broken pipe)| net/Socket.hpp:1136
wsd-00001-00042 2023-03-02 20:00:59.312289 +0100 [ remotefontconfig_poll ] ERR  #33: Socket write returned -1 (EPIPE: Broken pipe)| net/Socket.hpp:1436
wsd-00001-00042 2023-03-02 20:00:59.312301 +0100 [ remotefontconfig_poll ] ERR  #33: Socket write returned -1 (EPIPE: Broken pipe)| net/Socket.hpp:1436
wsd-00001-00042 2023-03-02 20:00:59.312358 +0100 [ remotefontconfig_poll ] ERR  Remote config server has response status code: 0| wsd/COOLWSD.cpp:1168
wsd-00001-00042 2023-03-02 20:01:59.361956 +0100 [ remotefontconfig_poll ] ERR  #30: Read failed, have 0 buffered bytes (EPIPE: Broken pipe)| net/Socket.hpp:1136
wsd-00001-00042 2023-03-02 20:01:59.362031 +0100 [ remotefontconfig_poll ] ERR  #30: Socket write returned -1 (EPIPE: Broken pipe)| net/Socket.hpp:1436
wsd-00001-00042 2023-03-02 20:01:59.362046 +0100 [ remotefontconfig_poll ] ERR  #30: Socket write returned -1 (EPIPE: Broken pipe)| net/Socket.hpp:1436
wsd-00001-00042 2023-03-02 20:01:59.362164 +0100 [ remotefontconfig_poll ] ERR  Remote config server has response status code: 0| wsd/COOLWSD.cpp:1168

I tried switching to an external Collabora server in the configuration and this one connects and works (https://demo.us.collaboraonline.com).

The rest of NC seems to be working properly. Any suggestion please?

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

Hi, thanks for answering.

I did followed the thread but I think it is assuming that you already got a connection to Collabora server from the container.

In my case that’s not happened. I am not using any reverse proxy by the way.

Also, I cannot really play with the WOPI list as the connection to the server is refused so that option is not yet available:

NC log:

Resumo
[richdocuments] Erro: GuzzleHttp\Exception\ConnectException: cURL error 7: Failed to connect to my-domain.com port 443 after 1 ms: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://my-domain.com/hosting/capabilities at <<closure>>

 0. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php line 158
    GuzzleHttp\Handler\CurlFactory::createRejection(["GuzzleHttp\\Ha ... 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\\Ha ... 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\\Ha ... 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", "https://nextclo ... s", ["/mnt/ncdata/fi ... e])
13. /var/www/html/custom_apps/richdocuments/lib/Service/CapabilitiesService.php line 136
    OC\Http\Client\Client->get("https://nextclo ... s", [45,[true]])
14. /var/www/html/custom_apps/richdocuments/lib/Service/CapabilitiesService.php line 74
    OCA\Richdocuments\Service\CapabilitiesService->refetch()
15. /var/www/html/custom_apps/richdocuments/lib/AppInfo/Application.php line 80
    OCA\Richdocuments\Service\CapabilitiesService->getCapabilities()
16. /var/www/html/lib/private/AppFramework/Bootstrap/FunctionInjector.php line 67
    OCA\Richdocuments\AppInfo\Application->OCA\Richdocuments\AppInfo\{closure}("*** sensitive parameters replaced ***")
17. /var/www/html/lib/private/AppFramework/Bootstrap/BootContext.php line 51
    OC\AppFramework\Bootstrap\FunctionInjector->injectFn(["Closure"])
18. /var/www/html/custom_apps/richdocuments/lib/AppInfo/Application.php line 135
    OC\AppFramework\Bootstrap\BootContext->injectFn(["Closure"])
19. /var/www/html/lib/private/AppFramework/Bootstrap/Coordinator.php line 190
    OCA\Richdocuments\AppInfo\Application->boot(["OC\\AppFramewo ... "])
20. /var/www/html/lib/private/legacy/OC_App.php line 208
    OC\AppFramework\Bootstrap\Coordinator->bootApp("richdocuments")
21. /var/www/html/lib/private/legacy/OC_App.php line 141
    OC_App::loadApp("richdocuments")
22. /var/www/html/lib/base.php line 1027
    OC_App::loadApps()
23. /var/www/html/index.php line 36
    OC::handleRequest()

GET /apps/serverinfo/update
from xx.xx.xx.xx by user1 at 2023-03-02T22:58:49+00:00

okay, can you please run the mentioned command inside the container please?

I have run ‘sudo docker exec --user www-data -it nextcloud-aio-nextcloud php occ config:system:set loglevel --value=1’ (I think you refered to this). I think it is still the same as before:

Resumo
[richdocuments] Erro: GuzzleHttp\Exception\ConnectException: cURL error 7: Failed to connect to my-domain.com port 443 after 1 ms: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://my-domain.com/hosting/capabilities at <<closure>>

 0. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php line 158
    GuzzleHttp\Handler\CurlFactory::createRejection(["GuzzleHttp\\Ha ... 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\\Ha ... 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\\Ha ... 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", "https://nextclo ... s", ["/mnt/ncdata/fi ... e])
13. /var/www/html/custom_apps/richdocuments/lib/Service/CapabilitiesService.php line 136
    OC\Http\Client\Client->get("https://nextclo ... s", [45,[true]])
14. /var/www/html/custom_apps/richdocuments/lib/Service/CapabilitiesService.php line 74
    OCA\Richdocuments\Service\CapabilitiesService->refetch()
15. /var/www/html/custom_apps/richdocuments/lib/AppInfo/Application.php line 80
    OCA\Richdocuments\Service\CapabilitiesService->getCapabilities()
16. /var/www/html/lib/private/AppFramework/Bootstrap/FunctionInjector.php line 67
    OCA\Richdocuments\AppInfo\Application->OCA\Richdocuments\AppInfo\{closure}("*** sensitive parameters replaced ***")
17. /var/www/html/lib/private/AppFramework/Bootstrap/BootContext.php line 51
    OC\AppFramework\Bootstrap\FunctionInjector->injectFn(["Closure"])
18. /var/www/html/custom_apps/richdocuments/lib/AppInfo/Application.php line 135
    OC\AppFramework\Bootstrap\BootContext->injectFn(["Closure"])
19. /var/www/html/lib/private/AppFramework/Bootstrap/Coordinator.php line 190
    OCA\Richdocuments\AppInfo\Application->boot(["OC\\AppFramewo ... "])
20. /var/www/html/lib/private/legacy/OC_App.php line 208
    OC\AppFramework\Bootstrap\Coordinator->bootApp("richdocuments")
21. /var/www/html/lib/private/legacy/OC_App.php line 141
    OC_App::loadApp("richdocuments")
22. /var/www/html/lib/base.php line 1027
    OC_App::loadApps()
23. /var/www/html/index.php line 36
    OC::handleRequest()

GET /apps/serverinfo/update
from xx.xx.xx.xx by user2 at 2023-03-03T01:13:26+00:00

Output from docker inspect on my Collabora container:

"NetworkSettings": {
            "Bridge": "",
            "SandboxID": "9vz9u9fRurWxE99ytJejcjxV3YdFfpsKDjzaTwD7FFNe42YSiZXkECMXX3QQbRAfb",
            "HairpinMode": false,
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "Ports": {
                "9980/tcp": null
            },

Should not be the port 9980 forwarded?

No, I am referring to this:

sudo docker exec -it nextcloud-aio-nextcloud bash
curl -vvv https://$NC_DOMAIN:443/hosting/discovery
exit

bash-5.1# curl -vvv https://$NC_DOMAIN:443/hosting/discovery

  • Trying 127.0.0.1:443…
  • connect to 127.0.0.1 port 443 failed: Connection refused
  • Failed to connect to my-domain.com port 443 after 1 ms: Connection refused
  • Closing connection 0
    curl: (7) Failed to connect to my-domain.com port 443 after 1 ms: Connection refused

I see. Can you post the content of your /etc/hosts file here?

/etc/hosts

127.0.0.1 localhost
127.0.0.1 my-domain.com nextcloud

The following lines are desirable for IPv6 capable hosts

::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

Please remove my-domain.com from your /etc/hosts file and restart AIO. That should make it work.

Yes, it did!

Why is it working now?

I canot tell. Possibly the docker daemon updated itself which formerly did not use the hosts file but after the update did which seemingly breaks AIO.

I can chime in that your solution, @szaimen, fixed the issue for me as well. Thank you.

thanks for sharing your tips. Alas, they are not functioning for me :confused:
I get: “Document login fail” when trying to open an office doc for the first time.
I’ve removed the line 127.0.0.1 my-domain.com nextcloud from /hosts, rebooted.
I’m using a cloudflare tunnel, and I didn’t have to skip domain check. This part worked all fine (after finding the right setting in cloudflare’s interface on my cloudfalre account - so, not on my server but in theirs).
I’ve tried both local and public IP, collabora, redis, Talk, won’t work…

I tried the curl command with bash in container aio,
And I got this:

bash-5.1# curl -vvv https://$NC_DOMAIN:443/hosting/discovery
*   Trying IP:443...
* Connected to domain.net (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_256_GCM_SHA384
* ALPN: server accepted h2
* Server certificate:
*  subject: CN=*.domain.net
*  start date: Feb 24 01:23:31 2023 GMT
*  expire date: May 25 01:23:30 2023 GMT
*  subjectAltName: host "domain.net" matched cert's "*.domain.net"
*  issuer: C=US; O=Google Trust Services LLC; CN=GTS CA 1P5
*  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: domain.net]
* h2h3 [user-agent: curl/7.83.1]
* h2h3 [accept: */*]
* Using Stream ID: 1 (easy handle 0x7f59862721b0)
> GET /hosting/discovery HTTP/2
> Host: domain.net
> user-agent: curl/7.83.1
> accept: */*
> 
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
* Connection state changed (MAX_CONCURRENT_STREAMS == 256)!
< HTTP/2 200 
< date: Sun, 19 Mar 2023 22:31:41 GMT
< content-type: text/xml
< content-length: 30812
< last-modified: Sun, 19 Mar 2023 22:31:41
< x-content-type-options: nosniff
< cf-cache-status: DYNAMIC
< report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=.."}],"group":"cf-nel","max_age":604800}
< nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
< strict-transport-security: max-age=15552000; preload
< server: cloudflare
< cf-ray: ..-DUS
< alt-svc: h3=":443"; ma=86400, h3-29=":443"; ma=86400
< 
<wopi-discovery>
    <net-zone name="external-http">

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

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

        <app name="writer-web">
            <action default="true" ext="oth" name="edit" urlsrc="https://domain.net/browser/ef89c82/cool.html?"/>
        </app>

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

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

        <!-- Draw documents -->
        <app name="draw">
            <action default="true" ext="sxd" name="view" urlsrc="https://domain.net/browser/ef89c82/cool.html?"/>
            <action default="true" ext="odg" name="edit" urlsrc="https://domain.net/browser/ef89c82/cool.html?"/>
            <action default="true" ext="fodg" name="edit" urlsrc="https://domain.net/browser/ef89c82/cool.html?"/>
            <!-- Drawing template documents -->
            <action default="true" ext="std" name="view" urlsrc="https://domain.net/browser/ef89c82/cool.html?"/>
            <action default="true" ext="otg" name="view" urlsrc="https://domain.net/browser/ef89c82/cool.html?"/>
            <!-- Others -->
            <action ext="svg" name="view" urlsrc="https://domain.net/browser/ef89c82/cool.html?"/>
            <action default="true" ext="dxf" name="view" urlsrc="https://domain.net/browser/ef89c82/cool.html?"/>
            <action default="true" ext="emf" name="view" urlsrc="https://domain.net/browser/ef89c82/cool.html?"/>
            <action default="true" ext="wmf" name="view" urlsrc="https://domain.net/browser/ef89c82/cool.html?"/>
            <action default="true" ext="cdr" name="view" urlsrc="https://domain.net/browser/ef89c82/cool.html?"/>
            <action default="true" ext="vsd" name="view" urlsrc="https://domain.net/browser/ef89c82/cool.html?"/>
            <action default="true" ext="vsdx" name="view" urlsrc="https://domain.net/browser/ef89c82/cool.html?"/>
            <action default="true" ext="vss" name="view" urlsrc="https://domain.net/browser/ef89c82/cool.html?"/>
            <action default="true" ext="pub" name="view" urlsrc="https://domain.net/browser/ef89c82/cool.html?"/>
            <action default="true" ext="p65" name="view" urlsrc="https://domain.net/browser/ef89c82/cool.html?"/>
            <action default="true" ext="wpg" name="view" urlsrc="https://domain.net/browser/ef89c82/cool.html?"/>
            <action default="true" ext="fh" name="view" urlsrc="https://domain.net/browser/ef89c82/cool.html?"/>
            <action ext="bmp" name="view" urlsrc="https://domain.net/browser/ef89c82/cool.html?"/>
            <action ext="png" name="view" urlsrc="https://domain.net/browser/ef89c82/cool.html?"/>
            <action ext="gif" name="view" urlsrc="https://domain.net/browser/ef89c82/cool.html?"/>
            <action ext="tiff" name="view" urlsrc="https://domain.net/browser/ef89c82/cool.html?"/>
            <action ext="jpg" name="view" urlsrc="https://domain.net/browser/ef89c82/cool.html?"/>
            <action ext="jpeg" name="view" urlsrc="https://domain.net/browser/ef89c82/cool.html?"/>
            <action ext="pdf" name="view_comment" urlsrc="https://domain.net/browser/ef89c82/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://domain.net/browser/ef89c82/cool.html?"/>
        </app>
        <app name="application/vnd.ms-powerpoint">
            <action default="true" ext="" name="edit" urlsrc="https://domain.net/browser/ef89c82/cool.html?"/>
        </app>
        <app name="application/vnd.ms-excel">
            <action default="true" ext="" name="edit" urlsrc="https://domain.net/browser/ef89c82/cool.html?"/>
        </app>

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

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

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

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

        <!-- Chart documents -->
        <app name="application/vnd.oasis.opendocument.chart">
            <action default="true" ext="" name="edit" urlsrc="https://domain.net/browser/ef89c82/cool.html?"/>
        </app>

        <!-- Text master documents -->
        <app name="application/vnd.sun.xml.writer.global">
            <action default="true" ext="" name="view" urlsrc="https://domain.net/browser/ef89c82/cool.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.text-master">
            <action default="true" ext="" name="edit" urlsrc="https://domain.net/browser/ef89c82/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://domain.net/browser/ef89c82/cool.html?"/>
        </app>
        <app name="application/vnd.oasis.opendocument.text-template">
            <action default="true" ext="" name="view" urlsrc="https://domain.net/browser/ef89c82/cool.html?"/>
        </app>

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

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

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

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

        <!-- MS Word -->
        <app name="application/msword">
            <action default="true" ext="" name="edit" urlsrc="https://domain.net/browser/ef89c82/cool.html?"/>
        </app>
        <app name="application/msword">
            <action default="true" ext="" name="edit" urlsrc="https://domain.net/browser/ef89c82/cool.html?"/>
        </app>

        <!-- MS Excel -->
        <app name="application/vnd.ms-excel">
            <action default="true" ext="" name="edit" urlsrc="https://domain.net/browser/ef89c82/cool.html?"/>
        </app>

        <!-- MS PowerPoint -->
        <app name="application/vnd.ms-powerpoint">
            <action default="true" ext="" name="edit" urlsrc="https://domain.net/browser/ef89c82/cool.html?"/>
        </app>

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

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

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

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

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

        <app name="Capabilities">
            <action ext="" name="getinfo" urlsrc="https://domain.net/hosting/capabilities"/>
        </app>
    </net-zone>
<proof-key exponent="AQAB" modulus="...==" oldexponent=".." oldmodulus="...* Connection #0 to host domain.net left intact
...==" oldvalue=".." value=".."/></wopi-discovery>bash-5.1# 

Is this log giving any usefull information?
Any other suggestion?

Hi, did you see GitHub - nextcloud/all-in-one: Nextcloud AIO stands for Nextcloud All In One and provides easy deployment and maintenance with most features included in this one Nextcloud instance.? There is also a note about collabora and talk and else…

1 Like

yeah, this did work:

I had to add the public IP of my server, which is hidden by cloudflare’s tunnel.
I’m using port 11000, not 443

Now i’m going to try for Talk and Redis (I don’t think Redis is working).

Can I fix this somewhere else? so every other service will function?
THanks a lot for your help :slight_smile: !!

Why do you thjnk that redis is not working? Do you have something in the Nextcloud logs?

Talk is known to have problems behind cloudflare tunnels as stated in GitHub - nextcloud/all-in-one: Nextcloud AIO stands for Nextcloud All In One and provides easy deployment and maintenance with most features included in this one Nextcloud instance.

as mentionned, the domain validation work perfectly in my configuration.
NC is running, just services around are not working. Probably because Cloudflare hides the server’s local and public IPs.
I could see the IP created by Cloudflare in the ‘Allow list for WOPI requests’ list.

Here is my yml:

version: "3.8"
volumes:
  nextcloud_aio_mastercontainer:
    name: nextcloud_aio_mastercontainer #
services:
  nextcloud:
    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:
      - 8895:8080
    environment:
     - APACHE_PORT=11000
     - NEXTCLOUD_MOUNT=/mnt/d0cker/nextcloud-aio/
     - NEXTCLOUD_UPLOAD_LIMIT=1G
     - NEXTCLOUD_MEMORY_LIMIT=6144M
     - NEXTCLOUD_ADDITIONAL_APKS=imagemagick libpq-dev
     - NEXTCLOUD_ADDITIONAL_PHP_EXTENSIONS=imagick pgsql