Hi, thanks for replying.
Yes I also tried to import the backup on a virtual machine prepared from scratch.
Restore is successful, than the interface asks to update and start the containers and then the issue with the DB begins.
This is the procedure that I tried:
-
stop the database docker, remove and prune
$ sudo docker stop nextcloud-aio-database
$ sudo docker rm nextcloud-aio-database;
$ sudo docker image prune -af
-
stop the other dockers and restart the server
-
select the backup and start restore procedure
-
update the dockers and start
unfortunately the problem is there:
[…]
2025-07-02T20:54:17.621867081Z CREATE INDEX
2025-07-02T20:54:17.725996018Z ALTER TABLE
2025-07-02T20:54:17.817894524Z ALTER TABLE
2025-07-02T20:54:17.966523609Z ALTER TABLE
2025-07-02T20:54:18.109140686Z ALTER TABLE
2025-07-02T20:54:18.210773973Z ALTER TABLE
2025-07-02T20:54:18.320046455Z ALTER TABLE
2025-07-02T20:54:18.420873749Z GRANT
2025-07-02T20:54:18.420895507Z + ‘[’ -n ‘’ ‘]’
2025-07-02T20:54:18.420899082Z + pg_ctl stop -m fast
2025-07-02T20:54:18.422681286Z waiting for server to shut down…2025-07-02 22:54:18.421 CEST [12] LOG: received fast shutdown request
2025-07-02T20:54:18.756543144Z 2025-07-02 22:54:18.751 CEST [12] LOG: aborting any active transactions
2025-07-02T20:54:18.761220722Z 2025-07-02 22:54:18.761 CEST [12] LOG: background worker “logical replication launcher” (PID 188) exited with exit code 1
2025-07-02T20:54:18.762279025Z 2025-07-02 22:54:18.761 CEST [183] LOG: shutting down
2025-07-02T20:54:19.150604047Z 2025-07-02 22:54:19.144 CEST [183] LOG: checkpoint starting: shutdown immediate
2025-07-02T20:54:38.228316909Z …2025-07-02 22:54:38.223 CEST [301] FATAL: the database system is shutting down
2025-07-02T20:55:08.390559375Z …2025-07-02 22:55:08.386 CEST [310] FATAL: the database system is shutting down
2025-07-02T20:55:19.734741407Z … failed
2025-07-02T20:55:19.734794062Z pg_ctl: server does not shut down
2025-07-02T20:55:28.105292897Z The database import failed. Please restore a backup and try again.