Hello,
I have a problem to setup NextCloudPi mit docker.
I use a Rpi 4 with 4GB RAM.
I have used a new 16Gb SDCard with Rasbian OS lite.
I used the commands to install docker and NexcloudPI:
curl -fsSL https://get.docker.com | sh
sudo usermod -aG docker pi
newgrp docker
sudo apt-get install -y libffi-dev libssl-dev
sudo apt-get install -y python3 python3-pip
sudo pip3 -v install docker-compose
My docker-compose.yml:
nextcloudpi:
image: ownyourbits/nextcloudpi:latest
container_name: nextcloudpi
command: 192.168.188.44 (my Windows PC)
ports:
- 4443:4443
- 443:443
- 80:80
volumes: - ./volumes/nextcloudpi/ncdata:/data
- /etc/localtime:/etc/localtime:ro
restart: unless-stopped
I start the system with:
sudo docker-compose up -d
This is the log from Nexcloudpi
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
2021-01-25 14:44:08 0 [Note] mysqld (mysqld 10.3.22-MariaDB-0+deb10u1) starting as process 137 …
Starting Redis
Starting Cron
Starting Postfix
System config value trusted_domains => 1 set to string 172.18.0.2
System config value trusted_domains => 6 set to string 192.168.188.44
Provisioning
Provisioning Redis password
Updating NextCloud config with Redis password
Provisioning MariaDB password
Updating NextCloud config with MariaDB password
Running nc-limits
Using 3010403328B for PHP
Using 6 PHP threads
Using 953136128 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
I get to Webside with the passwords and use the Button “Activate”
I get to the Webside :4443 and this is the System Info:
System Info
‣ You should run Lets Encrypt for trusted encrypted access
NextCloudPi version | v1.34.6 |
---|---|
NextCloudPi image | NextCloudPi_docker_01-19-21 |
distribution | Debian GNU/Linux 10 \n \l |
automount | no |
USB devices | none |
datadir | /data/nextcloud/data |
data in SD | yes |
data filesystem | ext2/ext3 |
data disk usage | 5.0G/15G |
rootfs usage | 5.0G/15G |
swapfile | /var/swap |
dbdir | /data/database |
Nextcloud check | ok |
Nextcloud version | 18.0.3.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 | 172.18.0.2 |
gateway | 172.18.0.1 |
interface | eth0 |
certificates | none |
NAT loopback | no |
uptime | 55min |
Now I want to go to the website :443 and there is only
Initializing NextCloudPi for the first time
Please wait…
and then nothing more happens
Do anybody have an idea?
Thanks for your help.
Greetings Tobias