I updated Proxmox PVE from 8 to 9. That’s the reason, why I had to stop (make the PVE update) and restart my Nextcloud AIO LXC.
I am not sure, if the PVE update from 8 to 9 is relevant, because I found no problems regarding PVE update and Nextcloud AIO, but I don’t want to “not say” this.
The Basics
- Nextcloud Server version (e.g., 29.x.x):
- Nextcloud AIO v12.5.0
- Operating system and version (e.g., Ubuntu 24.04):
Proxmox LXC
- Is this the first time you’ve seen this error? (Yes / No):
Yes
- When did this problem seem to first start?
yesterday after nextcloud LXC reboot
- 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:
When I start my Server/Container, only the Administration interface is available.
Nextcloud, Apache, Notify Push und Docker Socket Proxy container always stay yellow. Each Container is saying “Waiting for Nextcloud to start…” and the Log of Nextcloud is more or less empty:
2026-02-04T13:21:52.737376320Z Connection to nextcloud-aio-database (172.18.0.7) 5432 port [tcp/postgresql] succeeded!
2026-02-04T13:21:54.777505724Z now
2026-02-04T13:21:54.777576638Z ------------------------------
2026-02-04T13:21:54.777584332Z 2026-02-04 14:21:54.77476+01
2026-02-04T13:21:54.777591065Z (1 row)
2026-02-04T13:21:54.777606825Z
2026-02-04T13:21:54.786392005Z + '[' -f /dev-dri-group-was-added ']'
2026-02-04T13:21:54.786884616Z ++ find /dev -maxdepth 1 -mindepth 1 -name dri
2026-02-04T13:21:54.787596391Z + '[' -n '' ']'
2026-02-04T13:21:54.787624153Z + set +x
2026-02-05T07:31:03.218685526Z Connection to nextcloud-aio-database (172.18.0.5) 5432 port [tcp/postgresql] succeeded!
2026-02-05T07:31:05.277714832Z now
2026-02-05T07:31:05.277790676Z -------------------------------
2026-02-05T07:31:05.277799372Z 2026-02-05 08:31:05.270785+01
2026-02-05T07:31:05.277807187Z (1 row)
2026-02-05T07:31:05.277829359Z
2026-02-05T07:31:05.287445680Z + '[' -f /dev-dri-group-was-added ']'
2026-02-05T07:31:05.288311907Z ++ find /dev -maxdepth 1 -mindepth 1 -name dri
2026-02-05T07:31:05.290029282Z + '[' -n '' ']'
2026-02-05T07:31:05.290062304Z + set +x
When I log in to my terminal, I get this message: “You have new mail.”
root:# cat /var/spool/mail/root
From root@nextcloud-state2-6.localdomain Thu Feb 5 07:50:03 2026
Return-Path: <root@nextcloud-state2-6.localdomain>
X-Original-To: root
Delivered-To: root@nextcloud-state2-6.localdomain
Received: by nextcloud-state2-6.localdomain (Postfix, from userid 0)
id 8C37A45663; Thu, 5 Feb 2026 07:50:03 +0000 (UTC)
From: root@nextcloud-state2-6.localdomain (Cron Daemon)
To: root@nextcloud-state2-6.localdomain
Subject: Cron <root@nextcloud-state2-6> docker ps --format "{{.Names}}" | grep -q "^nextcloud-aio-nextcloud$" && docker exec --user www-data nextcloud-aio-nextcloud php occ preview:pre-generate
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <LOGNAME=root>
Message-Id: <20260205075003.8C37A45663@nextcloud-state2-6.localdomain>
Date: Thu, 5 Feb 2026 07:50:03 +0000 (UTC)
Das Datenverzeichnis ist schreibgesch=C3=BCtzt.
Berechtigungen k=C3=B6nnen zumeist korrigiert werden, indem dem Webserver=
Schreibzugriff auf das Wurzel-Verzeichnis einger=C3=A4umt wird. Siehe au=
ch https://docs.nextcloud.com/server/31/go.php?to=3Dadmin-dir_permissions=
. =
An unhandled exception has been thrown:
Exception: Environment not properly prepared. in /var/www/html/lib/privat=
e/Console/Application.php:143
Stack trace:
#0 /var/www/html/console.php(81): OC\Console\Application->loadCommands(Ob=
ject(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component=
\Console\Output\ConsoleOutput))
#1 /var/www/html/occ(33): require_once('/var/www/html/c...')
#2 {main}
From root@nextcloud-state2-6.localdomain Thu Feb 5 08:00:02 2026
Return-Path: <root@nextcloud-state2-6.localdomain>
X-Original-To: root
Delivered-To: root@nextcloud-state2-6.localdomain
Received: by nextcloud-state2-6.localdomain (Postfix, from userid 0)
id 83FFE459F2; Thu, 5 Feb 2026 08:00:02 +0000 (UTC)
From: root@nextcloud-state2-6.localdomain (Cron Daemon)
To: root@nextcloud-state2-6.localdomain
Subject: Cron <root@nextcloud-state2-6> docker ps --format "{{.Names}}" | grep -q "^nextcloud-aio-nextcloud$" && docker exec --user www-data nextcloud-aio-nextcloud php occ preview:pre-generate
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <LOGNAME=root>
Message-Id: <20260205080002.83FFE459F2@nextcloud-state2-6.localdomain>
Date: Thu, 5 Feb 2026 08:00:02 +0000 (UTC)
Das Datenverzeichnis ist schreibgesch=C3=BCtzt.
Berechtigungen k=C3=B6nnen zumeist korrigiert werden, indem dem Webserver=
Schreibzugriff auf das Wurzel-Verzeichnis einger=C3=A4umt wird. Siehe au=
ch https://docs.nextcloud.com/server/31/go.php?to=3Dadmin-dir_permissions=
. =
An unhandled exception has been thrown:
Exception: Environment not properly prepared. in /var/www/html/lib/privat=
e/Console/Application.php:143
Stack trace:
#0 /var/www/html/console.php(81): OC\Console\Application->loadCommands(Ob=
ject(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component=
\Console\Output\ConsoleOutput))
#1 /var/www/html/occ(33): require_once('/var/www/html/c...')
#2 {main}
But I haven’t changed any file rights.
Where can I check? To be honest: Not long time ago I switched from bare metal to Proxmox and Nextcloud AIO.
Thank you!