Hallo,
Ich habe einen Problem mit dem installieren von NextCloudPi mit docker.
Ich verwende einen Rpi 4 mit 4gb RAM.
Ich verwende eine neue SDKarte mit dem Rasbian OS lite.
Folgende Befehle habe bis jetzt genutzt:
sudo apt-get update
sudo apt full-upgrade -y
sudo reboot
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
Mein docker-compose.yml Datei hat folgenden inhalt:
nextcloudpi:
image: ownyourbits/nextcloudpi:latest
container_name: nextcloudpi
command: 192.168.188.44 (Mein Windows Rechner)
ports:
- 4443:4443
- 443:443
- 80:80
volumes:
- ./volumes/nextcloudpi/ncdata:/data
- /etc/localtime:/etc/localtime:ro
restart: unless-stopped
Mit sudo docker-compose up -d starte ich das System
Das Log sieht wie folgt aus:
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
Ich komme auf die Seite mit den erzeugten Passwörter und drücke auf Aktivieren.
Danach komme ich auf die Seite :4443. Da sieht alles gut aus
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 |
Wenn ich nun auf die nextcloud Seite mit :443 möchte bekomme ich nur:
Initializing NextCloudPi for the first time
Please wait…
Und das geht nun seit einer Stunde schon und es passiert einfach nichts mehr.
Hat jemand eine Idee wo es hackt?
Danke für eure Hilfe.
Viele Grüße Tobias