Initializing NextCloudPi for the first time error after docker install

I have installed your amazing docker iamge many times.

docker run --restart=unless-stopped -d -p 4443:4443 -p 443:443 -p 80:80 -v /home/christopher/appdata/ncdata:/data --name nextcloudpi ownyourbits/nextcloudpi 192.168.1.3

This time round on a brand new server I’m not getting past this message. I can browse the Pi Panel but not NC.
Attached is part of the log. Please can you advise what I can try to get it back up as I really depend on your container as it has everything I need :slight_smile: Thanks for the hard work.

nextcloudpi enabled
Error: Could not download app calendar
Init done
stopping Cron…
stopping Redis…
stopping Postfix…
stopping logs…
tail: no process found
Stopping apache
Stopping PHP-fpm
Stopping mariaDB
LAMP cleanup complete
Starting PHP-fpm
Starting Apache
Starting mariaDB
2020-05-11 16:00:24 0 [Note] mysqld (mysqld 10.3.22-MariaDB-0+deb10u1) starting as process 222 …
Starting Redis
Starting Cron
Starting Postfix
System config value trusted_domains => 1 set to string 172.17.0.2
System config value trusted_domains => 6 set to string 192.168.1.3
Provisioning
Provisioning Redis password
Updating NextCloud config with Redis password
Provisioning MariaDB password
Updating NextCloud config with MariaDB password
Running nc-limits
Using 12520992768B for PHP
Using 4 PHP threads
Using 6677862809 memory for the database
Stopping MariaDB database server: mysqld.
Starting MariaDB database server: mysqld.
Stopping redis-server: redis-server.
Starting redis-server: redis-server.
Init done

Could you post the full log please. Also, what architecture are you installing on?

Does la -la /home/christopher/appdata/ncdata show ownership by www-data ?

If not…
chown -R www-data:www-data /home/christopher/appdata/ncdata

I’m installing on linux mint
Here is the full 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-05-11 15:46:40 0 [Note] mysqld (mysqld 10.3.22-MariaDB-0+deb10u1) starting as process 102 …
Starting Redis
Starting Cron
Starting Postfix
Uninitialized instance, running nc-init…
Running nc-init
Setting up a clean Nextcloud instance… wait until message ‘NC init done’
Setting up database…
Setting up Nextcloud…
Nextcloud was successfully installed
Set mode for background jobs to ‘cron’
System config value tempdirectory set to string /var/www/nextcloud/data/tmp
System config value mysql.utf8mb4 set to boolean true
System config value trusted_domains => 11 set to string 102.182.105.70
System config value trusted_domains => 1 set to string 172.17.0.2
System config value trusted_domains => 5 set to string nextcloudpi.local
System config value trusted_domains => 7 set to string nextcloudpi
System config value trusted_domains => 8 set to string nextcloudpi.lan
System config value mail_smtpmode set to string sendmail
System config value mail_smtpauthtype set to string LOGIN
System config value mail_from_address set to string admin
System config value mail_domain set to string ownyourbits.com
nextcloudpi enabled
Error: Could not download app calendar
Init done
stopping Cron…
stopping Redis…
stopping Postfix…
stopping logs…
tail: no process found
Stopping apache
Stopping PHP-fpm
Stopping mariaDB
LAMP cleanup complete
Starting PHP-fpm
Starting Apache
Starting mariaDB
2020-05-11 16:00:24 0 [Note] mysqld (mysqld 10.3.22-MariaDB-0+deb10u1) starting as process 222 …
Starting Redis
Starting Cron
Starting Postfix
System config value trusted_domains => 1 set to string 172.17.0.2
System config value trusted_domains => 6 set to string 192.168.1.3
Provisioning
Provisioning Redis password
Updating NextCloud config with Redis password
Provisioning MariaDB password
Updating NextCloud config with MariaDB password
Running nc-limits
Using 12520992768B for PHP
Using 4 PHP threads
Using 6677862809 memory for the database
Stopping MariaDB database server: mysqld.
Starting MariaDB database server: mysqld.
Stopping redis-server: redis-server.
Starting redis-server: redis-server.
Init done

Running la -la shows the following

la -la /home/christopher/appdata/ncdata
total 28
drwxr-xr-x 7 root root 4096 May 11 17:46 .
drwxrwxr-x 4 christopher christopher 4096 May 11 17:46 …
drwxr-xr-x 3 root root 4096 Apr 6 01:54 bin
drwxr-xr-x 5 systemd-resolve systemd-network 4096 May 11 18:00 database
drwxr-xr-x 9 root root 4096 May 11 17:47 etc
drwxr-xr-x 3 root www-data 4096 Apr 6 01:55 ncp
drwxr-x— 14 www-data www-data 4096 Apr 6 01:49 nextcloud

Tried running again, remiving the image and deleting ncdata.
log shows error could not download app calendar

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-05-11 17:39:59 0 [Note] mysqld (mysqld 10.3.22-MariaDB-0+deb10u1) starting as process 102 …
Starting Redis
Starting Cron
Starting Postfix
Uninitialized instance, running nc-init…
Running nc-init
Setting up a clean Nextcloud instance… wait until message ‘NC init done’
Setting up database…
Setting up Nextcloud…
Nextcloud was successfully installed
Set mode for background jobs to ‘cron’
System config value tempdirectory set to string /var/www/nextcloud/data/tmp
System config value mysql.utf8mb4 set to boolean true
System config value trusted_domains => 11 set to string 102.182.105.70
System config value trusted_domains => 1 set to string 172.17.0.2
System config value trusted_domains => 5 set to string nextcloudpi.local
System config value trusted_domains => 7 set to string nextcloudpi
System config value trusted_domains => 8 set to string nextcloudpi.lan
System config value mail_smtpmode set to string sendmail
System config value mail_smtpauthtype set to string LOGIN
System config value mail_from_address set to string admin
System config value mail_domain set to string ownyourbits.com
nextcloudpi enabled
Error: Could not download app calendar
Init done

Not sure if an app server was unavailable at the time but I removed the container and started again, this time its all working. Thanks for the help though.