nextcloudpi
nextcloudpi copied to clipboard
Failed update to NC 31.0.4 from 30.0.10 with NCP 1.55.4
Usage ncp-update-nc <version>
root@tropdelaque:~# ncp-update-nc 0
Running as unit: ncp-update-nc.service
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 846k 0 846k 0 0 1228k 0 --:--:-- --:--:-- --:--:-- 1230k
Current Nextcloud version 30.0.10
Requested Nextcloud version latest
Selected Nextcloud version 31.0.4
INFO: You have requested an update to the latest available version that can be performed directly, which is '31.0.4'. Updates can only performed to the next major version (or the latest minor version of the current major version). If you run ncp-update-nc again after this update completes, a new version might be available.
Download Nextcloud 31.0.4...
Back up current instance...
check free space...
Maintenance mode enabled
backup database...
backup files...
backup /var/www/nextcloud-bkp_20250422_1745303282.tar.gz generated
Maintenance mode disabled
Storing backup at '/var/www/nextcloud-bkp_20250422_1745303282-30.0.10.tar.gz'...
Install Nextcloud 31.0.4...
Fix permissions...
Upgrade...
Nextcloud is not installed - only a limited number of commands are available
Command "upgrade" is not defined.
Abort
Clean up...
Rolling back to backup /var/www/nextcloud-bkp_20250422_1745303282-30.0.10.tar.gz...
PHP Warning: Undefined array key "dbtableprefix" in Command line code on line 1
check free space...
[...]
<--! Paste this in GitHub report -->
NextcloudPi diagnostics
NextcloudPi version v1.55.4
NextcloudPi image
OS Armbian 25.2.3 bookworm \l . 6.12.22-current-meson64 (aarch64)
automount no
USB devices none
datadir /media/myCloudDrive/ncdata/data
data in SD no
data filesystem btrfs
data disk usage 1.1T/3.7T
rootfs usage 7.6G/15G
swapfile /var/swap
dbdir /media/myCloudDrive/ncdatabase
Nextcloud check ok
Nextcloud version 30.0.10.1
HTTPD service up
PHP service up
MariaDB service up
Redis service up
HPB service up
Postfix service up
Internet check ok
Public IPv4 ***REMOVED SENSITIVE VALUE***
Public IPv6 ***REMOVED SENSITIVE VALUE***
Port 80 open
Port 443 open
IP ***REMOVED SENSITIVE VALUE***
Gateway ***REMOVED SENSITIVE VALUE***
Interface end0
Certificates ***REMOVED SENSITIVE VALUE***
NAT loopback no
Uptime 10days
Nextcloud configuration
{
"system": {
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": {
"0": "localhost",
"1": "192.168.69.35",
"11": "2a01:e0a:b4b:cba0:xxxx",
"14": "tropdelaque",
"16": "nc.xxx.me",
"3": "nc.xxx.me"
},
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "30.0.10.1",
"overwrite.cli.url": "https:\/\/nc.xxx.me\/",
"overwriteprotocol": "https",
"overwritehost": "nc.xxx.me",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"memcache.local": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 0,
"timeout": 0,
"password": "***REMOVED SENSITIVE VALUE***"
},
"tempdirectory": "\/media\/myCloudDrive\/ncdata\/data\/tmp",
"mail_smtpmode": "smtp",
"mail_smtpauthtype": "LOGIN",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"preview_max_x": "2048",
"preview_max_y": "2048",
"jpeg_quality": "60",
"maintenance": false,
"logfile": "\/media\/myCloudDrive\/ncdata\/data\/nextcloud.log",
"encryption.legacy_format_support": false,
"htaccess.RewriteBase": "\/",
"theme": "",
"loglevel": "2",
"log_type": "file",
"mail_sendmailmode": "smtp",
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"mail_smtpsecure": "ssl",
"mail_smtpauth": 1,
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "465",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"data-fingerprint": "90a500532d96bc86f2b9dd2a35a6480d",
"default_phone_region": "FR",
"app_install_overwrite": [
"files_opds"
],
"maintenance_window_start": 3
}
}
HTTPd logs
[Mon Apr 21 23:30:03.782193 2025] [mpm_event:notice] [pid 219390:tid 219390] AH00489: Apache/2.4.62 (Debian) OpenSSL/3.0.15 configured -- resuming normal operations
[Mon Apr 21 23:30:03.782285 2025] [core:notice] [pid 219390:tid 219390] AH00094: Command line: '/usr/sbin/apache2'
Database logs
tail: cannot open '/var/log/mysql/*.log' for reading: No such file or directory
Nextcloud logs
[a lot of DB errors that does not fit into the maximum size]