Closed namomitk closed 7 months ago
Hm, weird, I had the opposite happening in my LXD build :thinking:
Did you install using the official NCP-LXC-Image or via the Proxmox-Script?
Install was with the Proxmox-Script.
Resolv.conf is changed from being the DNS server set in Proxmox / the LXC to:
nameserver 127.0.0.53
options edns0 trust-ad
search .
@namomitk I did some more testing and believe that the issue can best be fixed in the install script, not NCP itself (I'll discuss this with ttek in more detail in the downstream issue tomorrow).
For now, you can still install NCP on Proxomox by heading to any storage pool that has CT Templates enabled, go to CT Templates, click "Download from URL" and enter the link to the latest LXC image from the Nextcloudpi releases page. Then create a container from that template. I recommend this method anyways, because that way you will get an already tested image instead of running the whole build process which always has a chance to fail.
In my test, I had to set the network device to "static IP" - DHCP didn't seem to work (but I don't think that that's an issue with the container image - I'll need to look into that). But other than that everything worked fine.
Thanks for looking into it. Always rough building from master. I understand why you couldn’t change the commits. Thanks for the how to.
https://github.com/nextcloud/nextcloudpi/blob/c4288d8e042f861ebfe41dcc01ce1bd545e1fd83/install.sh#L77-L81
See Also: https://github.com/tteck/Proxmox/issues/2893
Name resolution stops working due to systemd-resolved resetting the DNS server provided by Proxmox.