nextcloudpi
nextcloudpi copied to clipboard
PHP removed and database deleted
PROBLEMS
During night the autoupdate was enabled. This caused massive problems. I had php8.3 installed and enabled. The auto-update function installed again php8.1 and removed somehow php8.3. During this process The database was deleted.
I found this in the log, which may caused the error
extracting backup file /var/www/nextcloud-bkp_20241206_1733463913-30.0.2.tar.gz...
restore files...
restore database...
ERROR 1010 (HY000) at line 1: Error dropping database (can't rmdir './nextcloud', errno: 39 "Directory not empty")
Cleanup...
Rollback failed! Data left at /var/www/recovery/ncp-data.nOiJA1
Nextcloud update failed (or was installed already).