# nextcloudaio (apache) does not listen to port 11000

**URL:** <https://help.nextcloud.com/t/nextcloudaio-apache-does-not-listen-to-port-11000/229344>\
**Category:** ℹ️ Support\
**Tags:** caddy, mac, letsencrypt, aio, raspberrypi, cloudflare, nc31\
**Created:** [July 26, 2025, 2:02pm UTC](https://help.nextcloud.com/t/nextcloudaio-apache-does-not-listen-to-port-11000/229344 "2025-07-26T14:02:02Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![afi4711](https://help.nextcloud.com/letter_avatar/afi4711/32/6_22734026db12803ebb3e059622ac3534.png) [@afi4711](https://help.nextcloud.com/u/afi4711)\
**Post date:** [July 26, 2025, 2:02pm UTC](https://help.nextcloud.com/t/nextcloudaio-apache-does-not-listen-to-port-11000/229344/1 "2025-07-26T14:02:02Z")

</div>

> **Support intro**
>
> ## Sorry to hear you’re facing problems. 🙁
> 
> _The community help forum ([help.nextcloud.com](http://help.nextcloud.com)) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are **volunteering their time to help you.** _
> 
> **If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via [portal.nextcloud.com](http://portal.nextcloud.com) where Nextcloud engineers can help ensure your business keeps running smoothly.**
> 
> ## Getting help
> 
> In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.
> 
> **Before clicking submit** : Please check if your query is already addressed via the following resources:
> 
> - [Official documentation](https://docs.nextcloud.com) (searchable and regularly updated)
> - [How to topics and FAQs](https://help.nextcloud.com/c/how-to-faqs/9)
> - [Forum search](https://help.nextcloud.com/search)
> 
> (Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

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

## The Basics

- Nextcloud Server version _(e.g., 29.x.x)_:
  - `Nextcloud AIO v11.4.0`

- Operating system and version _(e.g., Ubuntu 24.04)_:
  - `Debian GNU/Linux 12 (bookworm)` (raspberrypi)

- Web server and version _(e.g, Apache 2.4.25)_:
  - `Apache/2.4.63`

- Reverse proxy and version \_(e.g. nginx 1.27.2)
  - `caddy v2.10.0 `

- PHP version _(e.g, 8.3)_:
  - `PHP 8.4.10`

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

- When did this problem seem to first start?
  - `When I use Caddy as reverse-proxy running at a different server`

- Installation method _(e.g. AlO, NCP, Bare Metal/Archive, etc.)_
  - `AIO`

- Are you using CloudfIare, mod\_security, or similar? _(Yes / No)_
  - `No`

### Summary of the issue you are facing:

Installation of **nextcloudaio** on server 1 was successfull.  
After starting **Caddy** on server 2 nextcloudaio couldn’t be connected via port 11000.  
AIO Interface (port 8080) works fine.

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

1. Nextcloudaio installation with docker was successfull. After opening the ports 80 and 443 in the router nextcloud clients could connect to nextcloud using _[mydomain.ddns.net](http://mydomain.ddns.net)_
2. Installation of caddy (docker) on server 2 (ports in router configuration were updated)
3. New start of nextcloudaio was successfull (all containers are running), but clients cannot reach it.
4. Test on server 2 (with caddy) to connect to AIO server:

```auto
curl -vvv http://192.168.0.93:11000
* Trying 192.168.0.93:11000...
* connect to 192.168.0.93 port 11000 failed: Verbindungsaufbau abgelehnt
* Failed to connect to 192.168.0.93 port 11000 after 44 ms: Couldn't connect to server
* Closing connection 0
curl: (7) Failed to connect to 192.168.0.93 port 11000 after 44 ms: Couldn't connect to server

```

1. docker list (no port 11000)

```CONTAINER
b68c04f258ad ghcr.io/nextcloud-releases/aio-apache:latest "/start.sh /usr/bin/…" 3 hours ago Up 3 hours (healthy) 80/tcp, 0.0.0.0:443->443/tcp, 0.0.0.0:443->443/udp, [::]:443->443/tcp, [::]:443->443/udp nextcloud-aio-apache
8ac98bf09cb9 ghcr.io/nextcloud-releases/aio-whiteboard:latest "/start.sh" 3 hours ago Up 3 hours (healthy) 3002/tcp nextcloud-aio-whiteboard
d019338c72cd ghcr.io/nextcloud-releases/aio-notify-push:latest "/start.sh" 3 hours ago Up 3 hours (healthy) nextcloud-aio-notify-push
4a074ae2a8c5 ghcr.io/nextcloud-releases/aio-nextcloud:latest "/start.sh /usr/bin/…" 3 hours ago Up 3 hours (healthy) 9000/tcp nextcloud-aio-nextcloud
449430fbe9d1 ghcr.io/nextcloud-releases/aio-imaginary:latest "/start.sh" 3 hours ago Up 3 hours (healthy) nextcloud-aio-imaginary
1c026c2f919e ghcr.io/nextcloud-releases/aio-redis:latest "/start.sh" 3 hours ago Up 3 hours (healthy) 6379/tcp nextcloud-aio-redis
485eb44df6d6 ghcr.io/nextcloud-releases/aio-postgresql:latest "/start.sh" 3 hours ago Up 3 hours (healthy) 5432/tcp nextcloud-aio-database
b2fff0e72cda ghcr.io/nextcloud-releases/all-in-one:latest "/start.sh" 9 days ago Up 9 days (healthy) 0.0.0.0:80->80/tcp, [::]:80->80/tcp, 0.0.0.0:8080->8080/tcp, [::]:8080->8080/tcp, 0.0.0.0:8443->8443/tcp, [::]:8443->8443/tcp, 9000/tcp nextcloud-aio-mastercontainer

```

### Log entries

#### Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the _Copy raw_ option from _Administration settings-\>Logging_ screen or from your `nextcloud.log` located in your data directory). Feel free to use a pastebin/gist service if necessary.

```auto
docker logs nextcloud-aio-mastercontainer
Trying to fix docker.sock permissions internally...
Creating docker group internally with id 991
Initial startup of Nextcloud All-in-One complete!
You should be able to open the Nextcloud AIO Interface now on port 8080 of this server!
E.g. https://internal.ip.of.this.server:8080
⚠️ Important: do always use an ip-address if you access this port and not a domain as HSTS might block access to it later!

If your server has port 80 and 8443 open and you point a domain to your server, you can get a valid certificate automatically by opening the Nextcloud AIO Interface via:
https://your-domain-that-points-to-this-server.tld:8443
[Thu Jul 17 11:33:37.707572 2025] [mpm_event:notice] [pid 145:tid 145] AH00489: Apache/2.4.62 (Unix) OpenSSL/3.3.4 configured -- resuming normal operations
[Thu Jul 17 11:33:37.707715 2025] [core:notice] [pid 145:tid 145] AH00094: Command line: 'httpd -D FOREGROUND'
[17-Jul-2025 11:33:37] NOTICE: fpm is running, pid 150
[17-Jul-2025 11:33:37] NOTICE: ready to handle connections
{"level":"info","ts":1752752017.7728226,"msg":"maxprocs: Leaving GOMAXPROCS=4: CPU quota undefined"}
{"level":"info","ts":1752752017.7736895,"msg":"GOMEMLIMIT is updated","package":"github.com/KimMachineGun/automemlimit/memlimit","GOMEMLIMIT":3583704268,"previous":9223372036854775807}
{"level":"info","ts":1752752017.7738748,"msg":"using config from file","file":"/Caddyfile"}
{"level":"info","ts":1752752017.7809124,"msg":"adapted config to JSON","adapter":"caddyfile"}
{"level":"info","ts":1752752017.8081563,"msg":"serving initial configuration"}
Total reclaimed space: 0B
Total reclaimed space: 0B
Total reclaimed space: 0B
Total reclaimed space: 0B
Total reclaimed space: 0B
Total reclaimed space: 0B
Total reclaimed space: 0B
Deleting duplicate sessions
Total reclaimed space: 0B
Deleting duplicate sessions
Total reclaimed space: 0B
Deleting duplicate sessions
NOTICE: PHP message: 404 Not Found
Type: Slim\Exception\HttpNotFoundException
Code: 404
Message: Not found.
File: /var/www/docker-aio/php/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php
Line: 76
Trace: #0 /var/www/docker-aio/php/vendor/slim/slim/Slim/Routing/RouteRunner.php(62): Slim\Middleware\RoutingMiddleware->performRouting(Object(GuzzleHttp\Psr7\ServerRequest))
#1 /var/www/docker-aio/php/vendor/slim/csrf/src/Guard.php(482): Slim\Routing\RouteRunner->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#2 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(177): Slim\Csrf\Guard->process(Object(GuzzleHttp\Psr7\ServerRequest), Object(Slim\Routing\RouteRunner))
#3 /var/www/docker-aio/php/vendor/slim/twig-view/src/TwigMiddleware.php(117): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#4 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(129): Slim\Views\TwigMiddleware->process(Object(GuzzleHttp\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#5 /var/www/docker-aio/php/src/Middleware/AuthMiddleware.php(36): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#6 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(280): AIO\Middleware\AuthMiddleware->__invoke(Object(GuzzleHttp\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#7 /var/www/docker-aio/php/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(77): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#8 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(129): Slim\Middleware\ErrorMiddleware->process(Object(GuzzleHttp\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#9 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(73): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#10 /var/www/docker-aio/php/vendor/slim/slim/Slim/App.php(209): Slim\MiddlewareDispatcher->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#11 /var/www/docker-aio/php/vendor/slim/slim/Slim/App.php(193): Slim\App->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#12 /var/www/docker-aio/php/public/index.php(196): Slim\App->run()
#13 {main}
Tips: To display error details in HTTP response set "displayErrorDetails" to true in the ErrorHandler constructor.

```

and for Apache:

```auto
docker logs nextcloud-aio-apache
Waiting for Nextcloud to start...
Waiting for Nextcloud to start...
Waiting for Nextcloud to start...
Waiting for Nextcloud to start...
Waiting for Nextcloud to start...
Waiting for Nextcloud to start...
Waiting for Nextcloud to start...
Waiting for Nextcloud to start...
Waiting for Nextcloud to start...
Waiting for Nextcloud to start...
Waiting for Nextcloud to start...
Connection to nextcloud-aio-nextcloud (172.18.0.6) 9000 port [tcp/*] succeeded!
[Sat Jul 26 10:16:13.986517 2025] [mpm_event:notice] [pid 61:tid 61] AH00489: Apache/2.4.63 (Unix) configured -- resuming normal operations
[Sat Jul 26 10:16:13.986764 2025] [core:notice] [pid 61:tid 61] AH00094: Command line: '/usr/local/apache2/bin/httpd -D FOREGROUND'
{"level":"info","ts":1753524974.1501505,"msg":"maxprocs: Leaving GOMAXPROCS=4: CPU quota undefined"}
{"level":"info","ts":1753524974.151454,"msg":"GOMEMLIMIT is updated","package":"github.com/KimMachineGun/automemlimit/memlimit","GOMEMLIMIT":3583704268,"previous":9223372036854775807}
{"level":"info","ts":1753524974.1516895,"msg":"using config from file","file":"/tmp/Caddyfile"}
{"level":"info","ts":1753524974.1588385,"msg":"adapted config to JSON","adapter":"caddyfile"}
{"level":"info","ts":1753524974.276673,"msg":"serving initial configuration"}

```

#### Web Browser

If the problem is related to the Web interface, open your browser inspector _Console_ and _Network_ tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

```auto
PASTE

```

#### Web server / Reverse Proxy

The output of caddy

```auto
[+] Running 1/1
 ✔ Container caddy-caddy-1 Created 0.1s 
Attaching to caddy-1
caddy-1 | {"level":"info","ts":1753456389.5231357,"msg":"maxprocs: Leaving GOMAXPROCS=4: CPU quota undefined"}
caddy-1 | {"level":"info","ts":1753456389.5237172,"msg":"GOMEMLIMIT is updated","package":"github.com/KimMachineGun/automemlimit/memlimit","GOMEMLIMIT":3583704268,"previous":9223372036854775807}
caddy-1 | {"level":"info","ts":1753456389.523903,"msg":"using config from file","file":"/etc/caddy/Caddyfile"}
caddy-1 | {"level":"info","ts":1753456389.5268323,"msg":"adapted config to JSON","adapter":"caddyfile"}
caddy-1 | {"level":"info","ts":1753456389.530692,"logger":"admin","msg":"admin endpoint started","address":"localhost:2019","enforce_origin":false,"origins":["//localhost:2019","//[::1]:2019","//127.0.0.1:2019"]}
caddy-1 | {"level":"info","ts":1753456389.5312476,"logger":"http.auto_https","msg":"enabling automatic HTTP->HTTPS redirects","server_name":"srv0"}
caddy-1 | {"level":"info","ts":1753456389.5313275,"logger":"http.auto_https","msg":"server is listening only on the HTTPS port but has no TLS connection policies; adding one to enable TLS","server_name":"srv1","https_port":443}
caddy-1 | {"level":"info","ts":1753456389.5313528,"logger":"http.auto_https","msg":"enabling automatic HTTP->HTTPS redirects","server_name":"srv1"}
caddy-1 | {"level":"debug","ts":1753456389.5314608,"logger":"http.auto_https","msg":"adjusted config","tls":{"automation":{"policies":[{}]}},"http":{"servers":{"remaining_auto_https_redirects":{"listen":[":80"],"routes":[{},{},{}]},"srv0":{"listen":[":1880"],"routes":[{"handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"reverse_proxy","upstreams":[{"dial":"192.168.0.14:1880"}]}]}]}],"terminal":true}],"tls_connection_policies":[{}],"automatic_https":{}},"srv1":{"listen":[":443"],"routes":[{"handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"reverse_proxy","upstreams":[{"dial":"192.168.0.93:11000"}]}]}]}],"terminal":true}],"tls_connection_policies":[{}],"automatic_https":{}}}}}
caddy-1 | {"level":"info","ts":1753456389.5350697,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0x400060c380"}
caddy-1 | {"level":"debug","ts":1753456389.5459056,"logger":"http","msg":"starting server loop","address":"[::]:1880","tls":true,"http3":false}
caddy-1 | {"level":"info","ts":1753456389.5459957,"logger":"http","msg":"enabling HTTP/3 listener","addr":":1880"}
caddy-1 | {"level":"info","ts":1753456389.5477989,"logger":"http.log","msg":"server running","name":"srv0","protocols":["h1","h2","h3"]}
caddy-1 | {"level":"debug","ts":1753456389.5620995,"logger":"http","msg":"starting server loop","address":"[::]:443","tls":true,"http3":false}
caddy-1 | {"level":"info","ts":1753456389.5621684,"logger":"http","msg":"enabling HTTP/3 listener","addr":":443"}
caddy-1 | {"level":"info","ts":1753456389.5630224,"logger":"http.log","msg":"server running","name":"srv1","protocols":["h1","h2","h3"]}
caddy-1 | {"level":"debug","ts":1753456389.5744505,"logger":"http","msg":"starting server loop","address":"[::]:80","tls":false,"http3":false}
caddy-1 | {"level":"warn","ts":1753456389.5745242,"logger":"http","msg":"HTTP/2 skipped because it requires TLS","network":"tcp","addr":":80"}
caddy-1 | {"level":"warn","ts":1753456389.574535,"logger":"http","msg":"HTTP/3 skipped because it requires TLS","network":"tcp","addr":":80"}
caddy-1 | {"level":"info","ts":1753456389.5745435,"logger":"http.log","msg":"server running","name":"remaining_auto_https_redirects","protocols":["h1","h2","h3"]}
caddy-1 | {"level":"info","ts":1753456389.574558,"logger":"http","msg":"enabling automatic TLS certificate management","domains":["mydomain.ddns.net"]}
caddy-1 | {"level":"warn","ts":1753456389.5763597,"logger":"tls","msg":"stapling OCSP","error":"no OCSP stapling for [mydomain.ddns.net]: no OCSP server specified in certificate","identifiers":["mydomain.ddns.net"]}
caddy-1 | {"level":"debug","ts":1753456389.5766845,"logger":"tls.cache","msg":"added certificate to cache","subjects":["mydomain.ddns.net"],"expiration":1761206189,"managed":true,"issuer_key":"acme-v02.api.letsencrypt.org-directory","hash":"213ad28d29977852438b5c0bd92554da4f0f7822bc1dad1ff9deb983d3b5d64f","cache_size":1,"cache_capacity":10000}
caddy-1 | {"level":"debug","ts":1753456389.576764,"logger":"events","msg":"event","name":"cached_managed_cert","id":"7fabba8e-395d-4dca-b3c2-02a6f7b0939e","origin":"tls","data":{"sans":["mydomain.ddns.net"]}}
caddy-1 | {"level":"debug","ts":1753456389.5769715,"logger":"events","msg":"event","name":"started","id":"7c73ad3c-e55a-46f0-9c27-42157eb8e621","origin":"","data":null}
caddy-1 | {"level":"info","ts":1753456389.5782452,"msg":"autosaved config (load with --resume flag)","file":"/config/caddy/autosave.json"}
caddy-1 | {"level":"info","ts":1753456389.5784826,"msg":"serving initial configuration"}
caddy-1 | {"level":"info","ts":1753456389.5842605,"logger":"tls","msg":"storage cleaning happened too recently; skipping for now","storage":"FileStorage:/data/caddy","instance":"02250a9c-3d83-4b7b-9a82-6438972013bf","try_again":1753542789.5842545,"try_again_in":86399.999997703}
caddy-1 | {"level":"info","ts":1753456389.5845222,"logger":"tls","msg":"finished cleaning storage units"}
caddy-1 | {"level":"debug","ts":1753456390.333207,"logger":"events","msg":"event","name":"tls_get_certificate","id":"4868632b-a947-4285-b683-698cf90393b9","origin":"tls","data":{"client_hello":{"CipherSuites":[4866,4867,4865,49196,49200,159,52393,52392,52394,49195,49199,158,49188,49192,107,49187,49191,103,49162,49172,57,49161,49171,51,173,171,52398,52397,52396,157,169,52395,172,170,156,168,61,60,49208,49206,183,179,149,145,53,175,141,49207,49205,182,178,148,144,47,174,140],"ServerName":"mydomain.ddns.net","SupportedCurves":[29,23,30,25,24,256,257,258,259,260],"SupportedPoints":"AAEC","SignatureSchemes":[1027,1283,1539,2055,2056,2074,2075,2076,2057,2058,2059,2052,2053,2054,1025,1281,1537,771,769,770,1026,1282,1538],"SupportedProtos":null,"SupportedVersions":[772,771],"RemoteAddr":{"IP":"82.212.15.135","Port":53140,"Zone":""},"LocalAddr":{"IP":"172.23.0.2","Port":443,"Zone":""}}}}
caddy-1 | {"level":"debug","ts":1753456390.333464,"logger":"tls.handshake","msg":"choosing certificate","identifier":"mydomain.ddns.net","num_choices":1}
caddy-1 | {"level":"debug","ts":1753456390.3334796,"logger":"tls.handshake","msg":"default certificate selection results","identifier":"mydomain.ddns.net","subjects":["mydomain.ddns.net"],"managed":true,"issuer_key":"acme-v02.api.letsencrypt.org-directory","hash":"213ad28d29977852438b5c0bd92554da4f0f7822bc1dad1ff9deb983d3b5d64f"}
caddy-1 | {"level":"debug","ts":1753456390.3334992,"logger":"tls.handshake","msg":"matched certificate in cache","remote_ip":"82.212.15.135","remote_port":"53140","subjects":["mydomain.ddns.net"],"managed":true,"expiration":1761206189,"hash":"213ad28d29977852438b5c0bd92554da4f0f7822bc1dad1ff9deb983d3b5d64f"}
caddy-1 | {"level":"debug","ts":1753456390.3972504,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"192.168.0.93:11000","total_upstreams":1}
caddy-1 | {"level":"debug","ts":1753456390.4519954,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"192.168.0.93:11000","duration":0.05457977,"request":{"remote_ip":"82.212.15.135","remote_port":"53140","client_ip":"82.212.15.135","proto":"HTTP/1.1","method":"GET","host":"mydomain.ddns.net","uri":"/index.php/204","headers":{"X-Forwarded-For":["82.212.15.135"],"Accept-Encoding":["zstd, gzip, deflate"],"Accept-Language":["de-DE,en,*"],"Accept":["*/*"],"X-Forwarded-Host":["mydomain.ddns.net"],"Via":["1.1 Caddy"],"X-Request-Id":["ed85486f-3095-4e08-8bc7-1714788ffc8e"],"User-Agent":["Mozilla/5.0 (Linux) mirall/3.16.6 (build 31593) (Nextcloud, linuxmint-6.8.0-64-generic ClientArchitecture: x86_64 OsArchitecture: x86_64)"],"X-Forwarded-Proto":["https"]},"tls":{"resumed":false,"version":772,"cipher_suite":4867,"proto":"","server_name":"mydomain.ddns.net"}},"error":"dial tcp 192.168.0.93:11000: connect: connection refused"}
caddy-1 | {"level":"error","ts":1753456390.4521844,"logger":"http.log.error","msg":"dial tcp 192.168.0.93:11000: connect: connection refused","request":{"remote_ip":"82.212.15.135","remote_port":"53140","client_ip":"82.212.15.135","proto":"HTTP/1.1","method":"GET","host":"mydomain.ddns.net","uri":"/index.php/204","headers":{"Accept-Encoding":["zstd, gzip, deflate"],"Accept-Language":["de-DE,en,*"],"User-Agent":["Mozilla/5.0 (Linux) mirall/3.16.6 (build 31593) (Nextcloud, linuxmint-6.8.0-64-generic ClientArchitecture: x86_64 OsArchitecture: x86_64)"],"Accept":["*/*"],"X-Request-Id":["ed85486f-3095-4e08-8bc7-1714788ffc8e"],"Connection":["Keep-Alive"]},"tls":{"resumed":false,"version":772,"cipher_suite":4867,"proto":"","server_name":"mydomain.ddns.net"}},"duration":0.054950284,"status":502,"err_id":"p42wvje1q","err_trace":"reverseproxy.statusError (reverseproxy.go:1390)"}

caddy-1 | {"level":"debug","ts":1753456396.0087905,"logger":"events","msg":"event","name":"tls_get_certificate","id":"1f703030-8e77-4060-9831-8b848d602a87","origin":"tls","data":{"client_hello":{"CipherSuites":[4866,4867,4865,4868,49196,52393,49325,49162,49195,49324,49161,49200,52392,49172,49199,49171,157,49309,53,156,49308,47,159,52394,49311,57,158,49310,51],"ServerName":"mydomain.ddns.net","SupportedCurves":[23,24,25,29,30,256,257,258,259,260],"SupportedPoints":"AA==","SignatureSchemes":[1025,2057,2052,1027,2055,1281,2058,2053,1283,2056,1537,2059,2054,1539,513,515],"SupportedProtos":["h2","http/1.1","http/1.0"],"SupportedVersions":[772,771,770,769],"RemoteAddr":{"IP":"82.212.15.135","Port":53146,"Zone":""},"LocalAddr":{"IP":"172.23.0.2","Port":443,"Zone":""}}}}
caddy-1 | {"level":"debug","ts":1753456396.0090222,"logger":"tls.handshake","msg":"choosing certificate","identifier":"mydomain.ddns.net","num_choices":1}
caddy-1 | {"level":"debug","ts":1753456396.0090728,"logger":"tls.handshake","msg":"default certificate selection results","identifier":"mydomain.ddns.net","subjects":["mydomain.ddns.net"],"managed":true,"issuer_key":"acme-v02.api.letsencrypt.org-directory","hash":"213ad28d29977852438b5c0bd92554da4f0f7822bc1dad1ff9deb983d3b5d64f"}
caddy-1 | {"level":"debug","ts":1753456396.0091124,"logger":"tls.handshake","msg":"matched certificate in cache","remote_ip":"82.212.15.135","remote_port":"53146","subjects":["mydomain.ddns.net"],"managed":true,"expiration":1761206189,"hash":"213ad28d29977852438b5c0bd92554da4f0f7822bc1dad1ff9deb983d3b5d64f"}
caddy-1 | {"level":"debug","ts":1753456396.0408027,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"192.168.0.93:11000","total_upstreams":1}
caddy-1 | {"level":"debug","ts":1753456396.0559578,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"192.168.0.93:11000","duration":0.014777333,"request":{"remote_ip":"82.212.15.135","remote_port":"53146","client_ip":"82.212.15.135","proto":"HTTP/2.0","method":"REPORT","host":"mydomain.ddns.net","uri":"/remote.php/dav/calendars/andi/testaio/","headers":{"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["de-de, de;q=0.9"],"Depth":["1"],"User-Agent":["Evolution/3.56.2"],"Cache-Control":["no-cache"],"Pragma":["no-cache"],"X-Forwarded-For":["82.212.15.135"],"X-Forwarded-Proto":["https"],"X-Forwarded-Host":["mydomain.ddns.net"],"Via":["2.0 Caddy"],"Content-Type":["application/xml; charset=\"utf-8\""],"Content-Length":["318"]},"tls":{"resumed":false,"version":772,"cipher_suite":4867,"proto":"h2","server_name":"mydomain.ddns.net"}},"error":"dial tcp 192.168.0.93:11000: connect: connection refused"}
caddy-1 | {"level":"error","ts":1753456396.0565417,"logger":"http.log.error","msg":"dial tcp 192.168.0.93:11000: connect: connection refused","request":{"remote_ip":"82.212.15.135","remote_port":"53146","client_ip":"82.212.15.135","proto":"HTTP/2.0","method":"REPORT","host":"mydomain.ddns.net","uri":"/remote.php/dav/calendars/andi/testaio/","headers":{"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["de-de, de;q=0.9"],"Depth":["1"],"User-Agent":["Evolution/3.56.2"],"Cache-Control":["no-cache"],"Pragma":["no-cache"],"Content-Type":["application/xml; charset=\"utf-8\""],"Content-Length":["318"]},"tls":{"resumed":false,"version":772,"cipher_suite":4867,"proto":"h2","server_name":"mydomain.ddns.net"}},"duration":0.015549732,"status":502,"err_id":"cgrafpg0g","err_trace":"reverseproxy.statusError (reverseproxy.go:1390)"}

caddy-1 | {"level":"debug","ts":1753456452.387643,"logger":"http.handlers.reverse_proxy","msg":"selected upstream","dial":"192.168.0.93:11000","total_upstreams":1}
caddy-1 | {"level":"debug","ts":1753456452.397915,"logger":"http.handlers.reverse_proxy","msg":"upstream roundtrip","upstream":"192.168.0.93:11000","duration":0.010132355,"request":{"remote_ip":"82.212.15.135","remote_port":"53140","client_ip":"82.212.15.135","proto":"HTTP/1.1","method":"GET","host":"mydomain.ddns.net","uri":"/index.php/204","headers":{"User-Agent":["Mozilla/5.0 (Linux) mirall/3.16.6 (build 31593) (Nextcloud, linuxmint-6.8.0-64-generic ClientArchitecture: x86_64 OsArchitecture: x86_64)"],"Accept":["*/*"],"X-Request-Id":["fa6ade79-b46d-4e9a-bb80-d83f6c7fd687"],"X-Forwarded-For":["82.212.15.135"],"Accept-Encoding":["zstd, gzip, deflate"],"Accept-Language":["de-DE,en,*"],"X-Forwarded-Host":["mydomain.ddns.net"],"Via":["1.1 Caddy"],"X-Forwarded-Proto":["https"]},"tls":{"resumed":false,"version":772,"cipher_suite":4867,"proto":"","server_name":"mydomain.ddns.net"}},"error":"dial tcp 192.168.0.93:11000: connect: connection refused"}
caddy-1 | {"level":"error","ts":1753456452.398081,"logger":"http.log.error","msg":"dial tcp 192.168.0.93:11000: connect: connection refused","request":{"remote_ip":"82.212.15.135","remote_port":"53140","client_ip":"82.212.15.135","proto":"HTTP/1.1","method":"GET","host":"mydomain.ddns.net","uri":"/index.php/204","headers":{"User-Agent":["Mozilla/5.0 (Linux) mirall/3.16.6 (build 31593) (Nextcloud, linuxmint-6.8.0-64-generic ClientArchitecture: x86_64 OsArchitecture: x86_64)"],"Accept":["*/*"],"X-Request-Id":["fa6ade79-b46d-4e9a-bb80-d83f6c7fd687"],"Connection":["Keep-Alive"],"Accept-Encoding":["zstd, gzip, deflate"],"Accept-Language":["de-DE,en,*"]},"tls":{"resumed":false,"version":772,"cipher_suite":4867,"proto":"","server_name":"mydomain.ddns.net"}},"duration":0.010465536,"status":502,"err_id":"mmsmy58e3","err_trace":"reverseproxy.statusError (reverseproxy.go:1390)"}

```

### Configuration

#### Nextcloud

running on server 1 (192.168.0.93)

1. _docker-compose.yml_ (without reverse-proxy):

```auto
services:
  nextcloud-aio-mastercontainer:
    image: ghcr.io/nextcloud-releases/all-in-one:latest
    init: true
    restart: always
    container_name: nextcloud-aio-mastercontainer # This line is not allowed to be changed as otherwise AIO will not work correctly
    volumes:
      - nextcloud_aio_mastercontainer:/mnt/docker-aio-config # This line is not allowed to be changed as otherwise the built-in backup solution will not work
      - /var/run/docker.sock:/var/run/docker.sock:ro # May be changed on macOS, Windows or docker rootless. See the applicable documentation. If adjusting, don't forget to also set 'WATCHTOWER_DOCKER_SOCKET_PATH'!
    network_mode: bridge # add to the same network as docker run would do
    ports:
      - 80:80 # Can be removed when running behind a web server or reverse proxy (like Apache, Nginx, Caddy, Cloudflare Tunnel and else). See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
      - 8080:8080
      - 8443:8443 # Can be removed when running behind a web server or reverse proxy (like Apache, Nginx, Caddy, Cloudflare Tunnel and else). See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
    environment:
      NEXTCLOUD_DATADIR: /media/docker/nextcloud/data_dir
      SKIP_DOMAIN_VALIDATION: true

volumes: # If you want to store the data on a different drive, see https://github.com/nextcloud/all-in-one#how-to-store-the-filesinstallation-on-a-separate-drive
  nextcloud_aio_mastercontainer:
    name: nextcloud_aio_mastercontainer # This line is not allowed to be changed as otherwise the built-in backup solution will not work

```

1. _docker-compose.yml_ (with reverse-proxy:

```auto
services:
  nextcloud-aio-mastercontainer:
    image: ghcr.io/nextcloud-releases/all-in-one:latest
    init: true
    restart: always
    container_name: nextcloud-aio-mastercontainer # This line is not allowed to be changed as otherwise AIO will not work correctly
    volumes:
      - nextcloud_aio_mastercontainer:/mnt/docker-aio-config # This line is not allowed to be changed as otherwise the built-in backup solution will not work
      - /var/run/docker.sock:/var/run/docker.sock:ro # May be changed on macOS, Windows or docker rootless. See the applicable documentation. If adjusting, don't forget to also set 'WATCHTOWER_DOCKER_SOCKET_PATH'!
    # network_mode: bridge # add to the same network as docker run would do
    network_mode: host
    ports:
    # - 80:80 # Can be removed when running behind a web server or reverse proxy (like Apache, Nginx, Caddy, Cloudflare Tunnel and else). See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
      - 8080:8080
      - 11000:11000
    # - 8443:8443 # Can be removed when running behind a web server or reverse proxy (like Apache, Nginx, Caddy, Cloudflare Tunnel and else). See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
    environment:
      - NEXTCLOUD_DATADIR: /media/docker/nextcloud/data_dir
      - SKIP_DOMAIN_VALIDATION: true
      - APACHE_PORT: 11000
      - APACHE_IP_BINDING: 0.0.0.0
      #APACHE_ADDITIONAL_NETWORK: ""

volumes: # If you want to store the data on a different drive, see https://github.com/nextcloud/all-in-one#how-to-store-the-filesinstallation-on-a-separate-drive
  nextcloud_aio_mastercontainer:
    name: nextcloud_aio_mastercontainer # This line is not allowed to be changed as otherwise the built-in backup solution will not work

```

1. php configuration

```auto
sudo docker exec --user www-data -it nextcloud-aio-nextcloud php /var/www/html/occ config:list system
{
    "system": {
        "one-click-instance": true,
        "one-click-instance.user-limit": 100,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "check_data_directory_permissions": false,
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": " ***REMOVED SENSITIVE VALUE***",
            "password": " ***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "overwritehost": "mydomain.ddns.net",
        "overwriteprotocol": "https",
        "passwordsalt": " ***REMOVED SENSITIVE VALUE***",
        "secret": " ***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "mydomain.ddns.net",
            "192.168.0.14"
        ],
        "datadirectory": " ***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "31.0.7.1",
        "overwrite.cli.url": "https:\/\/mydomain.ddns.net\/",
        "dbname": " ***REMOVED SENSITIVE VALUE***",
        "dbhost": " ***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": " ***REMOVED SENSITIVE VALUE***",
        "dbpassword": " ***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": " ***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "updatechecker": false,
        "loglevel": 2,
        "log_type": "file",
        "logfile": "\/var\/www\/html\/data\/nextcloud.log",
        "log_rotate_size": 10485760,
        "log.condition": {
            "apps": [
                "admin_audit"
            ]
        },
        "preview_max_x": 2048,
        "preview_max_y": 2048,
        "jpeg_quality": 60,
        "enabledPreviewProviders": {
            "1": "OC\\Preview\\Image",
            "2": "OC\\Preview\\MarkDown",
            "3": "OC\\Preview\\MP3",
            "4": "OC\\Preview\\TXT",
            "5": "OC\\Preview\\OpenDocument",
            "6": "OC\\Preview\\Movie",
            "7": "OC\\Preview\\Krita",
            "0": "OC\\Preview\\Imaginary",
            "23": "OC\\Preview\\ImaginaryPDF"
        },
        "enable_previews": true,
        "upgrade.disable-web": true,
        "mail_smtpmode": "smtp",
        "trashbin_retention_obligation": "auto, 30",
        "versions_retention_obligation": "auto, 30",
        "activity_expire_days": 30,
        "simpleSignUpLink.shown": false,
        "share_folder": "\/Shared",
        "one-click-instance.link": "https:\/\/nextcloud.com\/all-in-one\/",
        "upgrade.cli-upgrade-link": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/2726",
        "updatedirectory": "\/nc-updater",
        "maintenance_window_start": 100,
        "allow_local_remote_servers": true,
        "davstorage.request_timeout": 3600,
        "documentation_url.server_logs": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/5425",
        "htaccess.RewriteBase": "\/",
        "dbpersistent": false,
        "auth.bruteforce.protection.enabled": true,
        "ratelimit.protection.enabled": true,
        "files_external_allow_create_new_local": false,
        "trusted_proxies": " ***REMOVED SENSITIVE VALUE***",
        "preview_imaginary_url": " ***REMOVED SENSITIVE VALUE***",
        "preview_imaginary_key": " ***REMOVED SENSITIVE VALUE***",
        "DOMAIN": "mydomain.ddns.net"
    }
}

```

Caddy configuration running on server 2 (192.168.0.14)

1. _docker-compose.yml_ for caddy

```auto
services:
  caddy:
    image: caddy:latest
    restart: unless-stopped
    ports:
      - "80:80"
      - "443:443"
      - "443:443/udp"
    volumes:
      - ./conf:/etc/caddy
      - ./certs:/certs
      - ./site:/srv
      - caddy_data:/data
      - caddy_config:/config

volumes:
  caddy_data:
  caddy_config:

```

1. caddy config file: conf/Caddyfile

```auto
{
	debug
}
mydomain.ddns.net:1880 {
	reverse_proxy 192.168.0.14:1880
}
mydomain.ddns.net:443 {
	reverse_proxy 192.168.0.93:11000
}

```

#### Apps

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

### Tips for increasing the likelihood of a response

- Use the `preformatted text` formatting option in the editor for all log entries and configuration output.
- If screenshots are useful, feel free to include them.
  - If possible, also include key error output in text form so it can be searched for.

- Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.

#### Apps

```auto
sudo docker exec --user www-data -it nextcloud-aio-nextcloud php /var/www/html/occ config:list

{
    "system": {
        "one-click-instance": true,
        "one-click-instance.user-limit": 100,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "check_data_directory_permissions": false,
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": " ***REMOVED SENSITIVE VALUE***",
            "password": " ***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "overwritehost": "mydomain.ddns.net",
        "overwriteprotocol": "https",
        "passwordsalt": " ***REMOVED SENSITIVE VALUE***",
        "secret": " ***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "mydomain.ddns.net",
            "192.168.0.14"
        ],
        "datadirectory": " ***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "31.0.7.1",
        "overwrite.cli.url": "https:\/\/mydomain.ddns.net\/",
        "dbname": " ***REMOVED SENSITIVE VALUE***",
        "dbhost": " ***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": " ***REMOVED SENSITIVE VALUE***",
        "dbpassword": " ***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": " ***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "updatechecker": false,
        "loglevel": 2,
        "log_type": "file",
        "logfile": "\/var\/www\/html\/data\/nextcloud.log",
        "log_rotate_size": 10485760,
        "log.condition": {
            "apps": [
                "admin_audit"
            ]
        },
        "preview_max_x": 2048,
        "preview_max_y": 2048,
        "jpeg_quality": 60,
        "enabledPreviewProviders": {
            "1": "OC\\Preview\\Image",
            "2": "OC\\Preview\\MarkDown",
            "3": "OC\\Preview\\MP3",
            "4": "OC\\Preview\\TXT",
            "5": "OC\\Preview\\OpenDocument",
            "6": "OC\\Preview\\Movie",
            "7": "OC\\Preview\\Krita",
            "0": "OC\\Preview\\Imaginary",
            "23": "OC\\Preview\\ImaginaryPDF"
        },
        "enable_previews": true,
        "upgrade.disable-web": true,
        "mail_smtpmode": "smtp",
        "trashbin_retention_obligation": "auto, 30",
        "versions_retention_obligation": "auto, 30",
        "activity_expire_days": 30,
        "simpleSignUpLink.shown": false,
        "share_folder": "\/Shared",
        "one-click-instance.link": "https:\/\/nextcloud.com\/all-in-one\/",
        "upgrade.cli-upgrade-link": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/2726",
        "updatedirectory": "\/nc-updater",
        "maintenance_window_start": 100,
        "allow_local_remote_servers": true,
        "davstorage.request_timeout": 3600,
        "documentation_url.server_logs": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/5425",
        "htaccess.RewriteBase": "\/",
        "dbpersistent": false,
        "auth.bruteforce.protection.enabled": true,
        "ratelimit.protection.enabled": true,
        "files_external_allow_create_new_local": false,
        "trusted_proxies": " ***REMOVED SENSITIVE VALUE***",
        "preview_imaginary_url": " ***REMOVED SENSITIVE VALUE***",
        "preview_imaginary_key": " ***REMOVED SENSITIVE VALUE***",
        "DOMAIN": "mydomain.ddns.net"
    },
    "apps": {
        "activity": {
            "installed_version": "4.0.0",
            "types": "filesystem",
            "enabled": "yes"
        },
        "admin_audit": {
            "installed_version": "1.21.0",
            "types": "logging",
            "enabled": "yes",
            "logfile": "\/var\/www\/html\/data\/audit.log"
        },
        "app_api": {
            "default_daemon_config": "docker_aio",
            "installed_version": "5.0.2",
            "types": "",
            "enabled": "no"
        },
        "backgroundjob": {
            "lastjob": "10"
        },
        "bruteforcesettings": {
            "installed_version": "4.0.0",
            "types": "",
            "enabled": "yes"
        },
        "calendar": {
            "types": "",
            "enabled": "yes",
            "installed_version": "5.3.6"
        },
        "circles": {
            "installed_version": "31.0.0",
            "types": "filesystem,dav",
            "enabled": "yes",
            "loopback_tmp_scheme": "https",
            "migration_22": "1",
            "loopback_tmp_path": "\/",
            "migration_run": "0",
            "maintenance_run": "0",
            "maintenance_update": "{\"3\":1753534570,\"2\":1753535470,\"1\":1753535470}"
        },
        "cloud_federation_api": {
            "installed_version": "1.14.0",
            "types": "filesystem",
            "enabled": "yes"
        },
        "comments": {
            "installed_version": "1.21.0",
            "types": "logging",
            "enabled": "yes"
        },
        "contacts": {
            "enabled": "yes",
            "types": "dav",
            "installed_version": "7.2.0"
        },
        "contactsinteraction": {
            "installed_version": "1.12.0",
            "types": "dav",
            "enabled": "yes"
        },
        "core": {
            "installedat": "1751989030.8281",
            "vendor": "nextcloud",
            "public_files": "files_sharing\/public.php",
            "lastupdatedat": 0,
            "metadataGenerationDone": true,
            "moveavatarsdone": "yes",
            "previewsCleanedUp": "1",
            "backgroundjobs_mode": "cron",
            "lastcron": 1753535470,
            "files_metadata": {
                "photos-original_date_time": {
                    "value": null,
                    "type": "int",
                    "etag": "",
                    "indexed": true,
                    "editPermission": 0
                },
                "photos-size": {
                    "value": null,
                    "type": "array",
                    "etag": "",
                    "indexed": false,
                    "editPermission": 0
                },
                "photos-exif": {
                    "value": null,
                    "type": "array",
                    "etag": "",
                    "indexed": false,
                    "editPermission": 0
                },
                "photos-ifd0": {
                    "value": null,
                    "type": "array",
                    "etag": "",
                    "indexed": false,
                    "editPermission": 0
                },
                "blurhash": {
                    "value": null,
                    "type": "string",
                    "etag": "5de42567f612ed520c0d82f53f86b117",
                    "indexed": false,
                    "editPermission": 0
                }
            },
            "oc.integritycheck.checker": []
        },
        "dashboard": {
            "installed_version": "7.11.0",
            "types": "",
            "enabled": "yes"
        },
        "dav": {
            "installed_version": "1.33.0",
            "types": "filesystem",
            "enabled": "yes",
            "regeneratedBirthdayCalendarsForYearFix": "yes",
            "buildCalendarSearchIndex": "yes",
            "buildCalendarReminderIndex": "yes",
            "builtSocialSearchIndex": "yes"
        },
        "deck": {
            "installed_version": "1.15.1",
            "types": "dav",
            "enabled": "yes"
        },
        "federatedfilesharing": {
            "installed_version": "1.21.0",
            "types": "",
            "enabled": "yes"
        },
        "federation": {
            "installed_version": "1.21.0",
            "types": "authentication",
            "enabled": "yes"
        },
        "files": {
            "installed_version": "2.3.1",
            "types": "filesystem",
            "enabled": "yes",
            "mimetype_version": "31.0.7.1"
        },
        "files_downloadlimit": {
            "installed_version": "4.0.0",
            "types": "",
            "enabled": "yes"
        },
        "files_pdfviewer": {
            "installed_version": "4.0.0",
            "types": "",
            "enabled": "yes"
        },
        "files_reminders": {
            "installed_version": "1.4.0",
            "types": "",
            "enabled": "yes"
        },
        "files_sharing": {
            "installed_version": "1.23.1",
            "types": "filesystem",
            "enabled": "yes"
        },
        "files_trashbin": {
            "installed_version": "1.21.0",
            "types": "filesystem,dav",
            "enabled": "yes",
            "background_job_expire_trash_offset": 0
        },
        "files_versions": {
            "installed_version": "1.24.0",
            "types": "filesystem,dav",
            "enabled": "yes"
        },
        "firstrunwizard": {
            "installed_version": "4.0.0",
            "types": "",
            "enabled": "yes"
        },
        "logreader": {
            "installed_version": "4.0.0",
            "types": "logging",
            "enabled": "yes"
        },
        "lookup_server_connector": {
            "installed_version": "1.19.0",
            "types": "authentication",
            "enabled": "yes"
        },
        "nextcloud-aio": {
            "installed_version": "0.8.0",
            "types": "",
            "enabled": "yes"
        },
        "nextcloud_announcements": {
            "installed_version": "3.0.0",
            "types": "logging",
            "enabled": "yes",
            "pub_date": "Thu, 24 Oct 2019 00:00:00 +0200"
        },
        "notes": {
            "enabled": "yes",
            "types": "",
            "installed_version": "4.12.2"
        },
        "notifications": {
            "installed_version": "4.0.0",
            "types": "logging",
            "enabled": "yes"
        },
        "notify_push": {
            "installed_version": "1.1.0",
            "types": "filesystem",
            "base_endpoint": "https:\/\/mydomain.ddns.net\/push",
            "enabled": "yes"
        },
        "oauth2": {
            "installed_version": "1.19.1",
            "types": "authentication",
            "enabled": "yes"
        },
        "password_policy": {
            "installed_version": "3.0.0",
            "types": "authentication",
            "enabled": "yes"
        },
        "photos": {
            "types": "dav,authentication",
            "enabled": "yes",
            "installed_version": "4.0.0",
            "lastPlaceMappedUser": "admin",
            "lastPlaceMappingDone": "true"
        },
        "preview": {
            "jpeg_quality": "60"
        },
        "privacy": {
            "installed_version": "3.0.0",
            "types": "",
            "enabled": "yes"
        },
        "profile": {
            "installed_version": "1.0.0",
            "types": "",
            "enabled": "yes"
        },
        "provisioning_api": {
            "installed_version": "1.21.0",
            "types": "prevent_group_restriction",
            "enabled": "yes"
        },
        "recommendations": {
            "installed_version": "4.0.0",
            "types": "",
            "enabled": "yes"
        },
        "related_resources": {
            "installed_version": "2.0.0",
            "types": "",
            "enabled": "yes"
        },
        "serverinfo": {
            "installed_version": "3.0.0",
            "types": "",
            "enabled": "yes",
            "cached_count_appdata_files": 3120,
            "size_appdata_storage": -1,
            "cached_count_storages": 6,
            "cached_count_filecache": 3818
        },
        "settings": {
            "installed_version": "1.14.0",
            "types": "",
            "enabled": "yes"
        },
        "sharebymail": {
            "installed_version": "1.21.0",
            "types": "filesystem",
            "enabled": "yes"
        },
        "support": {
            "installed_version": "3.0.0",
            "types": "session",
            "enabled": "yes",
            "SwitchUpdaterServerHasRun": "yes"
        },
        "survey_client": {
            "installed_version": "3.0.0",
            "types": "",
            "enabled": "yes"
        },
        "systemtags": {
            "installed_version": "1.21.1",
            "types": "logging",
            "enabled": "yes"
        },
        "tasks": {
            "installed_version": "0.16.1",
            "types": "",
            "enabled": "yes"
        },
        "text": {
            "installed_version": "5.0.0",
            "types": "dav",
            "enabled": "yes"
        },
        "theming": {
            "installed_version": "2.6.1",
            "types": "logging",
            "enabled": "yes"
        },
        "twofactor_backupcodes": {
            "installed_version": "1.20.0",
            "types": "",
            "enabled": "yes"
        },
        "twofactor_totp": {
            "installed_version": "13.0.0-dev.0",
            "types": "",
            "enabled": "yes"
        },
        "updatenotification": {
            "installed_version": "1.21.0",
            "types": "",
            "enabled": "yes",
            "notify_groups": "[]",
            "calendar": "5.3.7",
            "contacts": "7.2.2",
            "notes": "4.12.2"
        },
        "user_status": {
            "installed_version": "1.11.0",
            "types": "",
            "enabled": "yes"
        },
        "viewer": {
            "installed_version": "4.0.0",
            "types": "",
            "enabled": "yes"
        },
        "weather_status": {
            "installed_version": "1.11.0",
            "types": "",
            "enabled": "yes"
        },
        "webhook_listeners": {
            "installed_version": "1.2.0",
            "types": "filesystem",
            "enabled": "yes"
        },
        "whiteboard": {
            "installed_version": "1.1.2",
            "types": "",
            "collabBackendUrl": "https:\/\/mydomain.ddns.net\/whiteboard",
            "jwt_secret_key": " ***REMOVED SENSITIVE VALUE***",
            "enabled": "yes"
        },
        "workflowengine": {
            "installed_version": "2.13.0",
            "types": "filesystem",
            "enabled": "yes"
        }
    }
}

```

### Tips for increasing the likelihood of a response

- Use the `preformatted text` formatting option in the editor for all log entries and configuration output.
- If screenshots are useful, feel free to include them.
  - If possible, also include key error output in text form so it can be searched for.

- Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.

---

<div class="post-metadata">

**Author:** ![afi4711](https://help.nextcloud.com/letter_avatar/afi4711/32/6_22734026db12803ebb3e059622ac3534.png) [@afi4711](https://help.nextcloud.com/u/afi4711)\
**Post date:** [July 26, 2025, 2:21pm UTC](https://help.nextcloud.com/t/nextcloudaio-apache-does-not-listen-to-port-11000/229344/2 "2025-07-26T14:21:43Z")

</div>

I found caddy files in the **apache container** :

```auto
docker exec -it nextcloud-aio-apache cat /tmp/Caddyfile
{
	auto_https disable_redirects

	storage file_system {
		root /mnt/data/caddy
	}

	servers {
		trusted_proxies static 172.18.0.0/16
	}

	log {
		level ERROR
	}
}

{$PROTOCOL}://{$NC_DOMAIN}:{$APACHE_PORT} {
	header -Server
	header -X-Powered-By

	# Collabora
	route /browser/* {
		reverse_proxy {$COLLABORA_HOST}:9980
	}
	route /hosting/* {
		reverse_proxy {$COLLABORA_HOST}:9980
	}
	route /cool/* {
		reverse_proxy {$COLLABORA_HOST}:9980
	}

	# Notify Push
	route /push/* {
		uri strip_prefix /push
		reverse_proxy {$NOTIFY_PUSH_HOST}:7867
	}

	# Onlyoffice
	route /onlyoffice/* {
		uri strip_prefix /onlyoffice
		reverse_proxy {$ONLYOFFICE_HOST}:80 {
			header_up X-Forwarded-Host {http.request.hostport}/onlyoffice
			header_up X-Forwarded-Proto https
		}
	}

	# Talk
	route /standalone-signaling/* {
		uri strip_prefix /standalone-signaling
		reverse_proxy {$TALK_HOST}:8081
	}

	# Whiteboard
	route /whiteboard/* {
		uri strip_prefix /whiteboard
		reverse_proxy {$WHITEBOARD_HOST}:3002
	}

	# Nextcloud
	route {
		header Strict-Transport-Security max-age=31536000;
		reverse_proxy 127.0.0.1:8000
	}
	redir /.well-known/carddav /remote.php/dav/ 301
	redir /.well-known/caldav /remote.php/dav/ 301

	# TLS options
	tls {
		issuer acme {
			disable_http_challenge
		}
	}
}

```

and

```auto
docker exec -it nextcloud-aio-apache ls -al /mnt/data/caddy
total 24
drwxr-xr-x 5 www-data www-data 4096 Jul 26 10:16 .
drwxr-xr-x 3 www-data www-data 4096 Jul 8 15:43 ..
drwx------ 3 www-data www-data 4096 Jul 8 15:43 acme
drwx------ 3 www-data www-data 4096 Jul 8 15:43 certificates
-rw------- 1 www-data www-data 106 Jul 26 10:16 last_clean.json
drwx------ 2 www-data www-data 4096 Jul 26 10:16 locks

```

Why are this files available and how are it used?

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [July 26, 2025, 8:52pm UTC](https://help.nextcloud.com/t/nextcloudaio-apache-does-not-listen-to-port-11000/229344/3 "2025-07-26T20:52:50Z")

</div>

Hello @afi4711,

welcome to the Nextcloud community! 🤝

> [@afi4711](#):
>
> I found caddy files in the **apache container** :

please don’t mess with the AiO containers - the system is not designed for direct interaction. It has caddy built-in for straight installation without #reverseproxy. Please review the [AiO reverse proxy docs](https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md) for examples.

---

<div class="post-metadata">

**Author:** ![afi4711](https://help.nextcloud.com/letter_avatar/afi4711/32/6_22734026db12803ebb3e059622ac3534.png) [@afi4711](https://help.nextcloud.com/u/afi4711)\
**Post date:** [July 27, 2025, 10:11am UTC](https://help.nextcloud.com/t/nextcloudaio-apache-does-not-listen-to-port-11000/229344/4 "2025-07-27T10:11:22Z")

</div>

Thank you for the hint. I have read all documents.  
Main problem is that the AIO containers does not listen to port 11000:

````auto
curl -vvv 192.168.0.93:11000
* Trying 192.168.0.93:11000...
* connect to 192.168.0.93 port 11000 failed: Verbindungsaufbau abgelehnt
* Failed to connect to 192.168.0.93 port 11000 after 32 ms: Couldn't connect to server
* Closing connection 0
curl: (7) Failed to connect to 192.168.0.93 port 11000 after 32 ms: Couldn't connect to server

```
````

---

<div class="post-metadata">

**Author:** ![afi4711](https://help.nextcloud.com/letter_avatar/afi4711/32/6_22734026db12803ebb3e059622ac3534.png) [@afi4711](https://help.nextcloud.com/u/afi4711)\
**Post date:** [July 27, 2025, 3:58pm UTC](https://help.nextcloud.com/t/nextcloudaio-apache-does-not-listen-to-port-11000/229344/5 "2025-07-27T15:58:16Z")

</div>

Although APACHE\_PORT is set to 11000 in docker-compose.yaml, the _env_ in the apache container (`nextcloud-aio-apache`):

```auto
 environment:
      - NEXTCLOUD_DATADIR: /media/andi/Backup-T7/docker/nextcloud/data_dir
      - SKIP_DOMAIN_VALIDATION: true
      - APACHE_PORT=11000
      - APACHE_IP_BINDING=0.0.0.0

```

```auto
docker exec -it nextcloud-aio-apache env | grep -i apa
PATH=/usr/local/apache2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=nextcloud-aio-apache
APACHE_HOST=nextcloud-aio-apache
APACHE_PORT=443
APACHE_MAX_SIZE=17179869184
APACHE_MAX_TIME=3600
HTTPD_PREFIX=/usr/local/apache2

```

---

<div class="post-metadata">

**Author:** ![szaimen](https://help.nextcloud.com/user_avatar/help.nextcloud.com/szaimen/32/63019_2.png) [@szaimen](https://help.nextcloud.com/u/szaimen)\
**Post date:** [July 27, 2025, 4:05pm UTC](https://help.nextcloud.com/t/nextcloudaio-apache-does-not-listen-to-port-11000/229344/6 "2025-07-27T16:05:59Z")

</div>

Hi, can you open the aio interface and stop and start the containers again? Only then are changes applied to the sibling containers.

---

<div class="post-metadata">

**Author:** ![afi4711](https://help.nextcloud.com/letter_avatar/afi4711/32/6_22734026db12803ebb3e059622ac3534.png) [@afi4711](https://help.nextcloud.com/u/afi4711)\
**Post date:** [July 27, 2025, 5:05pm UTC](https://help.nextcloud.com/t/nextcloudaio-apache-does-not-listen-to-port-11000/229344/7 "2025-07-27T17:05:18Z")

</div>

Of course i restarted all containers with the aio interface. For testing, I define some own variables, but nothing could be seen in both container (mastercontainer or apache)?  
For example, this environment

```auto
   environment:
      - NEXTCLOUD_DATADIR: /media/andi/Backup-T7/docker/nextcloud/data_dir
      - SKIP_DOMAIN_VALIDATION: true
      - APACHE_PORT: 11000
      - APACHE_IP_BINDING: 0.0.0.0
      - MY_VAR1: 11
      - MY_VAR2: 12
      - MY_VAR3: 13

```

in the _docker-compose.yml_ file shows these results:

```auto
docker exec -it nextcloud-aio-apache env 

PATH=/usr/local/apache2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=nextcloud-aio-apache
TERM=xterm
NC_DOMAIN=afiraspi.ddns.net
NEXTCLOUD_HOST=nextcloud-aio-nextcloud
APACHE_HOST=nextcloud-aio-apache
COLLABORA_HOST=nextcloud-aio-collabora
TALK_HOST=nextcloud-aio-talk
APACHE_PORT=443
ONLYOFFICE_HOST=nextcloud-aio-onlyoffice
TZ=Etc/UTC
APACHE_MAX_SIZE=17179869184
APACHE_MAX_TIME=3600
NOTIFY_PUSH_HOST=nextcloud-aio-notify-push
WHITEBOARD_HOST=nextcloud-aio-whiteboard
HTTPD_PREFIX=/usr/local/apache2
HTTPD_VERSION=2.4.63
HTTPD_SHA256=88fc236ab99b2864b248de7d49a008ec2afd7551e64dce8b95f58f32f94c46ab
HTTPD_PATCHES=
HOME=/home/www-data

docker exec -it nextcloud-aio-mastercontainer env

PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=de9086c70509
TERM=xterm
SKIP_DOMAIN_VALIDATION=true
NEXTCLOUD_DATADIR=/media/andi/Backup-T7/docker/nextcloud/data_dir
PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
PHP_INI_DIR=/usr/local/etc/php
PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
PHP_LDFLAGS=-Wl,-O1 -pie
GPG_KEYS=AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD
PHP_VERSION=8.4.10
PHP_URL=https://www.php.net/distributions/php-8.4.10.tar.xz
PHP_ASC_URL=https://www.php.net/distributions/php-8.4.10.tar.xz.asc
PHP_SHA256=14983a9ef8800e6bc2d920739fd386054402f7976ca9cd7f711509496f0d2632
HOME=/root

```

It is very strange, isn’t it?

---

<div class="post-metadata">

**Author:** ![szaimen](https://help.nextcloud.com/user_avatar/help.nextcloud.com/szaimen/32/63019_2.png) [@szaimen](https://help.nextcloud.com/u/szaimen)\
**Post date:** [July 27, 2025, 5:49pm UTC](https://help.nextcloud.com/t/nextcloudaio-apache-does-not-listen-to-port-11000/229344/9 "2025-07-27T17:49:36Z")

</div>

Indeed it is strange. Is something logged in the mastercontainer logs after you restarted the containers via the aio interface? Also, can you post the output of `sudo docker inspect nextcloud-aio-mastercontainer` here?

---

<div class="post-metadata">

**Author:** ![afi4711](https://help.nextcloud.com/letter_avatar/afi4711/32/6_22734026db12803ebb3e059622ac3534.png) [@afi4711](https://help.nextcloud.com/u/afi4711)\
**Post date:** [July 27, 2025, 6:53pm UTC](https://help.nextcloud.com/t/nextcloudaio-apache-does-not-listen-to-port-11000/229344/10 "2025-07-27T18:53:59Z")

</div>

Perhaps I have to remove the containers and restart again? In the _mastercontainer_ logs there is nothing logged after restart, here the _inspect_ output:

```auto
docker inspect nextcloud-aio-mastercontainer
[
    {
        "Id": "b2fff0e72cdacacd2bd0d88a3be77acf29a97caf15d0aea01e482eecd309eb89",
        "Created": "2025-07-17T11:33:34.006743138Z",
        "Path": "/start.sh",
        "Args": [],
        "State": {
            "Status": "running",
            "Running": true,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 1915784,
            "ExitCode": 0,
            "Error": "",
            "StartedAt": "2025-07-26T13:32:45.040897681Z",
            "FinishedAt": "2025-07-26T13:32:35.282910877Z",
            "Health": {
                "Status": "healthy",
                "FailingStreak": 0,
                "Log": [
                    {
                        "Start": "2025-07-27T20:50:13.865332462+02:00",
                        "End": "2025-07-27T20:50:13.993012841+02:00",
                        "ExitCode": 0,
                        "Output": "Connection to 127.0.0.1 80 port [tcp/http] succeeded!\nConnection to 127.0.0.1 8000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 8080 port [tcp/http-alt] succeeded!\nConnection to 127.0.0.1 8443 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9876 port [tcp/*] succeeded!\n"
                    },
                    {
                        "Start": "2025-07-27T20:50:43.99647499+02:00",
                        "End": "2025-07-27T20:50:44.176164748+02:00",
                        "ExitCode": 0,
                        "Output": "Connection to 127.0.0.1 80 port [tcp/http] succeeded!\nConnection to 127.0.0.1 8000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 8080 port [tcp/http-alt] succeeded!\nConnection to 127.0.0.1 8443 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9876 port [tcp/*] succeeded!\n"
                    },
                    {
                        "Start": "2025-07-27T20:51:14.179402334+02:00",
                        "End": "2025-07-27T20:51:14.354220764+02:00",
                        "ExitCode": 0,
                        "Output": "Connection to 127.0.0.1 80 port [tcp/http] succeeded!\nConnection to 127.0.0.1 8000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 8080 port [tcp/http-alt] succeeded!\nConnection to 127.0.0.1 8443 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9876 port [tcp/*] succeeded!\n"
                    },
                    {
                        "Start": "2025-07-27T20:51:44.356652865+02:00",
                        "End": "2025-07-27T20:51:44.529085339+02:00",
                        "ExitCode": 0,
                        "Output": "Connection to 127.0.0.1 80 port [tcp/http] succeeded!\nConnection to 127.0.0.1 8000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 8080 port [tcp/http-alt] succeeded!\nConnection to 127.0.0.1 8443 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9876 port [tcp/*] succeeded!\n"
                    },
                    {
                        "Start": "2025-07-27T20:52:14.531216633+02:00",
                        "End": "2025-07-27T20:52:14.663460538+02:00",
                        "ExitCode": 0,
                        "Output": "Connection to 127.0.0.1 80 port [tcp/http] succeeded!\nConnection to 127.0.0.1 8000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 8080 port [tcp/http-alt] succeeded!\nConnection to 127.0.0.1 8443 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9000 port [tcp/*] succeeded!\nConnection to 127.0.0.1 9876 port [tcp/*] succeeded!\n"
                    }
                ]
            }
        },
        "Image": "sha256:505d629c97f41d3c9f9e1e08174b9166ea50bdb75105e66785c7de9ce386118b",
        "ResolvConfPath": "/media/andi/Backup-T7/var_docker/containers/b2fff0e72cdacacd2bd0d88a3be77acf29a97caf15d0aea01e482eecd309eb89/resolv.conf",
        "HostnamePath": "/media/andi/Backup-T7/var_docker/containers/b2fff0e72cdacacd2bd0d88a3be77acf29a97caf15d0aea01e482eecd309eb89/hostname",
        "HostsPath": "/media/andi/Backup-T7/var_docker/containers/b2fff0e72cdacacd2bd0d88a3be77acf29a97caf15d0aea01e482eecd309eb89/hosts",
        "LogPath": "/media/andi/Backup-T7/var_docker/containers/b2fff0e72cdacacd2bd0d88a3be77acf29a97caf15d0aea01e482eecd309eb89/b2fff0e72cdacacd2bd0d88a3be77acf29a97caf15d0aea01e482eecd309eb89-json.log",
        "Name": "/nextcloud-aio-mastercontainer",
        "RestartCount": 0,
        "Driver": "overlay2",
        "Platform": "linux",
        "MountLabel": "",
        "ProcessLabel": "",
        "AppArmorProfile": "",
        "ExecIDs": null,
        "HostConfig": {
            "Binds": [
                "nextcloud_aio_mastercontainer:/mnt/docker-aio-config:rw",
                "/var/run/docker.sock:/var/run/docker.sock:ro"
            ],
            "ContainerIDFile": "",
            "LogConfig": {
                "Type": "json-file",
                "Config": {}
            },
            "NetworkMode": "bridge",
            "PortBindings": {
                "80/tcp": [
                    {
                        "HostIp": "",
                        "HostPort": "80"
                    }
                ],
                "8080/tcp": [
                    {
                        "HostIp": "",
                        "HostPort": "8080"
                    }
                ],
                "8443/tcp": [
                    {
                        "HostIp": "",
                        "HostPort": "8443"
                    }
                ]
            },
            "RestartPolicy": {
                "Name": "always",
                "MaximumRetryCount": 0
            },
            "AutoRemove": false,
            "VolumeDriver": "",
            "VolumesFrom": null,
            "ConsoleSize": [
                0,
                0
            ],
            "CapAdd": null,
            "CapDrop": null,
            "CgroupnsMode": "private",
            "Dns": [],
            "DnsOptions": [],
            "DnsSearch": [],
            "ExtraHosts": [],
            "GroupAdd": null,
            "IpcMode": "private",
            "Cgroup": "",
            "Links": null,
            "OomScoreAdj": 0,
            "PidMode": "",
            "Privileged": false,
            "PublishAllPorts": false,
            "ReadonlyRootfs": false,
            "SecurityOpt": null,
            "UTSMode": "",
            "UsernsMode": "",
            "ShmSize": 67108864,
            "Runtime": "runc",
            "Isolation": "",
            "CpuShares": 0,
            "Memory": 0,
            "NanoCpus": 0,
            "CgroupParent": "",
            "BlkioWeight": 0,
            "BlkioWeightDevice": null,
            "BlkioDeviceReadBps": null,
            "BlkioDeviceWriteBps": null,
            "BlkioDeviceReadIOps": null,
            "BlkioDeviceWriteIOps": null,
            "CpuPeriod": 0,
            "CpuQuota": 0,
            "CpuRealtimePeriod": 0,
            "CpuRealtimeRuntime": 0,
            "CpusetCpus": "",
            "CpusetMems": "",
            "Devices": null,
            "DeviceCgroupRules": null,
            "DeviceRequests": null,
            "MemoryReservation": 0,
            "MemorySwap": 0,
            "MemorySwappiness": null,
            "OomKillDisable": null,
            "PidsLimit": null,
            "Ulimits": null,
            "CpuCount": 0,
            "CpuPercent": 0,
            "IOMaximumIOps": 0,
            "IOMaximumBandwidth": 0,
            "MaskedPaths": [
                "/proc/asound",
                "/proc/acpi",
                "/proc/interrupts",
                "/proc/kcore",
                "/proc/keys",
                "/proc/latency_stats",
                "/proc/timer_list",
                "/proc/timer_stats",
                "/proc/sched_debug",
                "/proc/scsi",
                "/sys/firmware",
                "/sys/devices/virtual/powercap"
            ],
            "ReadonlyPaths": [
                "/proc/bus",
                "/proc/fs",
                "/proc/irq",
                "/proc/sys",
                "/proc/sysrq-trigger"
            ],
            "Init": true
        },
        "GraphDriver": {
            "Data": {
                "ID": "b2fff0e72cdacacd2bd0d88a3be77acf29a97caf15d0aea01e482eecd309eb89",
                "LowerDir": "/media/andi/Backup-T7/var_docker/overlay2/bfbf79aaf5cc3e28792493c9f2b3034646ffe1e394dcdef04f2647e0885e4d8d-init/diff:/media/andi/Backup-T7/var_docker/overlay2/a427904e0d37e8df325bebc7bab32122531d89df6442df5df5869973831fce47/diff:/media/andi/Backup-T7/var_docker/overlay2/3e27d77320d65b1cb145954e0f06eb967e030fc063a2b361a3228be27e4263f6/diff:/media/andi/Backup-T7/var_docker/overlay2/70c7bf197b6e382f4c67665de2078c02d171b76f175aa010db059244a8b8f59a/diff:/media/andi/Backup-T7/var_docker/overlay2/15fcde4eab7346cf271a1b150a934da7a2b0e02888049c6435aef155c8c0b1c8/diff:/media/andi/Backup-T7/var_docker/overlay2/84552d853983fcca60bee32b6d4da6dce4f57e0f3100a7532570a619ace837e6/diff:/media/andi/Backup-T7/var_docker/overlay2/a09d927b71dd9f30921fe9248db400431610dfce5c8aaae8fa958786ea949c57/diff:/media/andi/Backup-T7/var_docker/overlay2/dae40f21c869746499068494dc5efeaf212b5f9aabe192c06cb14284a88c6c9b/diff:/media/andi/Backup-T7/var_docker/overlay2/a5221200cb70395fe898980d1a57ef171b7864f5482a8bcd4b752e6188778254/diff:/media/andi/Backup-T7/var_docker/overlay2/4bfe5842be70772f70831dbce5b3b7d20dd8de89aab26aed5ad634a9cad54f4d/diff:/media/andi/Backup-T7/var_docker/overlay2/75d047296d71499392df779369d57d6453a529ef8f0f9f7cad8307cc010866bd/diff:/media/andi/Backup-T7/var_docker/overlay2/a960bdf35741ff06bd385810fc81868ab5979faaf2bda28095c7c03bf83eb3fc/diff:/media/andi/Backup-T7/var_docker/overlay2/80f5f7c37d9ac045487471cbe2ce8dcbfc4671fe36c0e801b472f1bb0632dc58/diff:/media/andi/Backup-T7/var_docker/overlay2/b05055302719d9fb155f5040eadf4c59741ac1dd6ad2cd0b4f030460c94a60de/diff:/media/andi/Backup-T7/var_docker/overlay2/aecfce199ad8e778ad160346327344a4e32c95c650da37f50d9483653cd69afe/diff:/media/andi/Backup-T7/var_docker/overlay2/b105b3575700d0b61b60e5b4af7697a91a459ee31f685b3d5a4a1fa3bd34c841/diff:/media/andi/Backup-T7/var_docker/overlay2/e473b2f9788fc5e7228c0eb68118bf8b9107e4d9e62e8aea655c042ea2e6d519/diff:/media/andi/Backup-T7/var_docker/overlay2/156d0707e1474ee626eddae57155a615fab01d516b301cdc68742f5bc4611030/diff:/media/andi/Backup-T7/var_docker/overlay2/de40998fb453da62ae8cf68edb2240eb71a73b1d2594f54cc76c7f56cd3d7c69/diff:/media/andi/Backup-T7/var_docker/overlay2/10679caeddb5ef82b72212662b565082186e81f5a0fe826f89cbac119a9b541e/diff:/media/andi/Backup-T7/var_docker/overlay2/19a53e8057ed8279abb33a63b149c65ff5d87c555eed12fb12c8bd0ad7ddba0a/diff",
                "MergedDir": "/media/andi/Backup-T7/var_docker/overlay2/bfbf79aaf5cc3e28792493c9f2b3034646ffe1e394dcdef04f2647e0885e4d8d/merged",
                "UpperDir": "/media/andi/Backup-T7/var_docker/overlay2/bfbf79aaf5cc3e28792493c9f2b3034646ffe1e394dcdef04f2647e0885e4d8d/diff",
                "WorkDir": "/media/andi/Backup-T7/var_docker/overlay2/bfbf79aaf5cc3e28792493c9f2b3034646ffe1e394dcdef04f2647e0885e4d8d/work"
            },
            "Name": "overlay2"
        },
        "Mounts": [
            {
                "Type": "volume",
                "Name": "nextcloud_aio_mastercontainer",
                "Source": "/media/andi/Backup-T7/var_docker/volumes/nextcloud_aio_mastercontainer/_data",
                "Destination": "/mnt/docker-aio-config",
                "Driver": "local",
                "Mode": "rw",
                "RW": true,
                "Propagation": ""
            },
            {
                "Type": "bind",
                "Source": "/var/run/docker.sock",
                "Destination": "/var/run/docker.sock",
                "Mode": "ro",
                "RW": false,
                "Propagation": "rprivate"
            }
        ],
        "Config": {
            "Hostname": "de9086c70509",
            "Domainname": "",
            "User": "root",
            "AttachStdin": false,
            "AttachStdout": true,
            "AttachStderr": true,
            "ExposedPorts": {
                "80/tcp": {},
                "8080/tcp": {},
                "8443/tcp": {},
                "9000/tcp": {}
            },
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "SKIP_DOMAIN_VALIDATION=true",
                "NEXTCLOUD_DATADIR=/media/andi/Backup-T7/docker/nextcloud/data_dir",
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "PHPIZE_DEPS=autoconf \t\tdpkg-dev dpkg \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkgconf \t\tre2c",
                "PHP_INI_DIR=/usr/local/etc/php",
                "PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64",
                "PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64",
                "PHP_LDFLAGS=-Wl,-O1 -pie",
                "GPG_KEYS=AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD",
                "PHP_VERSION=8.4.10",
                "PHP_URL=https://www.php.net/distributions/php-8.4.10.tar.xz",
                "PHP_ASC_URL=https://www.php.net/distributions/php-8.4.10.tar.xz.asc",
                "PHP_SHA256=14983a9ef8800e6bc2d920739fd386054402f7976ca9cd7f711509496f0d2632"
            ],
            "Cmd": null,
            "Healthcheck": {
                "Test": [
                    "CMD-SHELL",
                    "/healthcheck.sh"
                ]
            },
            "Image": "ghcr.io/nextcloud-releases/all-in-one:latest",
            "Volumes": null,
            "WorkingDir": "/var/www/docker-aio",
            "Entrypoint": [
                "/start.sh"
            ],
            "OnBuild": null,
            "Labels": {
                "com.docker.compose.config-hash": "f5c21ab69b295db21378e4ef6c1115b6a2a38dd537f3c2a608933fd34b7d3dde",
                "com.docker.compose.container-number": "1",
                "com.docker.compose.depends_on": "",
                "com.docker.compose.image": "sha256:d5b50ff7e7611d63f64b9a063fe0243a687be0bdc22e542016b07a98f02afe22",
                "com.docker.compose.oneoff": "False",
                "com.docker.compose.project": "nextcloud",
                "com.docker.compose.project.config_files": "/media/andi/Backup-T7/docker/nextcloud/docker-compose.yaml",
                "com.docker.compose.project.working_dir": "/media/andi/Backup-T7/docker/nextcloud",
                "com.docker.compose.service": "nextcloud-aio-mastercontainer",
                "com.docker.compose.version": "2.38.1",
                "org.label-schema.vendor": "Nextcloud"
            },
            "StopSignal": "SIGQUIT"
        },
        "NetworkSettings": {
            "Bridge": "",
            "SandboxID": "679f3a97e037f48f7be280027c70c33fa8241aacee75622684ce5802d99dae18",
            "SandboxKey": "/var/run/docker/netns/679f3a97e037",
            "Ports": {
                "80/tcp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "80"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "80"
                    }
                ],
                "8080/tcp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "8080"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "8080"
                    }
                ],
                "8443/tcp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "8443"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "8443"
                    }
                ],
                "9000/tcp": null
            },
            "HairpinMode": false,
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "SecondaryIPAddresses": null,
            "SecondaryIPv6Addresses": null,
            "EndpointID": "",
            "Gateway": "",
            "GlobalIPv6Address": "",
            "GlobalIPv6PrefixLen": 0,
            "IPAddress": "",
            "IPPrefixLen": 0,
            "IPv6Gateway": "",
            "MacAddress": "",
            "Networks": {
                "nextcloud-aio": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": null,
                    "MacAddress": "26:7f:57:65:e4:14",
                    "DriverOpts": null,
                    "GwPriority": 0,
                    "NetworkID": "8af19ecfa56162ab0d67e89b72392e04969f02b9cc8e8db95bf2c07560604fce",
                    "EndpointID": "55eb363824e9c367cc4f0065863c4c394a367945a1271dfaf2a7e483dfcff003",
                    "Gateway": "172.18.0.1",
                    "IPAddress": "172.18.0.3",
                    "IPPrefixLen": 16,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "DNSNames": [
                        "nextcloud-aio-mastercontainer",
                        "b2fff0e72cda",
                        "de9086c70509"
                    ]
                }
            }
        }
    }
]

```

---

<div class="post-metadata">

**Author:** ![szaimen](https://help.nextcloud.com/user_avatar/help.nextcloud.com/szaimen/32/63019_2.png) [@szaimen](https://help.nextcloud.com/u/szaimen)\
**Post date:** [July 27, 2025, 7:09pm UTC](https://help.nextcloud.com/t/nextcloudaio-apache-does-not-listen-to-port-11000/229344/11 "2025-07-27T19:09:31Z")

</div>

> [@afi4711](#):
>
> ```auto
> "Env": [
> "SKIP_DOMAIN_VALIDATION=true",
> "NEXTCLOUD_DATADIR=/media/andi/Backup-T7/docker/nextcloud/data_dir",
> "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
> "PHPIZE_DEPS=autoconf \t\tdpkg-dev dpkg \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkgconf \t\tre2c",
> "PHP_INI_DIR=/usr/local/etc/php",
> "PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64",
> "PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64",
> "PHP_LDFLAGS=-Wl,-O1 -pie",
> "GPG_KEYS=AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD",
> "PHP_VERSION=8.4.10",
> "PHP_URL=https://www.php.net/distributions/php-8.4.10.tar.xz",
> "PHP_ASC_URL=https://www.php.net/distributions/php-8.4.10.tar.xz.asc",
> "PHP_SHA256=14983a9ef8800e6bc2d920739fd386054402f7976ca9cd7f711509496f0d2632"
> ],
> 
> ```

Indeed, looks like the APACHE\_PORT is not set in the mastercontainer env settings. So probably you missed to run docker compose down and then docker compose up to propagate the settings. Afterwards you need to stop and start the containers via the AIO interface to propagate the new settings to the sibling containers.

---

<div class="post-metadata">

**Author:** ![afi4711](https://help.nextcloud.com/letter_avatar/afi4711/32/6_22734026db12803ebb3e059622ac3534.png) [@afi4711](https://help.nextcloud.com/u/afi4711)\
**Post date:** [July 27, 2025, 7:42pm UTC](https://help.nextcloud.com/t/nextcloudaio-apache-does-not-listen-to-port-11000/229344/12 "2025-07-27T19:42:13Z")

</div>

Oops, there is a problem:

```auto
docker compose down
services.nextcloud-aio-mastercontainer.environment.[0]: unexpected type map[string]interface {}

```

I have to check it. Probably wrong formatted. I will do this tomorrow.  
Thank you very much so far.

---

<div class="post-metadata">

**Author:** ![afi4711](https://help.nextcloud.com/letter_avatar/afi4711/32/6_22734026db12803ebb3e059622ac3534.png) [@afi4711](https://help.nextcloud.com/u/afi4711)\
**Post date:** [July 27, 2025, 9:47pm UTC](https://help.nextcloud.com/t/nextcloudaio-apache-does-not-listen-to-port-11000/229344/13 "2025-07-27T21:47:09Z")

</div>

That’s it!!!  
To run compose down and up was the solution!  
Now the environment is OK and apache is listening to port 11000.  
Now the Caddy server on another host works fine.  
Thanks a lot!

---

<div class="post-metadata">

**Author:** ![system](https://help.nextcloud.com/user_avatar/help.nextcloud.com/system/32/29333_2.png) [@system](https://help.nextcloud.com/u/system)\
**Post date:** [August 4, 2025, 9:47pm UTC](https://help.nextcloud.com/t/nextcloudaio-apache-does-not-listen-to-port-11000/229344/14 "2025-08-04T21:47:44Z")

</div>

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.
