Issue with AIO v7.4.1 Apache does not start ("500 Internal Server Error")

Issue

This was a working Nexcloud AIO instance for a long while, and I believe a forced Windows reboot may have damaged Nextcloud AIO config or something related to Apache without the Hyper-VM gracefully stopping.

Iā€™m not sure exactly when Apache stopped working.

Nextcloud AIO Container Status (now)

Containers
 Apache (Stopped)
 Database (Running)
 Nextcloud (Starting)
 Notify Push (Starting)
 Redis (Running)
 Collabora (Running)
 Talk (Running)
 ClamAV (Running)
 Imaginary (Running)
 Fulltextsearch (Running)
Your containers are up-to-date.
  • An entry in master container shows this error first appeared on 21/10/2023 after 13:07.
  • This ties in with a windows reboot at 21/10/2023 at 13:02.
  • Prior to this, the log shows some several backup at 02:00 every night prior and on 17/10/2023 at 03:00 images were untagged/deleted (not sure if this is relevant or not to my issue):
Starting and updating containers...
Waiting for the Nextcloud container to start
Waiting for the Nextcloud container to start
Waiting for the Nextcloud container to start
Waiting for the Nextcloud container to start
Waiting for the Nextcloud container to start
Sending backup notification...
Daily backup script has finished
Deleted Images:
untagged: nextcloud/aio-postgresql@sha256:868876a18c02560bf44c5b2018e6aa5d1b9b3c477b821c9097d179b7665471aa
deleted: sha256:846817da21fbceec7de138c3935e7efec1faa12ac3928fa92909c8db182e18f2
deleted: sha256:c323131c11e145e750d65295ffac3a3946aea569a2b8983236fabba1b05b5eff
deleted: sha256:4a03d55ed177eb778441cd24bbe2499f8891a81e0f33b31ab62ae0e32168003b
deleted: sha256:cc07cec0f0fe47680f6128f6091d77ec32c4817732622a943f66076eb3eabbdd
deleted: sha256:63decbe442c21eef2a402615476d77afb87a2d0a3dc35938aabf26f7f20de66d
deleted: sha256:6e56673fec7766b3c4a350f3baad331fc165e1ae17dc1ced51022c01094ab6e5
deleted: sha256:87c77c63249e02966835c57f4ba175c98b2e360ea462c8bc579b73c49c56ae78
deleted: sha256:b15e3e6c48b3be1cde39aea388148d9e5b90f03d6043f6cd85657a7a9fe86b21
deleted: sha256:7ec1d1db8df29a2585c8b7bb6a0f958bbca063f450226a0387f1a86eb761eb84
deleted: sha256:13148708f6f1a498bbaadde9b446a00222536580ccf861880fd01b569a438a88
deleted: sha256:fc35809dc3d667f11a83bddb903b98f3654ffb7933eab19705753593f638fd74
deleted: sha256:7a9ca1aa840cace0bf80ce3a105a3e0c6e8a21f5f517fa195e95d954f00a9fb5
untagged: nextcloud/aio-borgbackup@sha256:3a27d32dd0525268c379bef2ce8a18bfc00f1c88b3848f9d97045fea32fb0a01
deleted: sha256:a31b82451eeaa3f50f3027580875b9a355b92099cea8ab550bfc7ac69466e3b0
deleted: sha256:78dfd586a0dc1b49e3503298b788f451c9190d2c486503c959074652742f1078
deleted: sha256:48ceada42b804f591f975c5d90fb6466ca3f2dd99928ae05b0cff25db1307dd8
untagged: nextcloud/aio-clamav@sha256:ae4f6515b7f6e260ec50d68818aa7ebfa7fb37fc418c3a8312d21c5934e0074a
deleted: sha256:4ae6218c8232d2fad0f3f9b43d1a1c5ad6c6d617dc552168edc00523e1412f48
deleted: sha256:6549579012c708479f9d6b0cc1a862d7dd9d6be674ececf32b509939b4fa5dc7
deleted: sha256:0a5e638fa66835311820d6d673ef3facd67a3fa2d26065f266b0108edc7f1e6c
deleted: sha256:5815d9993f6c37259761f14663aed2de36a875fd62604a67dcb0aba11e2bc10c
deleted: sha256:98d458b5fe5242b0e41a35199316516228f816dc30f8e41b61f6aca7d0c75daf
deleted: sha256:a3b45448fe4fa9c72d01cee1ecad6bcef82fd3eeaf5a337697d4526a899c741e
deleted: sha256:b0755c031b57c6a95b635ff18c3fd627c554596f9f83eccd4d6f11665b644fbb
deleted: sha256:22a816293eac3a4ac45a66ecadbc5d38cc62ce5836fef29a7ff643614b08a589
untagged: nextcloud/aio-nextcloud@sha256:2a4a2b7e5651a5e58498c20b9b5c633a24a0c0d053e801d7753972eea6f79fc7
deleted: sha256:f959816114f65ca18f9fa433a54f25c636754e62604cc985e74b695d167a427e
deleted: sha256:6a704efb9931e6ea9c72c616fa86e78fc033538421b4ef764cadc63d7184fe80
deleted: sha256:36c9d1d6e02a97cd6829ea36cbf11bcbff7561b71a1b7702ecb5c43000534776
deleted: sha256:682fc99b2e26d92912543553a178aae936814e11f1b666da91ef41a9d6b4d2c1
deleted: sha256:da697a69212bbe73d5983a692b52a916504d8d92e36b28fbc2ae840bed5057c8
deleted: sha256:53d9824606fb6c7fddeb1a6cc3b5e17c5d4e92fcfb3a8a2b734deff4657ed988
deleted: sha256:075dfbb88af05fb98b66668d7854111d1f26edd9b8e5004b8317ae964fa16e48
deleted: sha256:d1a0ba2d94eb06e4d887c9e6620d4a61fc78402797d698e18998603170717703
deleted: sha256:9092fbc68ef4351c08524abde24689f7389d3e1c35e4dd8315206a1e1c9ed699
deleted: sha256:6e2f73af97e93721ad1b068fc6139c5028893985a0a85a06ff537a2dfe287c24
deleted: sha256:f820c9c3c30cec12f88d898f03ac22c82331a4b2a628c548b4307adb75d50a26
deleted: sha256:5c7ef87be84d3f7726df9f5a0905d8557157273ec962ae0654d2c4f0a547226e
deleted: sha256:95882e6d13d71777c234b75cfb19eda4a41710aa2038a26bf8218c512b697094
deleted: sha256:cb50e42c39be75b6631fe1a5205934cf5e847df34cddfc21a161188482e3f768
deleted: sha256:a8e67ee1de3b6847339119649c9f0c5c1448c5a5842abe2257c09174e1c24bb9
untagged: nextcloud/aio-imaginary@sha256:5689717eddc8a7f7e6c85a2f78347fae75e96b2f49e89f0712587b5374e91d75
deleted: sha256:e73ecb8c0428da5a078cf759fcfb4eab53f9755b77f96e8dbe63cfffa22c8086
deleted: sha256:6a8c08c4a61ebdf7263c65ac0ea42e87a9b7ed1b26d297cf0ec10fb7e2948955
deleted: sha256:8d99afc23f9e45fd6a5fc43d90edc7fb328288e8954586a7a830c6a40fda605d
untagged: nextcloud/aio-redis@sha256:81b23c82b72e24907fad35271653018bde4f11b3d99bb1d224a49605fb777833
deleted: sha256:2c1a0495aeb4699020b258746e65579c3c2ffe76766018ef0220b5c5d45eabe3
deleted: sha256:dceed1e6c8ce6325f930e7825ce0aa59c57914b731dc8c2d14d5150702665da0
deleted: sha256:846c92d3efeff037e8bc24be52b4ef2bc4208628a641505a7f3b42b2ba2167c4
deleted: sha256:c525c21e7296d828ed0a9155af76ab42babc2925aaf86907e7b1870b3a6d0d87
deleted: sha256:85c994fbc5513c693fa1e1d240abe323cf3f7dd33e665b70fcd02cf88b4d61a8
deleted: sha256:cf9c9c5bf0facea7055e5734aaec3fe0eaf760c4e42b0042373b1b087dfa214d
deleted: sha256:aa5f38aef301e22569517686901d2360d14e935b5f28317e8b6fff68289e5a28
deleted: sha256:900b828a908e77333abd00b37f29987b192bc4b0ae7daaad878043cd0758993d
untagged: nextcloud/aio-talk@sha256:dbac2fa6de71c88f415aee5e7ef07538cb932c83bcde2de9dca76c97a5a3d206
deleted: sha256:1c7705b778cedf28e832a05c8e8e7f252311a0af714904a463ae727aad68feca
deleted: sha256:ed6be3060dcb24c4d89a24093bac568b776bc7a56cf062c3d794635d71b96ae1
deleted: sha256:dcf80640ccf42f46b80c7b1699773299e01b2e66aab8aea850d86b485aa29fcf
deleted: sha256:3e1db4781435d35c54138b77a9d4e61f304ead6ac766f37993e7ba3747e68cca
deleted: sha256:e496bd31b95c6ff3224987090a204778b849ed3a4f3b968ab8fc5d3aaed1c70f
deleted: sha256:8e8a03960558c0c11e8512a32e74dbbdf72e98bf29d181ef4c3097db0c7672ac
deleted: sha256:80d1eb242a3e577ed49965f09799b646736523034e12627061a7539093545288
deleted: sha256:b82e22e6cd14860cd0036528d003b95d633e7a2a6ddeda2747364837f2463fe2
deleted: sha256:05e8854607d0252e064c2b3ed4e18a568549a0f5672d3963210c4dc2531b1584
untagged: nextcloud/aio-fulltextsearch@sha256:356eccd6649d5e986597d339524bebff62af9854ed242974992ee0292ebd2397
deleted: sha256:37f9adc09d6d795024ba55ed695304b71653f872b7ef46a7ecdb9fecd945d35e
deleted: sha256:4bd037e12b59e43691a69f6f7d3b7c8ee43396f47d00b6864081c06688ebdde2
deleted: sha256:0f4ef0c25673b185f241f9d632c3650fefd8ce9f2163bb1f1e74af5d078f637e
deleted: sha256:068ecb3f873f6edd1486abae59034e4cf54be87d59bbe654f246334c03d979e3
deleted: sha256:1b584ff995d91e99d1b0048d7affdda12d3ba44ef1d2b17737e20f656a3487b3
deleted: sha256:f7e9d97020235b71a15449e9c6b14fdab3d163e2992dd023ab3d60a67a5f931b
deleted: sha256:ceffdd0f08f5a951cd691a03d9d972294ac620aa56fb1e75adf046160a89b55e
deleted: sha256:eaa71ad2473ff52a58630c4167f1c4bd149c45426d8328cd5d35c6fafba6bc73
deleted: sha256:650c47e863dad0183018b4fae9c132435863ed3751fcf805b1846b6c1e84ffb0
deleted: sha256:e2f5324956ba677f6bb549edec26cd3d0b847bebb83077cde00627aec70d1f99
deleted: sha256:28513300c648ecd32fe6f49d2d17d1f4f5c883dc26466a55884260912560f881
untagged: nextcloud/aio-watchtower@sha256:ef871021ff371f680e0f3628ca04de87d6fd2b61dc498105bd39a890d2ca7a32
deleted: sha256:d50dc232a42b4a94b7e6eb2b2c9a85511922cd643453b9be1a1cdfb0d68ba5b1
deleted: sha256:3a56c466ee7be172bb0c0c7c260dc2763e6637cd5bc973789ce2a7c21aa7a688
deleted: sha256:a320ade3eb105191c61e895c31135e54304045e41705550c28ddb38f12ad9c7b
deleted: sha256:df400a5fa4b68d9973590f7fcedb0fd0f10d0b80ff8b160924f76c63b1870139
untagged: nextcloud/aio-collabora@sha256:6f5ccf9e171cbc3ae56771ed6eaf112dcbae26e08fcd0c930ab0d612cdab45bc
deleted: sha256:2fe145b9a683c2e55a52c7cbb7194492df1b9ae5a7075ca4794d720ee5501142
deleted: sha256:d4d0dd9ef46f79073642e6b7a60110baa1e645baac4c36d15215eb1c4764128e
deleted: sha256:0dd06c7613b87c268dd54dc60aa74ab6a0605eb5aa9b4768a6a0f1411063fa49
deleted: sha256:068d880d8b0cab2f69326a201fe1966d878208b1e00d8f0e7d346bc687eec37e
deleted: sha256:b770bdfd9b9e58e21a08fe30e4e8af692d7162e4faffc5ec4acaf2f62e8f4878
deleted: sha256:c287ac83d152c66866774692dfe2657a81c7a54782b9799d23151952ca1a39de
untagged: nextcloud/aio-notify-push@sha256:925246a98dc770b93a2d2b8cae38040bdc4b3f44032ef3da6b1c5ae64217118a
deleted: sha256:7de47f6922c428e7c9acb2f3a91d903ea4cbe2be94a842216b390c96634eb566
deleted: sha256:af312410150cbd5a0898aa059c39a67cc205ec409820d2618f558ceb86e7743b
deleted: sha256:8f6d22c181c5d1cf7826b3896f0cca428e16aea663b6e0f3f1aa22f044d33113
deleted: sha256:c8877b78e0954926bfc54169886ff654814b79b3e3e0b0f3bc5cfb848af40d62
deleted: sha256:78a822fe2a2d2c84f3de4a403188c45f623017d6a4521d23047c9fbb0801794c
untagged: nextcloud/aio-apache@sha256:d9b44115ddaa1382bb4950558dbd443c51b38be4a69d0e81e14f4b91cf082c5f
deleted: sha256:e55d7dcd9586f3493ddd0d80684fd3446c7883b00a6974743a3ee2cc7d9c027d
deleted: sha256:e1d778690b38df255da6ee0f47aa71ed8d0de87230f124b940923de6d7cef870
deleted: sha256:ca8e66ddadf55c6eb4c41dee64ea2e591b8842cb7f6006ca6ca22608d6b4ea9f
deleted: sha256:28c4e45dc3c6091a5daf6a8806f3b7b03b34645e9855e5ca37d553fc3888c28f
deleted: sha256:4664172db14e3ffe9b55979764efbddda7653f6c0f81137fa31ecfd545e2a778
deleted: sha256:f653f3c34d1e0a5a78d357035ebe3be10724dc3df8579c3a56cd63b84b3fa2d7
deleted: sha256:5fac272cdc58d6bdee9b55d8257e286c78a14bca5ffebf42c86055c2a644d468
deleted: sha256:a2e4321f87db4b11bf03a54d7851e7d652724f250976ec4bc6b07cef923d43ed
deleted: sha256:43e6dcab4703c995e63d2c6cdb732c84497609f2e7879b57d01f9f991ff57f0c
deleted: sha256:882eda99d98b5df3abc10200244b67849bd8ea47766b0bfc55cf67818619fd08
deleted: sha256:f2e78fb8cbb474437eca3bf086d3ea309b6ddc138d14fa072c5e472393a32bfb
deleted: sha256:bd4d216f5f919bd8a74bc9183dd6683bb434863355bf4c62d402a8e221c18f99
deleted: sha256:ac5815ac6ba9de0729d29a0b959411e8952469ea94f822c64118e4e14540b1a1

Total reclaimed space: 4.745GB
++ head -1 /mnt/docker-aio-config/data/daily_backup_time
+ BACKUP_TIME=03:00
+ export BACKUP_TIME
+ export DAILY_BACKUP=1
+ DAILY_BACKUP=1
++ sed -n 2p /mnt/docker-aio-config/data/daily_backup_time
+ '[' '' '!=' automaticUpdatesAreNotEnabled ']'
+ export AUTOMATIC_UPDATES=1
+ AUTOMATIC_UPDATES=1
+ set +x

Error message observed on 21/10/2023 after 13:07 with trace truncated:

Starting and updating containers...

Fatal error: Uncaught GuzzleHttp\Exception\ServerException: Server error: `POST http://localhost/v1.41/containers/nextcloud-aio-apache/start` resulted in a `500 Internal Server Error` response:
{"message":"driver failed programming external connectivity on endpoint nextcloud-aio-apache (3f9286129a613c66c86d235707 (truncated...)
 in /var/www/docker-aio/php/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113
...
...
...
Waiting for the Nextcloud container to start

Apache doesnā€™t start no matter what I have tried:

  1. I have stop/started/restarted the master container with same error present.
  2. Checked network connection was ok, and I could access AIO web interface at IPADDRESS:8080 - all ok.
  3. I have removed the master container and recreated it using the run command with same error present.
  4. Checked I have access to all network shares in ubuntu: ncdata and borg_backup folders - all ok.
  5. Checked if port 80/443 were being used - they are in listening mode on TCP by docker:
docker-pr 2014936 root    4u  IPv4 4724306      0t0  TCP *:http (LISTEN)
docker-pr 2014943 root    4u  IPv6 4724309      0t0  TCP *:http (LISTEN)
docker-pr 1453 root    4u  IPv4  25916      0t0  TCP *:https (LISTEN)
docker-pr 1462 root    4u  IPv6  23946      0t0  TCP *:https (LISTEN)
docker-pr 1477 root    4u  IPv4  22251      0t0  UDP *:https
docker-pr 1485 root    4u  IPv6  24938      0t0  UDP *:https
  1. I have tried restoring a borg backup from 17/10/2023 and 15/10/2023 with same error present.

Untruncated Logs from a later occurrence (issue only)

Trying to fix docker.sock permissions internally...
Adding internal www-data to group ping
WARNING: API is accessible on http://0.0.0.0:2375 without encryption.
         Access to the remote API is equivalent to root access on the host. Refer
         to the 'Docker daemon attack surface' section in the documentation for
         more information: https://docs.docker.com/go/attack-surface/
e[0;92mInitial 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

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:8443e[0m
++ head -1 /mnt/docker-aio-config/data/daily_backup_time
+ BACKUP_TIME=03:00
+ export BACKUP_TIME
+ export DAILY_BACKUP=1
+ DAILY_BACKUP=1
++ sed -n 2p /mnt/docker-aio-config/data/daily_backup_time
+ '[' '' '!=' automaticUpdatesAreNotEnabled ']'
+ export AUTOMATIC_UPDATES=1
+ AUTOMATIC_UPDATES=1
+ set +x
[Mon Oct 23 11:32:40.725494 2023] [mpm_event:notice] [pid 126:tid 140219208772424] AH00489: Apache/2.4.57 (Unix) OpenSSL/3.1.3 configured -- resuming normal operations
[Mon Oct 23 11:32:40.725739 2023] [core:notice] [pid 126:tid 140219208772424] AH00094: Command line: 'httpd -D FOREGROUND'
{"level":"info","ts":1698060760.7260725,"msg":"using provided configuration","config_file":"/Caddyfile","config_adapter":""}
[23-Oct-2023 11:32:40] NOTICE: fpm is running, pid 133
[23-Oct-2023 11:32:40] NOTICE: ready to handle connections
Deleting duplicate sessions
NOTICE: PHP message: Slim Application Error
Type: GuzzleHttp\Exception\ServerException

0
Message: Server error: `POST http://localhost/v1.41/containers/nextcloud-aio-apache/start` resulted in a `500 Internal Server Error` response:
{"message":"driver failed programming external connectivity on endpoint nextcloud-aio-apache (e80e0cb2fda542fa4cfe0256a8 (truncated...)
File: /var/www/docker-aio/php/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php

3
Trace: #0 /var/www/docker-aio/php/vendor/guzzlehttp/guzzle/src/Middleware.php(72): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response), NULL, Array, NULL)
#1 /var/www/docker-aio/php/vendor/guzzlehttp/promises/src/Promise.php(209): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Response))
#2 /var/www/docker-aio/php/vendor/guzzlehttp/promises/src/Promise.php(158): GuzzleHttp\Promise\Promise::callHandler(1, Object(GuzzleHttp\Psr7\Response), NULL)
#3 /var/www/docker-aio/php/vendor/guzzlehttp/promises/src/TaskQueue.php(52): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}()
#4 /var/www/docker-aio/php/vendor/guzzlehttp/promises/src/Promise.php(251): GuzzleHttp\Promise\TaskQueue->run(true)
#5 /var/www/docker-aio/php/vendor/guzzlehttp/promises/src/Promise.php(227): GuzzleHttp\Promise\Promise->invokeWaitFn()
#6 /var/www/docker-aio/php/vendor/guzzlehttp/promises/src/Promise.php(272): GuzzleHttp\Promise\Promise->waitIfPending()
#7 /var/www/docker-aio/php/vendor/guzzlehttp/promises/src/Promise.php(229): GuzzleHttp\Promise\Promise->invokeWaitList()
#8 /var/www/docker-aio/php/vendor/guzzlehttp/promises/src/Promise.php(69): GuzzleHttp\Promise\Promise->waitIfPending()
#9 /var/www/docker-aio/php/vendor/guzzlehttp/guzzle/src/Client.php(189): GuzzleHttp\Promise\Promise->wait()
#10 /var/www/docker-aio/php/vendor/guzzlehttp/guzzle/src/ClientTrait.php(95): GuzzleHttp\Client->request('POST', 'http://localhos...', Array)
#11 /var/www/docker-aio/php/src/Docker/DockerActionManager.php(189): GuzzleHttp\Client->post('http://localhos...')
#12 /var/www/docker-aio/php/src/Controller/DockerController.php(48): AIO\Docker\DockerActionManager->StartContainer(Object(AIO\Container\Container))
#13 /var/www/docker-aio/php/src/Controller/DockerController.php(193): AIO\Controller\DockerController->PerformRecursiveContainerStart('nextcloud-aio-a...', true)
#14 /var/www/docker-aio/php/src/Controller/DockerController.php(173): AIO\Controller\DockerController->startTopContainer(true)
#15 /var/www/docker-aio/php/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(38): AIO\Controller\DockerController->StartContainer(Object(GuzzleHttp\Psr7\ServerRequest), Object(GuzzleHttp\Psr7\Response), Array)
#16 /var/www/docker-aio/php/vendor/slim/slim/Slim/Routing/Route.php(358): Slim\Handlers\Strategies\RequestResponse->__invoke(Array, Object(GuzzleHttp\Psr7\ServerRequest), Object(GuzzleHttp\Psr7\Response), Array)
#17 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Slim\Routing\Route->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#18 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Slim\MiddlewareDispatcher->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#19 /var/www/docker-aio/php/vendor/slim/slim/Slim/Routing/Route.php(315): Slim\MiddlewareDispatcher->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#20 /var/www/docker-aio/php/vendor/slim/slim/Slim/Routing/RouteRunner.php(68): Slim\Routing\Route->run(Object(GuzzleHttp\Psr7\ServerRequest))
#21 /var/www/docker-aio/php/vendor/slim/csrf/src/Guard.php(476): Slim\Routing\RouteRunner->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#22 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(168): Slim\Csrf\Guard->process(Object(GuzzleHttp\Psr7\ServerRequest), Object(Slim\Routing\RouteRunner))
#23 /var/www/docker-aio/php/vendor/slim/twig-view/src/TwigMiddleware.php(115): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#24 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Slim\Views\TwigMiddleware->process(Object(GuzzleHttp\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#25 /var/www/docker-aio/php/src/Middleware/AuthMiddleware.php(38): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#26 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(269): AIO\Middleware\AuthMiddleware->__invoke(Object(GuzzleHttp\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#27 /var/www/docker-aio/php/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(76): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#28 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Slim\Middleware\ErrorMiddleware->process(Object(GuzzleHttp\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#29 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#30 /var/www/docker-aio/php/vendor/slim/slim/Slim/App.php(199): Slim\MiddlewareDispatcher->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#31 /var/www/docker-aio/php/vendor/slim/slim/Slim/App.php(183): Slim\App->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#32 /var/www/docker-aio/php/public/index.php(182): Slim\App->run()
#33 {main}
Tips: To display error details in HTTP response set "displayErrorDetails" to true in the ErrorHandler constructor.
[23-Oct-2023 15:48:12] WARNING: [pool www] child 46197 exited on signal 9 (SIGKILL) after 18.284768 seconds from start
[23-Oct-2023 15:48:12] NOTICE: [pool www] child 46230 started

Full Logs

apache-500-error - Pastebin.com

Details

Nextcloud version (eg, 20.0.5): N/A - I can't boot nextcloud to see this but must be latest release as I have borg backup and auto-updates enabled
Operating system and version (eg, Ubuntu 20.04): Windows 11 Pro, running a Hyper-V with Ubuntu 22.04.3 LTS
Apache or nginx version (eg, Apache 2.4.25): N/A - I can't start nextcloud apache to find out
PHP version (eg, 7.4): N/A

Is this the first time youā€™ve seen this error? Y

Steps to replicate it:

  1. Force reboot without gracefully letting hyper-v save state.
  2. Automatically starts Hyper-V VM and nextcloud-aio, all seems to be working.
  3. Two days later realised I canā€™t upload photos from phone to nextcloud; ā€œupload errorsā€.
  4. Check master container status to find apache is ā€œstoppedā€, all other are ā€œrunningā€ or ā€œstartingā€.

The output of your Nextcloud log in Admin > Logging:

N/A

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

N/A

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

N/A

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

N/A

If Iā€™ve missed something you need to help just let me know.

Hi, can you post the ouptut of sudo netstat -tulpn here?

Hi @szaimen, thanks for your help.

See below for output:

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN      942/smbd
tcp        0      0 0.0.0.0:8443            0.0.0.0:*               LISTEN      2014891/docker-prox
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      856/sshd: /usr/sbin
tcp        0      0 127.0.0.1:42917         0.0.0.0:*               LISTEN      1132/homebridge
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      2014936/docker-prox
tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN      1453/docker-proxy
tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN      942/smbd
tcp        0      0 127.0.0.1:42339         0.0.0.0:*               LISTEN      1132/homebridge
tcp        0      0 0.0.0.0:9283            0.0.0.0:*               LISTEN      1652/docker-proxy
tcp        0      0 127.0.0.1:45789         0.0.0.0:*               LISTEN      1143/homebridge: ho
tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      678/systemd-resolve
tcp        0      0 127.0.0.1:44553         0.0.0.0:*               LISTEN      1143/homebridge: ho
tcp        0      0 0.0.0.0:3478            0.0.0.0:*               LISTEN      2257903/docker-prox
tcp        0      0 0.0.0.0:8081            0.0.0.0:*               LISTEN      1625/docker-proxy
tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN      2014913/docker-prox
tcp6       0      0 :::139                  :::*                    LISTEN      942/smbd
tcp6       0      0 :::8443                 :::*                    LISTEN      2014898/docker-prox
tcp6       0      0 :::33023                :::*                    LISTEN      1143/homebridge: ho
tcp6       0      0 :::22                   :::*                    LISTEN      856/sshd: /usr/sbin
tcp6       0      0 :::80                   :::*                    LISTEN      2014943/docker-prox
tcp6       0      0 :::8581                 :::*                    LISTEN      1003/hb-service
tcp6       0      0 :::443                  :::*                    LISTEN      1462/docker-proxy
tcp6       0      0 :::445                  :::*                    LISTEN      942/smbd
tcp6       0      0 :::9283                 :::*                    LISTEN      1659/docker-proxy
tcp6       0      0 :::30057                :::*                    LISTEN      1143/homebridge: ho
tcp6       0      0 :::51299                :::*                    LISTEN      1132/homebridge
tcp6       0      0 :::2375                 :::*                    LISTEN      943/dockerd
tcp6       0      0 :::3478                 :::*                    LISTEN      2257910/docker-prox
tcp6       0      0 :::8081                 :::*                    LISTEN      1632/docker-proxy
tcp6       0      0 :::8080                 :::*                    LISTEN      2014919/docker-prox
udp        0      0 0.0.0.0:3478            0.0.0.0:*                           2257925/docker-prox
udp        0      0 127.0.0.53:53           0.0.0.0:*                           678/systemd-resolve
udp        0      0 172.18.255.255:137      0.0.0.0:*                           788/nmbd
udp        0      0 172.18.0.1:137          0.0.0.0:*                           788/nmbd
udp        0      0 172.17.255.255:137      0.0.0.0:*                           788/nmbd
udp        0      0 172.17.0.1:137          0.0.0.0:*                           788/nmbd
udp        0      0 192.168.1.255:137       0.0.0.0:*                           788/nmbd
udp        0      0 192.168.1.52:137        0.0.0.0:*                           788/nmbd
udp        0      0 0.0.0.0:137             0.0.0.0:*                           788/nmbd
udp        0      0 172.18.255.255:138      0.0.0.0:*                           788/nmbd
udp        0      0 172.18.0.1:138          0.0.0.0:*                           788/nmbd
udp        0      0 172.17.255.255:138      0.0.0.0:*                           788/nmbd
udp        0      0 172.17.0.1:138          0.0.0.0:*                           788/nmbd
udp        0      0 192.168.1.255:138       0.0.0.0:*                           788/nmbd
udp        0      0 192.168.1.52:138        0.0.0.0:*                           788/nmbd
udp        0      0 0.0.0.0:138             0.0.0.0:*                           788/nmbd
udp        0      0 0.0.0.0:443             0.0.0.0:*                           1477/docker-proxy
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           1143/homebridge: ho
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           1143/homebridge: ho
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           1132/homebridge
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           1132/homebridge
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           1003/hb-service
udp        0      0 0.0.0.0:51661           0.0.0.0:*                           -
udp6       0      0 :::3478                 :::*                                2257933/docker-prox
udp6       0      0 :::443                  :::*                                1485/docker-proxy
udp6       0      0 :::51661                :::*                                -

So apparently a different container then the nextcloud-aio-apache is already using port 443. This explains why it cannot start.

2 Likes

@szaimen you are correct. I think I found another docker container using 443.
I never had this conflict before, and my instance has been rebooted many times in the last 5 weeks since I spun up a new container for grocy.

Is there a way to reserve docker ports for nextcloud aio container use only and override ports based on container priority?

For anyone else having this type of issue, hereā€™s how I fixed it:

  1. Find used/offending docker process by running ā€œsudo docker psā€ and look at the PORTS column for 443, and find in the column NAMES the docker container name.

  2. Stop the docker container ā€œsudo docker stop ADDYOURNAMEHEREā€.

  3. Remove or reassign used/offending container port to another host port that is available.
    (In my case assign port 443 it in the offending ā€œsudo docker run ā€¦ā€ command;
    Issue was I didnā€™t assign port 443 to a host port, so it defaulted to 443 ā†’ 443 when port became available.
    i.e. when nextcloud was updating or VM rebooting and then it never let go of port 443)

  4. Run ā€œsudo service docker restartā€.

  5. Start nextcloud containers using AIO interface.

Iā€™m having the same problem after updating; yet port 443 isnā€™t blocked. This is the ā€˜docker psā€™ output:

CONTAINER ID   IMAGE                              COMMAND                  CREATED          STATUS                    PORTS                                                                                  NAMES
a27ab7317b24   nextcloud/aio-apache:latest        "/start.sh /usr/bin/ā€¦"   58 minutes ago   Up 10 minutes (healthy)   80/tcp, 0.0.0.0:11000->11000/tcp, 0.0.0.0:11000->11000/udp                             nextcloud-aio-apache
036928f2d353   nextcloud/aio-notify-push:latest   "/start.sh"              58 minutes ago   Up 13 minutes (healthy)                                                                                          nextcloud-aio-notify-push
8512f19bd295   nextcloud/aio-nextcloud:latest     "/start.sh /usr/bin/ā€¦"   58 minutes ago   Up 13 minutes (healthy)   9000/tcp                                                                               nextcloud-aio-nextcloud
9b106fd2bcfd   nextcloud/aio-clamav:latest        "/init"                  58 minutes ago   Up 13 minutes (healthy)   3310/tcp, 7357/tcp                                                                     nextcloud-aio-clamav
0f376d4c85e0   nextcloud/aio-redis:latest         "/start.sh"              58 minutes ago   Up 13 minutes (healthy)   6379/tcp                                                                               nextcloud-aio-redis
92441711c561   nextcloud/aio-postgresql:latest    "/start.sh"              58 minutes ago   Up 13 minutes (healthy)   5432/tcp                                                                               nextcloud-aio-database
f4f8c1a79a84   nextcloud/aio-talk:latest          "/start.sh supervisoā€¦"   58 minutes ago   Up 13 minutes (healthy)   0.0.0.0:3478->3478/tcp, 0.0.0.0:3478->3478/udp, :::3478->3478/tcp, :::3478->3478/udp   nextcloud-aio-talk
3c8f8618c403   nextcloud/aio-collabora:latest     "/start-collabora-onā€¦"   58 minutes ago   Up 13 minutes (healthy)   9980/tcp                                                                               nextcloud-aio-collabora
99aae7a948ef   nextcloud/all-in-one:latest        "/start.sh"              2 hours ago      Up 13 minutes (healthy)   80/tcp, 8443/tcp, 9000/tcp, 0.0.0.0:8080->8080/tcp, :::8080->8080/tcp                  nextcloud-aio-mastercontainer

Can anyone assist?

@TKTK Looking at your post, I think this is a different issue to mine as Apache is running successfully on port 11000.

Can you confirm your error logs from master container?
Does it show ā€œ500 Internal Server Errorā€ from Apache?

Iā€™m able to open the AIO interface on port 8080.

The logs of the main container doesnā€™t show any error:

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

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
[24-Oct-2023 11:49:54] NOTICE: fpm is running, pid 120
[24-Oct-2023 11:49:54] NOTICE: ready to handle connections
[Tue Oct 24 11:49:54.250919 2023] [mpm_event:notice] [pid 114:tid 139731384236872] AH00489: Apache/2.4.57 (Unix) OpenSSL/3.1.3 configured -- resuming normal operations
[Tue Oct 24 11:49:54.252227 2023] [core:notice] [pid 114:tid 139731384236872] AH00094: Command line: 'httpd -D FOREGROUND'
{"level":"info","ts":1698148194.2565737,"msg":"using provided configuration","config_file":"/Caddyfile","config_adapter":""}
Deleting duplicate sessions

Calling the domain shows " Service Unavailable" 503.

What other logs could I have a look at?

The Logs at the AIO interface say:

NOTICE: PHP message: 404 Not Found
Type: Slim\Exception\HttpNotFoundException

4
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(56): Slim\Middleware\RoutingMiddleware->performRouting(Object(GuzzleHttp\Psr7\ServerRequest))
#1 /var/www/docker-aio/php/vendor/slim/csrf/src/Guard.php(476): Slim\Routing\RouteRunner->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#2 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(168): 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(115): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#4 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Slim\Views\TwigMiddleware->process(Object(GuzzleHttp\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#5 /var/www/docker-aio/php/src/Middleware/AuthMiddleware.php(38): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#6 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(269): 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(76): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#8 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): 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(65): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#10 /var/www/docker-aio/php/vendor/slim/slim/Slim/App.php(199): Slim\MiddlewareDispatcher->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#11 /var/www/docker-aio/php/vendor/slim/slim/Slim/App.php(183): Slim\App->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#12 /var/www/docker-aio/php/public/index.php(182): Slim\App->run()
#13 {main}
Tips: To display error details in HTTP response set "displayErrorDetails" to true in the ErrorHandler constructor.
[Tue Oct 24 09:20:16.135311 2023] [proxy_http:error] [pid 155:tid 139797687397176] (20014)Internal error (specific information not available): [client 138.197.230.80:58402] AH01102: error reading status line from remote server localhost:8000
[Tue Oct 24 09:20:16.135661 2023] [proxy:error] [pid 155:tid 139797687397176] [client 138.197.230.80:58402] AH00898: Error reading from remote server returned by /.aws/config
e[0;92mInitial 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

Hi @TKTK can you upgrade to 7.5.0 Beta and check if that resolves things? 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.

OK AIO unterface mit 7.5.0 ist erreichbar, Update durchgefĆ¼hrt und docker auf der CLI sagt:

Code: 500
Message: Server error: `POST http://localhost/v1.41/containers/nextcloud-aio-apache/start` resulted in a `500 Internal Server Error` response:
{"message":"driver failed programming external connectivity on endpoint nextcloud-aio-apache (3032eb64239d5735c855b7ac25 (truncated...)
File: /var/www/docker-aio/php/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php
Line: 113
Trace: #0 /var/www/docker-aio/php/vendor/guzzlehttp/guzzle/src/Middleware.php(72): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response), NULL, Array, NULL)
#1 /var/www/docker-aio/php/vendor/guzzlehttp/promises/src/Promise.php(209): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Response))
#2 /var/www/docker-aio/php/vendor/guzzlehttp/promises/src/Promise.php(158): GuzzleHttp\Promise\Promise::callHandler(1, Object(GuzzleHttp\Psr7\Response), NULL)
#3 /var/www/docker-aio/php/vendor/guzzlehttp/promises/src/TaskQueue.php(52): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}()
#4 /var/www/docker-aio/php/vendor/guzzlehttp/promises/src/Promise.php(251): GuzzleHttp\Promise\TaskQueue->run(true)
#5 /var/www/docker-aio/php/vendor/guzzlehttp/promises/src/Promise.php(227): GuzzleHttp\Promise\Promise->invokeWaitFn()
#6 /var/www/docker-aio/php/vendor/guzzlehttp/promises/src/Promise.php(272): GuzzleHttp\Promise\Promise->waitIfPending()
#7 /var/www/docker-aio/php/vendor/guzzlehttp/promises/src/Promise.php(229): GuzzleHttp\Promise\Promise->invokeWaitList()
#8 /var/www/docker-aio/php/vendor/guzzlehttp/promises/src/Promise.php(69): GuzzleHttp\Promise\Promise->waitIfPending()
#9 /var/www/docker-aio/php/vendor/guzzlehttp/guzzle/src/Client.php(189): GuzzleHttp\Promise\Promise->wait()
#10 /var/www/docker-aio/php/vendor/guzzlehttp/guzzle/src/ClientTrait.php(95): GuzzleHttp\Client->request('POST', 'http://localhos...', Array)
#11 /var/www/docker-aio/php/src/Docker/DockerActionManager.php(189): GuzzleHttp\Client->post('http://localhos...')
#12 /var/www/docker-aio/php/src/Controller/DockerController.php(48): AIO\Docker\DockerActionManager->StartContainer(Object(AIO\Container\Container))
#13 /var/www/docker-aio/php/src/Controller/DockerController.php(193): AIO\Controller\DockerController->PerformRecursiveContainerStart('nextcloud-aio-a...', true)
#14 /var/www/docker-aio/php/src/Controller/DockerController.php(173): AIO\Controller\DockerController->startTopContainer(true)
#15 /var/www/docker-aio/php/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(38): AIO\Controller\DockerController->StartContainer(Object(GuzzleHttp\Psr7\ServerRequest), Object(GuzzleHttp\Psr7\Response), Array)
#16 /var/www/docker-aio/php/vendor/slim/slim/Slim/Routing/Route.php(358): Slim\Handlers\Strategies\RequestResponse->__invoke(Array, Object(GuzzleHttp\Psr7\ServerRequest), Object(GuzzleHttp\Psr7\Response), Array)
#17 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Slim\Routing\Route->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#18 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Slim\MiddlewareDispatcher->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#19 /var/www/docker-aio/php/vendor/slim/slim/Slim/Routing/Route.php(315): Slim\MiddlewareDispatcher->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#20 /var/www/docker-aio/php/vendor/slim/slim/Slim/Routing/RouteRunner.php(68): Slim\Routing\Route->run(Object(GuzzleHttp\Psr7\ServerRequest))
#21 /var/www/docker-aio/php/vendor/slim/csrf/src/Guard.php(476): Slim\Routing\RouteRunner->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#22 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(168): Slim\Csrf\Guard->process(Object(GuzzleHttp\Psr7\ServerRequest), Object(Slim\Routing\RouteRunner))
#23 /var/www/docker-aio/php/vendor/slim/twig-view/src/TwigMiddleware.php(115): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#24 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Slim\Views\TwigMiddleware->process(Object(GuzzleHttp\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#25 /var/www/docker-aio/php/src/Middleware/AuthMiddleware.php(38): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#26 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(269): AIO\Middleware\AuthMiddleware->__invoke(Object(GuzzleHttp\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#27 /var/www/docker-aio/php/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(76): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#28 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Slim\Middleware\ErrorMiddleware->process(Object(GuzzleHttp\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#29 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#30 /var/www/docker-aio/php/vendor/slim/slim/Slim/App.php(199): Slim\MiddlewareDispatcher->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#31 /var/www/docker-aio/php/vendor/slim/slim/Slim/App.php(183): Slim\App->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#32 /var/www/docker-aio/php/public/index.php(182): Slim\App->run()
#33 {main}
Tips: To display error details in HTTP response set "displayErrorDetails" to true in the ErrorHandler constructor.

@TKTK can you post the output of sudo netstat -tulpn here? Also what is the output of sudo docker inspect nextcloud-aio-mastercontainer ?

I put it here, I havenā€™t checked all regarding keys etc., yet itā€™s s text instance so, wouldnā€™t be a problem. On the server there is a lot other stuff running.

Before the update it worked well als with restarts for monthsā€¦

In the beta-channel, Apache isnā€™t starting anymore; in the AIO interface itā€™s staying red.

I found this in your output which shows that you apparently installed apache on your host which now conflicts with AIOs apache container and keeps it from starting correctly:
tcp6 0 0 :::443 :::* LISTEN 1687/apache2

yeah thatā€™s correct, I have and need Apache on the main host. But wondering that it worked before. How can I solve it. I manage the reverse proxy without docker on the host itself.

Like this:

ServerName domain.tld

    # Reverse proxy based on https://httpd.apache.org/docs/current/mod/mod_proxy_wstunnel.html
    RewriteEngine On
    ProxyPreserveHost On
    AllowEncodedSlashes NoDecode
    
    ProxyPass / http://localhost:11000/ nocanon
    ProxyPassReverse / http://localhost:11000/
    
    RewriteCond %{HTTP:Upgrade} websocket [NC]
    RewriteCond %{HTTP:Connection} upgrade [NC]
    RewriteCond %{THE_REQUEST} "^[a-zA-Z]+ /(.*) HTTP/\d+(\.\d+)?$"
    RewriteRule .? "ws://localhost:11000/%1" [P,L]

    # Enable h2, h2c and http1.1
    Protocols h2 h2c http/1.1
    
    # Solves slow upload speeds caused by http2
    H2WindowSize 5242880

    # Disable HTTP TRACE method.
    TraceEnable off
    <Files ".ht*">
        Require all denied
    </Files>

    # Support big file uploads
    LimitRequestBody 0

Sorry, I just found your bug: you bound port 11000 already to the mastercontainer and now the apache container is no longer able to start. Please remove it from the mastercontainer and it should be able to start again.

1 Like

Nice, that solved it. But still the update must have caused it somehowā€¦

Thanks a lot!

This is actually impossible but good to hear that you solved it!