NextcloudPi new installation - Forbidden, you dont have permission on this server


#1

Hi,
I really needs some support. I keep getting “403 Forbidden” when installing NextcloudPi on a Raspberry pi 2 model B. This issue started in November, before this everything work just perfect.
I can access the server with SSH, and get access to ncp-config and have managed to get Duckdns.org and letsencrypt up and running. I’ve tried “nc-init” but end up in the same “403 Forbidden”.

Please help me! to get access to my Nextcloud installation.

the output from ncp-info is:

pi@nextcloudpi:~ $ sudo ncp-config
Running nc-info
Gathering information…
NextCloudPi version v1.5.1
NextCloudPi image NextCloudPi_01-14-19
distribution Raspbian GNU/Linux 9 \n \l
automount no
USB devices sda
datadir /var/www/nextcloud/data
data in SD yes
data filesystem ext2/ext3
data disk usage 2.0G/7.3G
rootfs usage 2.0G/7.3G
swapfile /var/swap
dbdir /var/lib/mysql
Nextcloud check ok
Nextcloud version 15.0.2.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 XXX.XXX.XXX.90
gateway XXX.XXX.XXX.1
interface eth0
certificates xxx.duckdns.org
NAT loopback no
uptime 15days

You should use nc-datadir to move your files to your plugged in USB drive

You should enable automount to use your plugged in USB drive
Done. Press any key…


#2

Finally I found this:


And manage too solve my issue with nc-passwd and nc-admin.