Hello,
I have automatic upgrade for ncp, but it appears to have failed lately. I noticed it because the letsencrypt certificate was outdated, and when ssh in, I got the message: NextCloudPi v1.10.4 is outdated update to v1.10.6 through 'ncp-config' or type 'sudo ncp-update'
Thus, I’ve done:
$ sudo ncp-update
Downloading updates
Performing updates
Config value squareSizes for app previewgenerator set to 32
Config value widthSizes for app previewgenerator set to 128 256 512
Config value heightSizes for app previewgenerator set to 128 256
System config value jpeg_quality set to string 60
Running unattended-upgrades
Unattended upgrades active: yes (autoreboot true)
--2019-03-26 11:27:11-- https://packages.sury.org/php/apt.gpg
Resolving packages.sury.org (packages.sury.org)... 195.154.81.200, 2001:bc8:6006:2023:aa1e:84ff:fef1:23ff
Connecting to packages.sury.org (packages.sury.org)|195.154.81.200|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1769 (1.7K) [application/octet-stream]
Saving to: '/etc/apt/trusted.gpg.d/php.gpg'
/etc/apt/trusted.gp 100%[===================>] 1.73K --.-KB/s in 0s
2019-03-26 11:27:11 (7.92 MB/s) - '/etc/apt/trusted.gpg.d/php.gpg' saved [1769/1769]
Running nc-backup-auto
automatic backups enabled
Running nc-autoupdate-ncp
automatic NextCloudPi updates enabled
Running nc-notify-updates
update web notifications enabled
./update.sh: line 223: /etc/letsencrypt/renewal-hooks/deploy/ncp: No such file or directory
and:
NextCloudPi diagnostics
NextCloudPi version v1.10.4
NextCloudPi image NextCloudPi_10-05-18
distribution Raspbian GNU/Linux 9 \n \l
automount yes
USB devices sda
datadir /media/USBdrive/ncdata
data in SD no
data filesystem btrfs
data disk usage 730G/932G
rootfs usage 2.2G/15G
swapfile /var/swap
dbdir /var/lib/mysql
Nextcloud check ok
Nextcloud version 15.0.4.0
HTTPD service up
PHP service up
MariaDB service up
Redis service up
Postfix service up
internet check ok
port check 80 open
port check 443 open
IP ***REMOVED SENSITIVE VALUE***
gateway ***REMOVED SENSITIVE VALUE***
interface eth0
certificates ***REMOVED SENSITIVE VALUE***
NAT loopback no
uptime 1day
Nextcloud configuration
{
"system": {
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": {
"0": "localhost",
"5": "nextcloudpi.local",
"7": "nextcloudpi",
"8": "nextcloudpi.lan",
"1": "192.168.0.4",
"4": "vercingeto.freeboxos.fr"
},
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "15.0.4.0",
"overwrite.cli.url": "https:\/\/vercingeto.freeboxos.fr\/",
"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***"
},
"mail_smtpmode": "smtp",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"overwriteprotocol": "https",
"maintenance": false,
"logfile": "\/media\/USBdrive\/ncdata\/nextcloud.log",
"loglevel": "2",
"log_type": "file",
"theme": "",
"mail_sendmailmode": "smtp",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "465",
"mail_smtpsecure": "ssl",
"mail_smtpauth": 1,
"mail_smtpauthtype": "LOGIN",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"twofactor_enforced": "false",
"twofactor_enforced_groups": [],
"twofactor_enforced_excluded_groups": [],
"jpeg_quality": "60"
}
}
HTTPd logs
[Tue Mar 26 06:25:03.087041 2019] [ssl:warn] [pid 780:tid 1995895168] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Tue Mar 26 06:25:04.001412 2019] [mpm_event:notice] [pid 780:tid 1995895168] AH00489: Apache/2.4.25 (Raspbian) OpenSSL/1.0.2r configured -- resuming normal operations
[Tue Mar 26 06:25:04.001584 2019] [core:notice] [pid 780:tid 1995895168] AH00094: Command line: '/usr/sbin/apache2'
Database logs
What should I do ?