Nextcloudpi on docker container on rpi 4 8gb
Nextcloud version (eg, 20.0.5): 20.0.4.0
Operating system and version (eg, Ubuntu 20.04): Debian GNU/Linux 10. 5.10.63-v7l+ (armv7l)
Apache or nginx version (eg, Apache 2.4.25): 2.4.38
PHP version (eg, 7.4): 7.3
The issue you are facing:
When trying to update nexcloud from nextcloudpi web ui using nc-update-next-cloud I’m getting:
[ nc-update-nextcloud ] (Fri Oct 15 05:52:14 UTC 2021)
Current Nextcloud version 20.0.4.0
Available Nextcloud version 21.0.4
Download Nextcloud 21.0.4...
Error downloading
Clean up...
ncp system info:
NextCloudPi version v1.40.10
NextCloudPi image NextCloudPi_docker_01-19-21
OS Debian GNU/Linux 10. 5.10.63-v7l+ (armv7l)
automount no
USB devices sda
datadir /data/nextcloud/data
data in SD no
data filesystem ext2/ext3
data disk usage 5.1G/3.6T
rootfs usage 15G/59G
swapfile /var/swap
dbdir /data/database
Nextcloud check ok
Nextcloud version 20.0.4.0
HTTPD service up
PHP service up
MariaDB service up
Redis service up
HPB service down
Postfix service up
internet check ok
port check 80 closed
port check 443 closed
IP
gateway
interface eth0
certificates
NAT loopback no
uptime 1day
The output of your Nextcloud log in Admin > Logging:
Nothing in the logs from the time of the update request
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
root@XXX:/# cat /data/nextcloud/config/config.php
<?php
$CONFIG = array (
'passwordsalt' =>
'secret' =>
'trusted_domains' =>
array (
0 => 'localhost',
5 => 'nextcloudpi.local',
7 => 'nextcloudpi',
8 => 'nextcloudpi.lan',
1 => '',
6 => '',
20 => '',
21 => '',
12 => '',
),
'datadirectory' => '/data/nextcloud/data',
'dbtype' => 'mysql',
'version' => '20.0.4.0',
'overwrite.cli.url' => '',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'ncadmin',
'dbpassword' => '',
'installed' => true,
'instanceid' => 'ocg8w7gexsjy',
'memcache.local' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/var/run/redis/redis.sock',
'port' => 0,
'timeout' => 0.0,
'password' => '',
),
'tempdirectory' => '/var/www/nextcloud/data/tmp',
'mail_smtpmode' => 'sendmail',
'mail_smtpauthtype' => 'LOGIN',
'mail_from_address' => 'admin',
'mail_domain' => 'ownyourbits.com',
'preview_max_x' => '2048',
'preview_max_y' => '2048',
'jpeg_quality' => '60',
'overwriteprotocol' => 'https',
'maintenance' => false,
'loglevel' => 2,
);
The output of your Apache/nginx/system log in /var/log/____
:
Apache2/error.log
[Fri Oct 15 05:48:55.061689 2021] [authz_host:error] [pid 7188:tid 3008246816] [client 192.168.68.106:52668] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
Apache2/other_vhosts_access.log
localhost:4443 192.168.68.106 - - [15/Oct/2021:05:48:55 +0000] "POST /ncp-launcher.php HTTP/2.0" 200 181 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"