I am running NCP with a HC2 for more than a year over and I am happy with it.
I am now testing for instalation alternatives and I am i tried to run the NCP curl installer in a clean Debian 10 VPS from Contabo.com but the instalation stops/fails when installing or starting dnsmasq.
I start the service manually and run again the curl installer but when it is finished, and I open https://ip/
I am faced with the web error: “# Forbidden. You don’t have permission to access this resource.”
I think the only problem is the fact that it installs a pure Nextcloud 19 without old data. If you must restore old data (files and database) it is perhaps not so easy. Also with this installation you have no NextcloudPi-tools for backup, restore, …
I am using NCP version because its webUI makes really easy to setup from, backups, other apps like Fail2Fan, LetsEnc, etc… also makes my life easier to migrate the data.
As you can imagine by my post, I am not a expert in nix systems but I manage to get around, I will give it a try as soon as I have the time.
NOTE: before running the NCP curl installer script, I installed manually dnsmasq and I no longer have the instalation stopped… however, I still get “Forbidden” on 443. I was really hoping this would a easy-peasy for the experts here
Indeed this is also one of the alternative options I was stuyding for the past days, a little more difficult to manage (for me) for not having the NCP webUI Panel
To access ncp-web at https://yourVpsIP:4443 and activation page.
You need to edit /etc/apache2/sites-available/ncp.conf
and /etc/apache2/sites-available/ncp-activation.conf (reload apache2.service)
and add a line (to the <RequireAny> section, to allow you to access from your IP
It is normally restricted to LAN and looks like this:
<RequireAny>
Require host localhost
Require local
Require ip 192.168
Require ip 172
Require ip 10
Require ip fd00::/8
Require ip fe80::/10
</RequireAny>
Insert a line with
Require ip YourIP
Alternatively, You can run ncp-config from the terminal to access the same apps you will find in ncp-web:4443
The ncp-config terminal interface is based on and similar to the raspi-config menu in raspbian. Not as fancy looking as web, but same tools.
@nachoparker in my case, the install script always fails right after installing dnsmasq and getting the service up… do you think it is worth it to investigate why I had to first install dnsmasq manually before running the curl installer?