Nextcloudpi won't run

Hello,

I run a Raspberry pi 4 with OMV and Portainer

i tried the last two days to set up nextcloudpi on my Raspberry pi 4.

I already have one successful install of nextcloudpi but now i wanted to put a reverse proxy behind it to have multiple dockers able to use port 80.

i tried it already the normal way but no success. I can not open the web interface.

Now i tried to do it this way:

docker pull ownyourbits/nextcloudpi-armhf

nano /etc/openmediavault/config.xml
Delete the noexec

omv-salt deploy run fstab

docker run -d -p 4443:4443 -p 8080:80 -v /var/lib/ncdata2:/data --name nextcloudpi2 ownyourbits/nextcloudpi-armhf localhost:8080

I left out port 443 because nginx is already using port 80,81 and 443. Because i wanted to use ssl with nginx and then tell nginx to foreward my subdomain to my nextcloud iterface with localhost.8080 (port 8080).

The docker is running and nginx too but i cannot reach my interface and when i try to set my subtomain to my localhost:8080 it also doesn’t work. Why i cannot reach my nextcloud interface?

This was is my 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

2021-05-27 15:32:25 0 [Note] mysqld (mysqld 10.3.22-MariaDB-0+deb10u1) starting as process 102 ...

Starting Redis

Starting Cron

Starting Postfix

System config value trusted_domains => 1 set to string 172.17.0.9

System config value trusted_domains => 6 set to string localhost:8080

 Provisioning

Provisioning Redis password

Updating NextCloud config with Redis password

Provisioning MariaDB password

Updating NextCloud config with MariaDB password

Running nc-limits

Using 3009890304B for PHP

Using 6 PHP threads

Using 952965120 memory for the database

Stopping MariaDB database server: mysqld.

Starting MariaDB database server: mysqld.

Stopping redis-server: redis-server.

Starting redis-server: redis-server.



e

Anyone any ideas? i need help :frowning: