Dear Community,
I can’t reach the Nextcloud webinterface anymore.
The issue seemed to occur after adding a new user. Before, the server was running for months without even checking it.
After updating, couple of restarts and stops of the docker containers the mastercontainer returns the following information in the logs:
2024-09-22T18:12:01.118392117Z WARNING: No memory limit support
2024-09-22T18:12:01.118497042Z WARNING: No swap limit support
2024-09-22T18:12:01.118512820Z WARNING: bridge-nf-call-iptables is disabled
2024-09-22T18:12:01.118527097Z WARNING: bridge-nf-call-ip6tables is disabled
2024-09-22T18:12:01.190914698Z WARNING: No memory limit support
2024-09-22T18:12:01.190999938Z WARNING: No swap limit support
2024-09-22T18:12:01.191081733Z WARNING: bridge-nf-call-iptables is disabled
2024-09-22T18:12:01.191104048Z WARNING: bridge-nf-call-ip6tables is disabled
2024-09-22T18:12:01.632107295Z e[0;92mInitial startup of Nextcloud All-in-One complete!
2024-09-22T18:12:01.632214201Z You should be able to open the Nextcloud AIO Interface now on port 8080 of this server!
2024-09-22T18:12:01.632276293Z E.g. https://internal.ip.of.this.server:8080
2024-09-22T18:12:01.632291811Z ⚠️ Important: do always use an ip-address if you access this port and not a domain as HSTS might block access to it later!
2024-09-22T18:12:01.632307477Z
2024-09-22T18:12:01.632346440Z 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:
2024-09-22T18:12:01.632362162Z https://your-domain-that-points-to-this-server.tld:8443e[0m
2024-09-22T18:12:03.412033586Z ++ head -1 /mnt/docker-aio-config/data/daily_backup_time
2024-09-22T18:12:03.415242621Z + BACKUP_TIME=04:00
2024-09-22T18:12:03.415328082Z + export BACKUP_TIME
2024-09-22T18:12:03.415345064Z + export DAILY_BACKUP=1
2024-09-22T18:12:03.415358878Z + DAILY_BACKUP=1
2024-09-22T18:12:03.425158572Z ++ sed -n 2p /mnt/docker-aio-config/data/daily_backup_time
2024-09-22T18:12:03.428811434Z + '[' '' '!=' automaticUpdatesAreNotEnabled ']'
2024-09-22T18:12:03.428914544Z + export AUTOMATIC_UPDATES=1
2024-09-22T18:12:03.428932970Z + AUTOMATIC_UPDATES=1
2024-09-22T18:12:03.432262466Z ++ sed -n 3p /mnt/docker-aio-config/data/daily_backup_time
2024-09-22T18:12:03.436864964Z + '[' '' '!=' successNotificationsAreNotEnabled ']'
2024-09-22T18:12:03.436949833Z + export SEND_SUCCESS_NOTIFICATIONS=1
2024-09-22T18:12:03.436966907Z + SEND_SUCCESS_NOTIFICATIONS=1
2024-09-22T18:12:03.438264576Z + set +x
2024-09-22T18:12:03.543682920Z [22-Sep-2024 18:12:03] NOTICE: fpm is running, pid 144
2024-09-22T18:12:03.544268672Z [22-Sep-2024 18:12:03] NOTICE: ready to handle connections
2024-09-22T18:12:03.551001663Z [Sun Sep 22 18:12:03.550025 2024] [mpm_event:notice] [pid 139:tid 139] AH00489: Apache/2.4.62 (Unix) OpenSSL/3.3.2 configured -- resuming normal operations
2024-09-22T18:12:03.551123384Z [Sun Sep 22 18:12:03.550179 2024] [core:notice] [pid 139:tid 139] AH00094: Command line: 'httpd -D FOREGROUND'
2024-09-22T18:12:03.575697895Z {"level":"info","ts":1727028723.5750334,"msg":"using config from file","file":"/Caddyfile"}
2024-09-22T18:12:03.579680753Z {"level":"info","ts":1727028723.5790458,"msg":"adapted config to JSON","adapter":"caddyfile"}
2024-09-22T18:12:53.297063444Z NOTICE: PHP message: 404 Not Found
2024-09-22T18:12:53.297195258Z Type: Slim\Exception\HttpNotFoundException
2024-09-22T18:12:53.297214313Z Code: 404
2024-09-22T18:12:53.297229035Z Message: Not found.
2024-09-22T18:12:53.297242850Z File: /var/www/docker-aio/php/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php
2024-09-22T18:12:53.297256979Z Line: 76
2024-09-22T18:12:53.297270701Z Trace: #0 /var/www/docker-aio/php/vendor/slim/slim/Slim/Routing/RouteRunner.php(62): Slim\Middleware\RoutingMiddleware->performRouting(Object(GuzzleHttp\Psr7\ServerRequest))
2024-09-22T18:12:53.297286109Z #1 /var/www/docker-aio/php/vendor/slim/csrf/src/Guard.php(482): Slim\Routing\RouteRunner->handle(Object(GuzzleHttp\Psr7\ServerRequest))
2024-09-22T18:12:53.297300516Z #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))
2024-09-22T18:12:53.297317460Z #3 /var/www/docker-aio/php/vendor/slim/twig-view/src/TwigMiddleware.php(115): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
2024-09-22T18:12:53.297332386Z #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))
2024-09-22T18:12:53.297347682Z #5 /var/www/docker-aio/php/src/Middleware/AuthMiddleware.php(38): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
2024-09-22T18:12:53.297362108Z #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))
2024-09-22T18:12:53.297377200Z #7 /var/www/docker-aio/php/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(77): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
2024-09-22T18:12:53.297392033Z #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))
2024-09-22T18:12:53.297406903Z #9 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(73): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
2024-09-22T18:12:53.297425422Z #10 /var/www/docker-aio/php/vendor/slim/slim/Slim/App.php(209): Slim\MiddlewareDispatcher->handle(Object(GuzzleHttp\Psr7\ServerRequest))
2024-09-22T18:12:53.297491421Z #11 /var/www/docker-aio/php/vendor/slim/slim/Slim/App.php(193): Slim\App->handle(Object(GuzzleHttp\Psr7\ServerRequest))
2024-09-22T18:12:53.297509199Z #12 /var/www/docker-aio/php/public/index.php(185): Slim\App->run()
2024-09-22T18:12:53.297598531Z #13 {main}
2024-09-22T18:12:53.297618883Z Tips: To display error details in HTTP response set "displayErrorDetails" to true in the ErrorHandler constructor.
The docker compose file which I am using to start the container:
services:
duckdns:
image: lscr.io/linuxserver/duckdns:latest
container_name: duckdns
environment:
- SUBDOMAINS=zzz.duckdns.org
- TOKEN=zzz
restart: unless-stopped
nextcloud-aio-mastercontainer:
image: nextcloud/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 'WATCH>
ports:
- 80:80 # Can be removed when running behind a web server or reverse proxy (like Apache, Nginx, Cloudflare Tunnel and else). See https://github.com/nextcloud/all-in-one/b>
- 8080:8080
- 8443:8443 # Can be removed when running behind a web server or reverse proxy (like Apache, Nginx, Cloudflare Tunnel and else). See https://github.com/nextcloud/all-i>
environment: # Is needed when using any of the options below
# - AIO_DISABLE_BACKUP_SECTION=false # Setting this to true allows to hide the backup section in the AIO interface. See https://github.com/nextcloud/all-in-one#how-to-disable-the-bac>
- AIO_COMMUNITY_CONTAINERS=fail2ban
# - APACHE_PORT=11000 # Is needed when running behind a web server or reverse proxy (like Apache, Nginx, Cloudflare Tunnel and else). See https://github.com/nextcloud/all-in-one/blob>
# - APACHE_IP_BINDING=172.0.0.1 # Should be set when running behind a web server or reverse proxy (like Apache, Nginx, Cloudflare Tunnel and else) that is running on the same host. S>
# - SKIP_DOMAIN_VALIDATION=true
- BORG_RETENTION_POLICY=--keep-within=7d --keep-weekly=4 --keep-monthly=6 --keep-yearly=1 # Allows to adjust borgs retention policy. See https://github.com/nextcloud/all-in-one#how-t>
- NEXTCLOUD_DATADIR=/media/pi/ncdata/nc_aio # Allows to set the host directory for Nextcloud's datadir. ⚠️⚠️⚠️ Warning: do not set or adjust this value after the initial Nextcloud insta>
# - NEXTCLOUD_MOUNT=/mnt/ # Allows the Nextcloud container to access the chosen directory on the host. See https://github.com/nextcloud/all-in-one#how-to-allow-the-nextcloud-containe>
# - NEXTCLOUD_UPLOAD_LIMIT=10G # Can be adjusted if you need more. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-upload-limit-for-nextcloud
# - NEXTCLOUD_MAX_TIME=3600 # Can be adjusted if you need more. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-max-execution-time-for-nextcloud
# - NEXTCLOUD_MEMORY_LIMIT=512M # Can be adjusted if you need more. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-php-memory-limit-for-nextcloud
# - NEXTCLOUD_TRUSTED_CACERTS_DIR=/path/to/my/cacerts # CA certificates in this directory will be trusted by the OS of the nexcloud container (Useful e.g. for LDAPS) See See https://>
- NEXTCLOUD_STARTUP_APPS=twofactor_totp keeweb tasks calendar contacts notes # Allows to modify the Nextcloud apps that are installed on starting AIO the first time. See https://gith>
depends_on:
- duckdns
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
Thank you for your help.