nextcloud / nextcloudpi

📦 Build code for NextcloudPi: Raspberry Pi, Odroid, Rock64, curl installer...
https://nextcloudpi.com
2.55k stars 298 forks source link

Installation fails on Proxmox Container because of installing new systemd-resolve #1990

Open Flappiee opened 3 weeks ago

Flappiee commented 3 weeks ago

Hi,

I created a new Proxmox container en tried to install NextCloudPi. The installation fails because the script installs a new systemd-resolve with a new /etc/resolv.conf with a wrong DNS server.

First of all, after creating the container, the /etc/resolv.conf looks like this: --- BEGIN PVE --- search lan.snowice.nl nameserver 1.1.1.1 nameserver 9.9.9.9 --- END PVE ---

When the script installs the new systemd-resolve the file looks like this: nameserver 127.0.0.53 options edns0 trust-ad search .

When this wrong DNS server has been set, the script can't continue because it can't reach http://deb.debian.org anymore and the install script stops without installing NextCloud.

bub4 commented 2 weeks ago

Maybe you want to try ttecks scirpt?

https://tteck.github.io/Proxmox/

just search for NextCloudPi and the wonder will happen :)

theCalcaholic commented 2 weeks ago

Hi, for Proxmox you can just use the official NextcloudPi LXC image from the releases or ttecks install script.

However, this will hopefully be fixed in the next release