Ive cleared any previous docker images and the mounted volume before. The mounted volume exists, and the folder ncp too.
When trying to initialize on the activate screen i get: NextCloudPi not yet initialized, trying again in a few seconds ...
This is the output of the docker log:
Initializing empty volume..
Making /usr/local/etc/ncp-config.d persistent ...
Making /etc/services-enabled.d persistent ...
Making /etc/letsencrypt persistent ...
Making /etc/shadow persistent ...
Making /etc/cron.d persistent ...
Making /etc/cron.daily persistent ...
Making /etc/cron.hourly persistent ...
Making /etc/cron.weekly persistent ...
Making /usr/local/bin persistent ...
Making /etc/apache2 persistent ...
Starting PHP-fpm
Starting Apache
Starting mariaDB
2020-10-11 12:34:28 0 [Note] mysqld (mysqld 10.3.23-MariaDB-0+deb10u1) starting as process 102 ...
Starting Redis
Starting Cron
Starting Postfix
Could not open input file: /var/www/nextcloud/occ
Init done
I dont understand why /var/www/nextcloud/occ couldnt be opened. The file exists, and i can execute it via sudo -u www-data occ …
I have mounted the external drive via fstab. It is correctly mounted and recognized (at least to some extend), as some directory structure is created on the mounted drive after running ncp.
This is the ncp-report output:
NextCloudPi diagnostics
NextCloudPi version v1.18.0
distribution Raspbian GNU/Linux 10 \n \l
automount no
USB devices sda sdb
datadir (doesn't exist)
rootfs usage 12G/117G
swapfile /var/swap
dbdir /var/lib/mysql
Nextcloud check ok
Nextcloud version 19.0.3.1
HTTPD service up
PHP service up
MariaDB service up
Redis service up
Postfix service up
internet check ok
port check 80 closed
port check 443 closed
IP ***REMOVED SENSITIVE VALUE***
gateway ***REMOVED SENSITIVE VALUE***
interface eth0
certificates ***REMOVED SENSITIVE VALUE***
NAT loopback no
uptime 3days
Nextcloud configuration
Nextcloud is not installed - only a limited number of commands are available
There are no commands defined in the "config" namespace.
HTTPd logs
[Fri Oct 16 00:00:02.402985 2020] [ssl:warn] [pid 804:tid 3069461008] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Fri Oct 16 00:00:02.403333 2020] [ssl:error] [pid 804:tid 3069461008] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=raspberrypi / issuer: CN=raspberrypi / serial: 5F8B074CDE8F60C887AAA17859CF2F98977C5E60 / notbefore: Oct 10 19:45:07 2020 GMT / notafter: Oct 8 19:45:07 2030 GMT]
[Fri Oct 16 00:00:02.403361 2020] [ssl:error] [pid 804:tid 3069461008] AH02604: Unable to configure certificate localhost:443:0 for stapling
[Fri Oct 16 00:00:02.405922 2020] [mpm_event:notice] [pid 804:tid 3069461008] AH00489: Apache/2.4.38 (Raspbian) OpenSSL/1.1.1d configured -- resuming normal operations
[Fri Oct 16 00:00:02.409307 2020] [core:notice] [pid 804:tid 3069461008] AH00094: Command line: '/usr/sbin/apache2'
[Fri Oct 16 22:48:11.046969 2020] [authz_host:error] [pid 9849:tid 2755359776] [client 192.168.0.7:36126] AH01753: access check of 'localhost' to /activate/ failed, reason: unable to get the remote host name
[Fri Oct 16 22:48:11.048591 2020] [authz_host:error] [pid 9849:tid 2755359776] [client 192.168.0.7:36126] AH01753: access check of 'localhost' to /activate/index.php failed, reason: unable to get the remote host name
[Fri Oct 16 22:48:11.131014 2020] [authz_host:error] [pid 9849:tid 2755359776] [client 192.168.0.7:36126] AH01753: access check of 'localhost' to /activate/CSS.css failed, reason: unable to get the remote host name
[Fri Oct 16 22:48:11.303509 2020] [authz_host:error] [pid 9849:tid 2755359776] [client 192.168.0.7:36126] AH01753: access check of 'localhost' to /img/ncp-logo.svg failed, reason: unable to get the remote host name
[Fri Oct 16 22:48:11.307102 2020] [authz_host:error] [pid 9849:tid 2772161568] [client 192.168.0.7:36126] AH01753: access check of 'localhost' to /activate/JS.js failed, reason: unable to get the remote host name
[Fri Oct 16 22:48:11.309544 2020] [authz_host:error] [pid 9849:tid 2780562464] [client 192.168.0.7:36126] AH01753: access check of 'localhost' to /img/clippy.svg failed, reason: unable to get the remote host name
[Fri Oct 16 22:48:11.312392 2020] [authz_host:error] [pid 9849:tid 2788963360] [client 192.168.0.7:36126] AH01753: access check of 'localhost' to /img/loading-small.gif failed, reason: unable to get the remote host name
[Fri Oct 16 22:48:11.313186 2020] [authz_host:error] [pid 9849:tid 2763760672] [client 192.168.0.7:36126] AH01753: access check of 'localhost' to /js/minified.js failed, reason: unable to get the remote host name
[Fri Oct 16 22:48:11.314236 2020] [authz_host:error] [pid 9849:tid 2797356064] [client 192.168.0.7:36126] AH01753: access check of 'localhost' to /img/background.png failed, reason: unable to get the remote host name, referer: https://192.168.0.10/activate/CSS.css
Database logs
Nextcloud logs
tail: cannot open '/nextcloud.log' for reading: No such file or directory