After running
curl -sSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh | sudo bash
Everything installed okay up to:
Applying workaround for dnsmasq bug (compare issue #1446)
+ mkdir -p /etc/systemd/resolved.conf.d
+ systemctl status systemd-resolved
Unit systemd-resolved.service could not be found.
+ systemctl stop resolvconf
Failed to stop resolvconf.service: Unit resolvconf.service not loaded.
At which point the script stops running.
I was able to access NCP from my browser but didn’t see the point in continuing the setup if it was going to break on reboot, so I rebooted. Now the Pi isn’t listening on port 8080, attempting to connect on any other port just results in a Not Found page. (SSH still works okay).
I have started Apache2 and confirmed it started okay. But systemctl reports:
Sep 21 21:24:33 raspberrypi systemd[1]: Starting apache2.service - The Apache HTTP Server...
Sep 21 21:24:33 raspberrypi apachectl[2608]: AH00112: Warning: DocumentRoot [/var/www/ncp-web/] does not exist
Sep 21 21:24:33 raspberrypi systemd[1]: Started apache2.service - The Apache HTTP Server.
I’m raising this as I’m not sure what to do from here, and so that the script can be corrected if needed.