tteck / Proxmox

Proxmox VE Helper-Scripts
https://Helper-Scripts.com
MIT License
14.4k stars 2.36k forks source link

[ERROR] in line 31: exit code 0 / Could not resolve host: raw.githubusercontent.com - when creating a new Netxtcloudpi Instance #3284

Closed skl283 closed 4 months ago

skl283 commented 4 months ago

Please verify that you have read and understood the guidelines.

yes

A clear and concise description of the issue.

I'll try to set up a new Nextcloudpi Instance but getting the following error (verbose log)

What settings are you currently utilizing?

Advanced Settings

Which Linux distribution are you employing?

Debian 12

If relevant, including screenshots or a code block can be helpful in clarifying the issue.

Using Advanced Settings
Using Distribution: debian
Using debian Version: 12
Using Container Type: 0
Using Root Password: ********
Container ID: 112
Using Hostname: nextcloud
Using Disk Size: 12
Allocated Cores: 2
Allocated RAM: 4096
Using Bridge: vmbr0
Using IP Address: dhcp
Using Gateway IP Address: Default
Using APT-Cacher IP Address: Default
Disable IPv6: no
Using Interface MTU Size: Default
Using DNS Search Domain: Host
Using DNS Server IP Address: Host
Using Vlan: Default
Enable Root SSH Access: no
Enable Verbose Mode: yes
Creating a NextCloudPi LXC using the above advanced settings
 ✓ Using local for Template Storage.
 ✓ Using local-zfs for Container Storage.
 ✓ Updated LXC Template List
 ✓ LXC Container 112 was successfully created.
 ✓ Started LXC Container
 ✓ Set up Container OS
 ✓ Network Connected: 10.10.10.198 XYZ:XYZ:XYZ:XYZ:XYZ:XYZ:XYZ:XYZ XYZ:XYZ:XYZ:XYZ:XYZ:XYZ:XYZ:XYZ
 ✓ IPv4 Internet Connected
 ✗ IPv6 Internet Not Connected
 ✓ DNS Resolved github.com to 140.82.121.3
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:2 http://security.debian.org bookworm-security InRelease [48.0 kB]                       
Get:3 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]                      
Get:4 http://security.debian.org bookworm-security/main amd64 Packages [164 kB]
Get:5 http://security.debian.org bookworm-security/main Translation-en [97.9 kB]
Get:6 http://security.debian.org bookworm-security/contrib amd64 Packages [644 B]
Get:7 http://security.debian.org bookworm-security/contrib Translation-en [372 B]
Get:8 http://deb.debian.org/debian bookworm/main amd64 Packages [8,786 kB]
Get:9 http://deb.debian.org/debian bookworm/main Translation-en [6,109 kB]
Get:10 http://deb.debian.org/debian bookworm/contrib amd64 Packages [54.1 kB]
Get:11 http://deb.debian.org/debian bookworm/contrib Translation-en [48.7 kB]
Get:12 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index [10.6 kB]
Get:13 http://deb.debian.org/debian bookworm-updates/contrib amd64 Packages.diff/Index [1,591 B]
Get:14 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-04-23-2036.10-F-2023-11-06-2008.27.pdiff [8,935 B]
Get:14 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-04-23-2036.10-F-2023-11-06-2008.27.pdiff [8,935 B]
Get:15 http://deb.debian.org/debian bookworm-updates/contrib amd64 Packages T-2024-02-16-2007.16-F-2024-02-16-2007.16.pdiff [682 B]
Get:15 http://deb.debian.org/debian bookworm-updates/contrib amd64 Packages T-2024-02-16-2007.16-F-2024-02-16-2007.16.pdiff [682 B]
Get:16 http://deb.debian.org/debian bookworm-updates/main Translation-en [16.0 kB]
Get:17 http://deb.debian.org/debian bookworm-updates/contrib Translation-en [408 B]
Fetched 15.6 MB in 2s (9,944 kB/s)                         
Reading package lists... Done
N: Repository 'http://deb.debian.org/debian bookworm InRelease' changed its 'Version' value from '12.2' to '12.5'
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
The following packages will be upgraded:
  base-files bind9-dnsutils bind9-host bind9-libs bsdextrautils bsdutils distro-info-data fdisk less libblkid1 libc-bin libc-l10n libc6 libcryptsetup12 libcurl3-gnutls libfdisk1 libgnutls30 libmount1 libnghttp2-14 libnss-systemd libpam-systemd libperl5.36 libsmartcols1 libssl3 libsystemd-shared libsystemd0
  libudev1 libuuid1 libuv1 locales mount openssh-client openssh-server openssh-sftp-server openssl perl perl-base perl-modules-5.36 postfix ssh systemd systemd-sysv systemd-timesyncd tar tzdata udev usrmerge util-linux util-linux-extra
49 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 38.8 MB of archives.
After this operation, 208 kB of additional disk space will be used.
Get:1 http://security.debian.org bookworm-security/main amd64 bsdutils amd64 1:2.38.1-5+deb12u1 [94.3 kB]
Get:2 http://deb.debian.org/debian bookworm/main amd64 base-files amd64 12.4+deb12u5 [70.8 kB]
Get:3 http://security.debian.org bookworm-security/main amd64 libc6 amd64 2.36-9+deb12u7 [2,758 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 libperl5.36 amd64 5.36.0-7+deb12u1 [4,218 kB]
Get:5 http://security.debian.org bookworm-security/main amd64 libsmartcols1 amd64 2.38.1-5+deb12u1 [107 kB]
Get:6 http://security.debian.org bookworm-security/main amd64 util-linux-extra amd64 2.38.1-5+deb12u1 [110 kB]
Get:7 http://security.debian.org bookworm-security/main amd64 util-linux amd64 2.38.1-5+deb12u1 [1,176 kB]
Get:8 http://security.debian.org bookworm-security/main amd64 libc-bin amd64 2.36-9+deb12u7 [607 kB]
Get:9 http://security.debian.org bookworm-security/main amd64 mount amd64 2.38.1-5+deb12u1 [134 kB]
Get:10 http://security.debian.org bookworm-security/main amd64 libblkid1 amd64 2.38.1-5+deb12u1 [147 kB]
Get:11 http://security.debian.org bookworm-security/main amd64 libmount1 amd64 2.38.1-5+deb12u1 [165 kB]
Get:12 http://security.debian.org bookworm-security/main amd64 libuuid1 amd64 2.38.1-5+deb12u1 [28.6 kB]
Get:13 http://security.debian.org bookworm-security/main amd64 libfdisk1 amd64 2.38.1-5+deb12u1 [193 kB]
Get:14 http://security.debian.org bookworm-security/main amd64 fdisk amd64 2.38.1-5+deb12u1 [141 kB]
Get:15 http://security.debian.org bookworm-security/main amd64 less amd64 590-2.1~deb12u2 [132 kB]
Get:16 http://security.debian.org bookworm-security/main amd64 libuv1 amd64 1.44.2-1+deb12u1 [136 kB]
Get:17 http://security.debian.org bookworm-security/main amd64 bind9-host amd64 1:9.18.24-1 [305 kB]
Get:18 http://security.debian.org bookworm-security/main amd64 bind9-dnsutils amd64 1:9.18.24-1 [403 kB]
Get:19 http://security.debian.org bookworm-security/main amd64 bind9-libs amd64 1:9.18.24-1 [1,413 kB]
Get:20 http://deb.debian.org/debian bookworm/main amd64 perl amd64 5.36.0-7+deb12u1 [239 kB]
Get:21 http://deb.debian.org/debian bookworm/main amd64 perl-base amd64 5.36.0-7+deb12u1 [1,608 kB]
Get:22 http://security.debian.org bookworm-security/main amd64 libc-l10n all 2.36-9+deb12u7 [675 kB]
Get:23 http://security.debian.org bookworm-security/main amd64 locales all 2.36-9+deb12u7 [3,902 kB]
Get:24 http://deb.debian.org/debian bookworm/main amd64 perl-modules-5.36 all 5.36.0-7+deb12u1 [2,815 kB]
Get:25 http://security.debian.org bookworm-security/main amd64 bsdextrautils amd64 2.38.1-5+deb12u1 [86.8 kB]
Get:26 http://deb.debian.org/debian bookworm/main amd64 tar amd64 1.34+dfsg-1.2+deb12u1 [836 kB]
Get:27 http://deb.debian.org/debian bookworm/main amd64 libnss-systemd amd64 252.22-1~deb12u1 [163 kB]
Get:28 http://deb.debian.org/debian bookworm/main amd64 libssl3 amd64 3.0.11-1~deb12u2 [2,019 kB]
Get:29 http://deb.debian.org/debian bookworm/main amd64 systemd-timesyncd amd64 252.22-1~deb12u1 [63.1 kB]
Get:30 http://deb.debian.org/debian bookworm/main amd64 libpam-systemd amd64 252.22-1~deb12u1 [225 kB]
Get:31 http://deb.debian.org/debian bookworm/main amd64 systemd amd64 252.22-1~deb12u1 [3,032 kB]
Get:32 http://deb.debian.org/debian bookworm/main amd64 libsystemd-shared amd64 252.22-1~deb12u1 [1,691 kB]
Get:33 http://deb.debian.org/debian bookworm/main amd64 systemd-sysv amd64 252.22-1~deb12u1 [41.9 kB]
Get:34 http://deb.debian.org/debian bookworm/main amd64 libcryptsetup12 amd64 2:2.6.1-4~deb12u2 [223 kB]
Get:35 http://deb.debian.org/debian bookworm/main amd64 libsystemd0 amd64 252.22-1~deb12u1 [331 kB]
Get:36 http://deb.debian.org/debian bookworm/main amd64 openssh-sftp-server amd64 1:9.2p1-2+deb12u2 [66.0 kB]
Get:37 http://deb.debian.org/debian bookworm/main amd64 openssh-server amd64 1:9.2p1-2+deb12u2 [456 kB]
Get:38 http://deb.debian.org/debian bookworm/main amd64 openssh-client amd64 1:9.2p1-2+deb12u2 [990 kB]
Get:39 http://deb.debian.org/debian bookworm/main amd64 postfix amd64 3.7.10-0+deb12u1 [1,508 kB]
Get:40 http://deb.debian.org/debian bookworm/main amd64 libgnutls30 amd64 3.7.9-2+deb12u2 [1,404 kB]
Get:41 http://deb.debian.org/debian bookworm/main amd64 udev amd64 252.22-1~deb12u1 [1,662 kB]
Get:42 http://deb.debian.org/debian bookworm/main amd64 libudev1 amd64 252.22-1~deb12u1 [108 kB]
Get:43 http://deb.debian.org/debian bookworm/main amd64 usrmerge all 37~deb12u1 [13.3 kB]
Get:44 http://deb.debian.org/debian bookworm/main amd64 tzdata all 2024a-0+deb12u1 [297 kB]
Get:45 http://deb.debian.org/debian bookworm/main amd64 libnghttp2-14 amd64 1.52.0-1+deb12u1 [72.4 kB]
Get:46 http://deb.debian.org/debian bookworm/main amd64 distro-info-data all 0.58+deb12u1 [6,072 B]
Get:47 http://deb.debian.org/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u5 [385 kB]
Get:48 http://deb.debian.org/debian bookworm/main amd64 openssl amd64 3.0.11-1~deb12u2 [1,419 kB]
Get:49 http://deb.debian.org/debian bookworm/main amd64 ssh all 1:9.2p1-2+deb12u2 [174 kB]
Fetched 38.8 MB in 0s (90.3 MB/s)
 |apt-listchanges: Reading changelogs...
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 19150 files and directories currently installed.)
Preparing to unpack .../base-files_12.4+deb12u5_amd64.deb ...
Unpacking base-files (12.4+deb12u5) over (12.4+deb12u2) ...
 /Setting up base-files (12.4+deb12u5) ...
Installing new version of config file /etc/debian_version ...
(Reading database ... 19150 files and directories currently installed.)
Preparing to unpack .../bsdutils_1%3a2.38.1-5+deb12u1_amd64.deb ...
Unpacking bsdutils (1:2.38.1-5+deb12u1) over (1:2.38.1-5+b1) ...
 -Setting up bsdutils (1:2.38.1-5+deb12u1) ...
(Reading database ... 19149 files and directories currently installed.)
Preparing to unpack .../libperl5.36_5.36.0-7+deb12u1_amd64.deb ...
Unpacking libperl5.36:amd64 (5.36.0-7+deb12u1) over (5.36.0-7) ...
 -Preparing to unpack .../perl_5.36.0-7+deb12u1_amd64.deb ...
Unpacking perl (5.36.0-7+deb12u1) over (5.36.0-7) ...
Preparing to unpack .../perl-base_5.36.0-7+deb12u1_amd64.deb ...
Unpacking perl-base (5.36.0-7+deb12u1) over (5.36.0-7) ...
 /Setting up perl-base (5.36.0-7+deb12u1) ...
(Reading database ... 19149 files and directories currently installed.)
Preparing to unpack .../perl-modules-5.36_5.36.0-7+deb12u1_all.deb ...
Unpacking perl-modules-5.36 (5.36.0-7+deb12u1) over (5.36.0-7) ...
 \Preparing to unpack .../libc6_2.36-9+deb12u7_amd64.deb ...
 |Unpacking libc6:amd64 (2.36-9+deb12u7) over (2.36-9+deb12u3) ...
 -Setting up libc6:amd64 (2.36-9+deb12u7) ...
(Reading database ... 19149 files and directories currently installed.)
Preparing to unpack .../tar_1.34+dfsg-1.2+deb12u1_amd64.deb ...
Unpacking tar (1.34+dfsg-1.2+deb12u1) over (1.34+dfsg-1.2) ...
 -Setting up tar (1.34+dfsg-1.2+deb12u1) ...
(Reading database ... 19149 files and directories currently installed.)
Preparing to unpack .../libsmartcols1_2.38.1-5+deb12u1_amd64.deb ...
Unpacking libsmartcols1:amd64 (2.38.1-5+deb12u1) over (2.38.1-5+b1) ...
Setting up libsmartcols1:amd64 (2.38.1-5+deb12u1) ...
(Reading database ... 19148 files and directories currently installed.)
Preparing to unpack .../util-linux-extra_2.38.1-5+deb12u1_amd64.deb ...
Unpacking util-linux-extra (2.38.1-5+deb12u1) over (2.38.1-5+b1) ...
 \Setting up util-linux-extra (2.38.1-5+deb12u1) ...
(Reading database ... 19147 files and directories currently installed.)
Preparing to unpack .../util-linux_2.38.1-5+deb12u1_amd64.deb ...
Unpacking util-linux (2.38.1-5+deb12u1) over (2.38.1-5+b1) ...
 -Setting up util-linux (2.38.1-5+deb12u1) ...
 -fstrim.service is a disabled or a static unit not running, not starting it.
(Reading database ... 19146 files and directories currently installed.)
Preparing to unpack .../libc-bin_2.36-9+deb12u7_amd64.deb ...
Unpacking libc-bin (2.36-9+deb12u7) over (2.36-9+deb12u3) ...
 \Setting up libc-bin (2.36-9+deb12u7) ...
(Reading database ... 19146 files and directories currently installed.)
Preparing to unpack .../mount_2.38.1-5+deb12u1_amd64.deb ...
Unpacking mount (2.38.1-5+deb12u1) over (2.38.1-5+b1) ...
Preparing to unpack .../libnss-systemd_252.22-1~deb12u1_amd64.deb ...
Unpacking libnss-systemd:amd64 (252.22-1~deb12u1) over (252.17-1~deb12u1) ...
 |Preparing to unpack .../libblkid1_2.38.1-5+deb12u1_amd64.deb ...
Unpacking libblkid1:amd64 (2.38.1-5+deb12u1) over (2.38.1-5+b1) ...
Setting up libblkid1:amd64 (2.38.1-5+deb12u1) ...
(Reading database ... 19144 files and directories currently installed.)
Preparing to unpack .../libmount1_2.38.1-5+deb12u1_amd64.deb ...
Unpacking libmount1:amd64 (2.38.1-5+deb12u1) over (2.38.1-5+b1) ...
 /Setting up libmount1:amd64 (2.38.1-5+deb12u1) ...
(Reading database ... 19143 files and directories currently installed.)
Preparing to unpack .../libssl3_3.0.11-1~deb12u2_amd64.deb ...
Unpacking libssl3:amd64 (3.0.11-1~deb12u2) over (3.0.11-1~deb12u1) ...
 -Preparing to unpack .../systemd-timesyncd_252.22-1~deb12u1_amd64.deb ...
Unpacking systemd-timesyncd (252.22-1~deb12u1) over (252.17-1~deb12u1) ...
Preparing to unpack .../libpam-systemd_252.22-1~deb12u1_amd64.deb ...
Unpacking libpam-systemd:amd64 (252.22-1~deb12u1) over (252.17-1~deb12u1) ...
 \Setting up libssl3:amd64 (3.0.11-1~deb12u2) ...
(Reading database ... 19143 files and directories currently installed.)
Preparing to unpack .../systemd_252.22-1~deb12u1_amd64.deb ...
Unpacking systemd (252.22-1~deb12u1) over (252.17-1~deb12u1) ...
 \Preparing to unpack .../libsystemd-shared_252.22-1~deb12u1_amd64.deb ...
Unpacking libsystemd-shared:amd64 (252.22-1~deb12u1) over (252.17-1~deb12u1) ...
 |Preparing to unpack .../libsystemd0_252.22-1~deb12u1_amd64.deb ...
Unpacking libsystemd0:amd64 (252.22-1~deb12u1) over (252.17-1~deb12u1) ...
Setting up libsystemd0:amd64 (252.22-1~deb12u1) ...
Setting up libsystemd-shared:amd64 (252.22-1~deb12u1) ...
Setting up mount (2.38.1-5+deb12u1) ...
Setting up systemd (252.22-1~deb12u1) ...
(Reading database ... 19143 files and directories currently installed.)
Preparing to unpack .../systemd-sysv_252.22-1~deb12u1_amd64.deb ...
Unpacking systemd-sysv (252.22-1~deb12u1) over (252.17-1~deb12u1) ...
Preparing to unpack .../libuuid1_2.38.1-5+deb12u1_amd64.deb ...
Unpacking libuuid1:amd64 (2.38.1-5+deb12u1) over (2.38.1-5+b1) ...
 |Setting up libuuid1:amd64 (2.38.1-5+deb12u1) ...
(Reading database ... 19142 files and directories currently installed.)
Preparing to unpack .../0-libcryptsetup12_2%3a2.6.1-4~deb12u2_amd64.deb ...
Unpacking libcryptsetup12:amd64 (2:2.6.1-4~deb12u2) over (2:2.6.1-4~deb12u1) ...
Preparing to unpack .../1-libfdisk1_2.38.1-5+deb12u1_amd64.deb ...
Unpacking libfdisk1:amd64 (2.38.1-5+deb12u1) over (2.38.1-5+b1) ...
Preparing to unpack .../2-openssh-sftp-server_1%3a9.2p1-2+deb12u2_amd64.deb ...
Unpacking openssh-sftp-server (1:9.2p1-2+deb12u2) over (1:9.2p1-2+deb12u1) ...
 /Preparing to unpack .../3-openssh-server_1%3a9.2p1-2+deb12u2_amd64.deb ...
Unpacking openssh-server (1:9.2p1-2+deb12u2) over (1:9.2p1-2+deb12u1) ...
Preparing to unpack .../4-openssh-client_1%3a9.2p1-2+deb12u2_amd64.deb ...
Unpacking openssh-client (1:9.2p1-2+deb12u2) over (1:9.2p1-2+deb12u1) ...
 -Preparing to unpack .../5-postfix_3.7.10-0+deb12u1_amd64.deb ...
 |Unpacking postfix (3.7.10-0+deb12u1) over (3.7.6-0+deb12u2) ...
 -Preparing to unpack .../6-libgnutls30_3.7.9-2+deb12u2_amd64.deb ...
Unpacking libgnutls30:amd64 (3.7.9-2+deb12u2) over (3.7.9-2) ...
 \Setting up libgnutls30:amd64 (3.7.9-2+deb12u2) ...
(Reading database ... 19141 files and directories currently installed.)
Preparing to unpack .../udev_252.22-1~deb12u1_amd64.deb ...
Unpacking udev (252.22-1~deb12u1) over (252.17-1~deb12u1) ...
 |Preparing to unpack .../libudev1_252.22-1~deb12u1_amd64.deb ...
Unpacking libudev1:amd64 (252.22-1~deb12u1) over (252.17-1~deb12u1) ...
 /Setting up libudev1:amd64 (252.22-1~deb12u1) ...
(Reading database ... 19141 files and directories currently installed.)
Preparing to unpack .../usrmerge_37~deb12u1_all.deb ...
Unpacking usrmerge (37~deb12u1) over (35) ...
Setting up perl-modules-5.36 (5.36.0-7+deb12u1) ...
Setting up libperl5.36:amd64 (5.36.0-7+deb12u1) ...
Setting up perl (5.36.0-7+deb12u1) ...
Setting up usrmerge (37~deb12u1) ...
 -removed '/lib32'
rmdir: removing directory, '/usr/lib32'
removed '/libx32'
rmdir: removing directory, '/usr/libx32'
(Reading database ... 19141 files and directories currently installed.)
Preparing to unpack .../00-tzdata_2024a-0+deb12u1_all.deb ...
 \Unpacking tzdata (2024a-0+deb12u1) over (2023c-5) ...
 \Preparing to unpack .../01-fdisk_2.38.1-5+deb12u1_amd64.deb ...
Unpacking fdisk (2.38.1-5+deb12u1) over (2.38.1-5+b1) ...
 |Preparing to unpack .../02-less_590-2.1~deb12u2_amd64.deb ...
Unpacking less (590-2.1~deb12u2) over (590-2) ...
Preparing to unpack .../03-libuv1_1.44.2-1+deb12u1_amd64.deb ...
Unpacking libuv1:amd64 (1.44.2-1+deb12u1) over (1.44.2-1) ...
Preparing to unpack .../04-libnghttp2-14_1.52.0-1+deb12u1_amd64.deb ...
Unpacking libnghttp2-14:amd64 (1.52.0-1+deb12u1) over (1.52.0-1) ...
 /Preparing to unpack .../05-bind9-host_1%3a9.18.24-1_amd64.deb ...
Unpacking bind9-host (1:9.18.24-1) over (1:9.18.19-1~deb12u1) ...
Preparing to unpack .../06-bind9-dnsutils_1%3a9.18.24-1_amd64.deb ...
Unpacking bind9-dnsutils (1:9.18.24-1) over (1:9.18.19-1~deb12u1) ...
Preparing to unpack .../07-bind9-libs_1%3a9.18.24-1_amd64.deb ...
Unpacking bind9-libs:amd64 (1:9.18.24-1) over (1:9.18.19-1~deb12u1) ...
 -Preparing to unpack .../08-libc-l10n_2.36-9+deb12u7_all.deb ...
Unpacking libc-l10n (2.36-9+deb12u7) over (2.36-9+deb12u3) ...
 \Preparing to unpack .../09-locales_2.36-9+deb12u7_all.deb ...
Unpacking locales (2.36-9+deb12u7) over (2.36-9+deb12u3) ...
 \Preparing to unpack .../10-bsdextrautils_2.38.1-5+deb12u1_amd64.deb ...
Unpacking bsdextrautils (2.38.1-5+deb12u1) over (2.38.1-5+b1) ...
Preparing to unpack .../11-distro-info-data_0.58+deb12u1_all.deb ...
Unpacking distro-info-data (0.58+deb12u1) over (0.58) ...
Preparing to unpack .../12-libcurl3-gnutls_7.88.1-10+deb12u5_amd64.deb ...
Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u5) over (7.88.1-10+deb12u3) ...
Preparing to unpack .../13-openssl_3.0.11-1~deb12u2_amd64.deb ...
Unpacking openssl (3.0.11-1~deb12u2) over (3.0.11-1~deb12u1) ...
 /Preparing to unpack .../14-ssh_1%3a9.2p1-2+deb12u2_all.deb ...
Unpacking ssh (1:9.2p1-2+deb12u2) over (1:9.2p1-2+deb12u1) ...
Setting up systemd-sysv (252.22-1~deb12u1) ...
Setting up libc-l10n (2.36-9+deb12u7) ...
Setting up bsdextrautils (2.38.1-5+deb12u1) ...
Setting up distro-info-data (0.58+deb12u1) ...
Setting up openssh-client (1:9.2p1-2+deb12u2) ...
Setting up libnghttp2-14:amd64 (1.52.0-1+deb12u1) ...
Setting up less (590-2.1~deb12u2) ...
Setting up libnss-systemd:amd64 (252.22-1~deb12u1) ...
Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u5) ...
Setting up locales (2.36-9+deb12u7) ...
 /Generating locales (this might take a while)...
 - done.UTF-8...
 \Generation complete.
Setting up tzdata (2024a-0+deb12u1) ...
 |
Current default time zone: 'Europe/Berlin'
Local time is now:      Sat Jun 29 12:14:49 CEST 2024.
Universal Time is now:  Sat Jun 29 10:14:49 UTC 2024.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

Setting up libuv1:amd64 (1.44.2-1+deb12u1) ...
Setting up systemd-timesyncd (252.22-1~deb12u1) ...
 \Setting up udev (252.22-1~deb12u1) ...
 /Setting up libfdisk1:amd64 (2.38.1-5+deb12u1) ...
Setting up postfix (3.7.10-0+deb12u1) ...
 \
Postfix (main.cf) configuration was untouched.  If you need to make changes, 
edit /etc/postfix/main.cf (and others) as needed.  To view Postfix 
configuration values, see postconf(1).

After modifying main.cf, be sure to run 'systemctl reload postfix'.

 -Setting up libpam-systemd:amd64 (252.22-1~deb12u1) ...
 \Setting up libcryptsetup12:amd64 (2:2.6.1-4~deb12u2) ...
Setting up openssl (3.0.11-1~deb12u2) ...
Setting up openssh-sftp-server (1:9.2p1-2+deb12u2) ...
Setting up openssh-server (1:9.2p1-2+deb12u2) ...
 |rescue-ssh.target is a disabled or a static unit not running, not starting it.
 |Could not execute systemctl:  at /usr/bin/deb-systemd-invoke line 145.
Setting up bind9-libs:amd64 (1:9.18.24-1) ...
Setting up fdisk (2.38.1-5+deb12u1) ...
Setting up bind9-host (1:9.18.24-1) ...
Setting up ssh (1:9.2p1-2+deb12u2) ...
Setting up bind9-dnsutils (1:9.18.24-1) ...
Processing triggers for libc-bin (2.36-9+deb12u7) ...
Processing triggers for man-db (2.11.2-2) ...
 |Processing triggers for dbus (1.14.10-1~deb12u1) ...
Processing triggers for mailcap (3.70+nmu1) ...
 ✓ Updated Container OS
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
 \The following additional packages will be installed:
  libcurl4
The following NEW packages will be installed:
  curl libcurl4
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 705 kB of archives.
After this operation, 1,363 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u5 [390 kB]
Get:2 http://deb.debian.org/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u5 [315 kB]
Fetched 705 kB in 0s (9,031 kB/s)
 \Selecting previously unselected package libcurl4:amd64.
(Reading database ... 19139 files and directories currently installed.)
Preparing to unpack .../libcurl4_7.88.1-10+deb12u5_amd64.deb ...
Unpacking libcurl4:amd64 (7.88.1-10+deb12u5) ...
 |Selecting previously unselected package curl.
Preparing to unpack .../curl_7.88.1-10+deb12u5_amd64.deb ...
Unpacking curl (7.88.1-10+deb12u5) ...
Setting up libcurl4:amd64 (7.88.1-10+deb12u5) ...
Setting up curl (7.88.1-10+deb12u5) ...
Processing triggers for man-db (2.11.2-2) ...
 -Processing triggers for libc-bin (2.36-9+deb12u7) ...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
 /The following NEW packages will be installed:
  sudo
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,889 kB of archives.
After this operation, 6,199 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 sudo amd64 1.9.13p3-1+deb12u1 [1,889 kB]
Fetched 1,889 kB in 0s (24.6 MB/s)
 /Selecting previously unselected package sudo.
(Reading database ... 19152 files and directories currently installed.)
Preparing to unpack .../sudo_1.9.13p3-1+deb12u1_amd64.deb ...
Unpacking sudo (1.9.13p3-1+deb12u1) ...
 \Setting up sudo (1.9.13p3-1+deb12u1) ...
 |Processing triggers for man-db (2.11.2-2) ...
 \Processing triggers for libc-bin (2.36-9+deb12u7) ...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libglib2.0-0 libglib2.0-data libgpm2 mc-data shared-mime-info unzip xdg-user-dirs
Suggested packages:
  low-memory-monitor gpm arj catdvi | texlive-binaries dbview djvulibre-bin epub-utils genisoimage gv imagemagick libaspell-dev links | w3m | lynx odt2txt poppler-utils python python-boto python-tz unar wimtools xpdf | pdf-viewer zip
 \The following NEW packages will be installed:
  libglib2.0-0 libglib2.0-data libgpm2 mc mc-data shared-mime-info unzip xdg-user-dirs
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 5,440 kB of archives.
After this operation, 27.7 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB]
Get:2 http://security.debian.org bookworm-security/main amd64 libglib2.0-0 amd64 2.74.6-2+deb12u2 [1,399 kB]
Get:3 http://deb.debian.org/debian bookworm/main amd64 mc-data all 3:4.8.29-2 [1,346 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 mc amd64 3:4.8.29-2 [522 kB]
Get:5 http://security.debian.org bookworm-security/main amd64 libglib2.0-data all 2.74.6-2+deb12u2 [1,209 kB]
Get:6 http://deb.debian.org/debian bookworm/main amd64 shared-mime-info amd64 2.2-1 [729 kB]
Get:7 http://deb.debian.org/debian bookworm/main amd64 unzip amd64 6.0-28 [166 kB]
Get:8 http://deb.debian.org/debian bookworm/main amd64 xdg-user-dirs amd64 0.18-1 [54.4 kB]
Fetched 5,440 kB in 0s (49.1 MB/s)       
 -Selecting previously unselected package libglib2.0-0:amd64.
(Reading database ... 19293 files and directories currently installed.)
Preparing to unpack .../0-libglib2.0-0_2.74.6-2+deb12u2_amd64.deb ...
Unpacking libglib2.0-0:amd64 (2.74.6-2+deb12u2) ...
 \Selecting previously unselected package libglib2.0-data.
Preparing to unpack .../1-libglib2.0-data_2.74.6-2+deb12u2_all.deb ...
Unpacking libglib2.0-data (2.74.6-2+deb12u2) ...
 /Selecting previously unselected package libgpm2:amd64.
Preparing to unpack .../2-libgpm2_1.20.7-10+b1_amd64.deb ...
Unpacking libgpm2:amd64 (1.20.7-10+b1) ...
Selecting previously unselected package mc-data.
Preparing to unpack .../3-mc-data_3%3a4.8.29-2_all.deb ...
Unpacking mc-data (3:4.8.29-2) ...
 -Selecting previously unselected package mc.
Preparing to unpack .../4-mc_3%3a4.8.29-2_amd64.deb ...
 \Unpacking mc (3:4.8.29-2) ...
Selecting previously unselected package shared-mime-info.
Preparing to unpack .../5-shared-mime-info_2.2-1_amd64.deb ...
Unpacking shared-mime-info (2.2-1) ...
 |Selecting previously unselected package unzip.
Preparing to unpack .../6-unzip_6.0-28_amd64.deb ...
Unpacking unzip (6.0-28) ...
Selecting previously unselected package xdg-user-dirs.
Preparing to unpack .../7-xdg-user-dirs_0.18-1_amd64.deb ...
Unpacking xdg-user-dirs (0.18-1) ...
 /Setting up libgpm2:amd64 (1.20.7-10+b1) ...
Setting up xdg-user-dirs (0.18-1) ...
Setting up libglib2.0-0:amd64 (2.74.6-2+deb12u2) ...
No schema files found: doing nothing.
Setting up unzip (6.0-28) ...
Setting up libglib2.0-data (2.74.6-2+deb12u2) ...
Setting up shared-mime-info (2.2-1) ...
 /Setting up mc-data (3:4.8.29-2) ...
Setting up mc (3:4.8.29-2) ...
update-alternatives: using /usr/bin/mcview to provide /usr/bin/view (view) in auto mode
Processing triggers for man-db (2.11.2-2) ...
 |Processing triggers for mailcap (3.70+nmu1) ...
Processing triggers for libc-bin (2.36-9+deb12u7) ...
 ✓ Installed Dependencies
Reading package lists... Donetience)   
Building dependency tree... Done
Reading state information... Done
 \The following additional packages will be installed:
  libnss-myhostname libnss-resolve
Suggested packages:
  polkitd | policykit-1
The following NEW packages will be installed:
  libnss-myhostname libnss-resolve systemd-resolved
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 486 kB of archives.
After this operation, 1,245 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 libnss-myhostname amd64 252.22-1~deb12u1 [84.0 kB]
Get:2 http://deb.debian.org/debian bookworm/main amd64 systemd-resolved amd64 252.22-1~deb12u1 [305 kB]
Get:3 http://deb.debian.org/debian bookworm/main amd64 libnss-resolve amd64 252.22-1~deb12u1 [97.2 kB]
Fetched 486 kB in 0s (7,869 kB/s)        
 \Selecting previously unselected package libnss-myhostname:amd64.
(Reading database ... 20059 files and directories currently installed.)
Preparing to unpack .../libnss-myhostname_252.22-1~deb12u1_amd64.deb ...
Unpacking libnss-myhostname:amd64 (252.22-1~deb12u1) ...
 |Selecting previously unselected package systemd-resolved.
Preparing to unpack .../systemd-resolved_252.22-1~deb12u1_amd64.deb ...
Unpacking systemd-resolved (252.22-1~deb12u1) ...
Selecting previously unselected package libnss-resolve:amd64.
Preparing to unpack .../libnss-resolve_252.22-1~deb12u1_amd64.deb ...
Unpacking libnss-resolve:amd64 (252.22-1~deb12u1) ...
Setting up libnss-myhostname:amd64 (252.22-1~deb12u1) ...
Setting up systemd-resolved (252.22-1~deb12u1) ...
Converting /etc/resolv.conf to a symlink to /run/systemd/resolve/stub-resolv.conf...
Creating group 'systemd-resolve' with GID 996.
Creating user 'systemd-resolve' (systemd Resolver) with UID 996 and GID 996.
 /Created symlink /etc/systemd/system/dbus-org.freedesktop.resolve1.service → /lib/systemd/system/systemd-resolved.service.
Created symlink /etc/systemd/system/sysinit.target.wants/systemd-resolved.service → /lib/systemd/system/systemd-resolved.service.
 |Setting up libnss-resolve:amd64 (252.22-1~deb12u1) ...
Processing triggers for man-db (2.11.2-2) ...
 \Processing triggers for dbus (1.14.10-1~deb12u1) ...
Processing triggers for libc-bin (2.36-9+deb12u7) ...
 /curl: (6) Could not resolve host: raw.githubusercontent.com
/dev/fd/63: line 1: $'\E[?25h': command not found
/dev/fd/63: line 2: $'\E[01': command not found
/dev/fd/63: line 2: $'31m[ERROR]\E[m': command not found
/dev/fd/63: line 2: $'31m31\E[m:': command not found
/dev/fd/63: line 2: $'31m0\E[m:': command not found

[ERROR] in line 31: exit code 0: while executing command $STD bash <(curl -fsSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh)

Please provide detailed steps to reproduce the issue.

Just create a new Instance

tteck commented 4 months ago

🏁 The script runs without any problems from this end.

    _   __          __  ________                ______  _ 
   / | / /__  _  __/ /_/ ____/ /___  __  ______/ / __ \(_)
  /  |/ / _ \| |/_/ __/ /   / / __ \/ / / / __  / /_/ / / 
 / /|  /  __/>  </ /_/ /___/ / /_/ / /_/ / /_/ / ____/ /  
/_/ |_/\___/_/|_|\__/\____/_/\____/\__,_/\__,_/_/   /_/   

Using Advanced Settings
Using Distribution: debian
Using debian Version: 12
Using Container Type: 1
Using Root Password: Automatic Login
Container ID: 112
Using Hostname: nextcloudpi
Using Disk Size: 8
Allocated Cores: 2
Allocated RAM: 2048
Using Bridge: vmbr0
Using IP Address: dhcp
Using Gateway IP Address: Default
Using APT-Cacher IP Address: Default
Disable IPv6: yes
Using Interface MTU Size: Default
Using DNS Search Domain: Host
Using DNS Server IP Address: Host
Using MAC Address: AE:1A:60:07:B7:59
Using Vlan: Default
Enable Root SSH Access: no
Enable Verbose Mode: no
Creating a NextCloudPi LXC using the above advanced settings
 ✓ Using local for Template Storage.
 ✓ Using thin-pool for Container Storage.
 ✓ Updated LXC Template List
 ✓ LXC Container 112 was successfully created.
 ✓ Started LXC Container
 ✓ Set up Container OS
 ✓ Network Connected: 192.168.86.250 
 ✓ IPv4 Internet Connected
 ✗ IPv6 Internet Not Connected
 ✓ DNS Resolved github.com to 140.82.113.4
 ✓ Updated Container OS
 ✓ Installed Dependencies
 ✓ Installed NextCloudPi
 ✓ Customized Container
 ✓ Cleaned
 ✓ Completed Successfully!

NextCloudPi Setup should be reachable by going to the following URL.
         https://192.168.86.250/ 
tteck commented 4 months ago

🧐 As this issue is unrelated to the script, it is considered closed.

skl283 commented 4 months ago

Thank you for your reply!

It's good to see that this works for you. In my case it doens't. You see in the Verbose log, that there isn't a problem to resolve hostnames. It after this is executed - since this point everything works... i am not sure what these packages do, but if i manually go - after the creation is aborted to the lxc - ping to internet (8.8.8.8) is possible but NO nameserver resolution. There is nothing blocked - it must have to do with these commands (i think) - @tteck do you a a hint to get this fixed?

Reading state information... Done
 \The following additional packages will be installed:
  libnss-myhostname libnss-resolve
Suggested packages:
  polkitd | policykit-1
The following NEW packages will be installed:
  libnss-myhostname libnss-resolve systemd-resolved
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 486 kB of archives.
After this operation, 1,245 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 libnss-myhostname amd64 252.22-1~deb12u1 [84.0 kB]
Get:2 http://deb.debian.org/debian bookworm/main amd64 systemd-resolved amd64 252.22-1~deb12u1 [305 kB]
Get:3 http://deb.debian.org/debian bookworm/main amd64 libnss-resolve amd64 252.22-1~deb12u1 [97.2 kB]
Fetched 486 kB in 0s (7,869 kB/s)        
 \Selecting previously unselected package libnss-myhostname:amd64.
(Reading database ... 20059 files and directories currently installed.)
Preparing to unpack .../libnss-myhostname_252.22-1~deb12u1_amd64.deb ...
Unpacking libnss-myhostname:amd64 (252.22-1~deb12u1) ...
 |Selecting previously unselected package systemd-resolved.
Preparing to unpack .../systemd-resolved_252.22-1~deb12u1_amd64.deb ...
Unpacking systemd-resolved (252.22-1~deb12u1) ...
Selecting previously unselected package libnss-resolve:amd64.
Preparing to unpack .../libnss-resolve_252.22-1~deb12u1_amd64.deb ...
Unpacking libnss-resolve:amd64 (252.22-1~deb12u1) ...
Setting up libnss-myhostname:amd64 (252.22-1~deb12u1) ...
Setting up systemd-resolved (252.22-1~deb12u1) ...
Converting /etc/resolv.conf to a symlink to /run/systemd/resolve/stub-resolv.conf...
Creating group 'systemd-resolve' with GID 996.
Creating user 'systemd-resolve' (systemd Resolver) with UID 996 and GID 996.
 /Created symlink /etc/systemd/system/dbus-org.freedesktop.resolve1.service → /lib/systemd/system/systemd-resolved.service.
Created symlink /etc/systemd/system/sysinit.target.wants/systemd-resolved.service → /lib/systemd/system/systemd-resolved.service.
 |Setting up libnss-resolve:amd64 (252.22-1~deb12u1) ...
Processing triggers for man-db (2.11.2-2) ...
 \Processing triggers for dbus (1.14.10-1~deb12u1) ...
Processing triggers for libc-bin (2.36-9+deb12u7) ...
 /curl: (6) Could not resolve host: raw.githubusercontent.com
/dev/fd/63: line 1: $'\E[?25h': command not found
/dev/fd/63: line 2: $'\E[01': command not found
/dev/fd/63: line 2: $'31m[ERROR]\E[m': command not found
/dev/fd/63: line 2: $'31m31\E[m:': command not found
/dev/fd/63: line 2: $'31m0\E[m:': command not found
tteck commented 4 months ago

That is coming from their install. Has nothing to do with the script in this repo. https://github.com/tteck/Proxmox/blob/8fd1727fa8119ee4685dbf740368df8822cdad25/install/nextcloudpi-install.sh#L31

Do not use SSH

🔁 If I cannot reproduce the problem on my side, I cannot address an issue that appears to be functioning correctly here.

tteck commented 4 months ago

What PVE version are you using?

skl283 commented 4 months ago

I'm having serveral VM/Lxc with and without your scripts. Im directly at the webshell of pve and i think it has to with these command (were dns was possible - just after that no dns is working!

I'm using latest Version, no Updates available and fresh rebooted ;-)

 \The following additional packages will be installed:
  libnss-myhostname libnss-resolve
Suggested packages:
  polkitd | policykit-1
The following NEW packages will be installed:
  libnss-myhostname libnss-resolve systemd-resolved
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 486 kB of archives.
After this operation, 1,245 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 libnss-myhostname amd64 252.22-1~deb12u1 [84.0 kB]
Get:2 http://deb.debian.org/debian bookworm/main amd64 systemd-resolved amd64 252.22-1~deb12u1 [305 kB]
Get:3 http://deb.debian.org/debian bookworm/main amd64 libnss-resolve amd64 252.22-1~deb12u1 [97.2 kB]
skl283 commented 4 months ago

with systemd-resolved in the container the container IS NOT using the defined DNS-Server from proxmox. In this case there is a Fallback file, where 8.8.8.8 and 8.8.4.4 is used. This is blocked in my network. In the Script you ask a DNS Server - but this DNS is not inserted into the fallback DNS File inside the LXC. This is a script issue... you write that file with its content here:

https://github.com/tteck/Proxmox/blob/8fd1727fa8119ee4685dbf740368df8822cdad25/install/nextcloudpi-install.sh#L25

tteck commented 4 months ago

This is necessary for their https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh script As you can see, systemd-resolved is removed after completing their install script.

https://github.com/tteck/Proxmox/blob/39ea1d4a20b83c07d084ebafdc811eec3548f289/install/nextcloudpi-install.sh#L22-L34

Your only option is to unblock 8.8.8.8 and 8.8.4.4 until the installation is complete.

skl283 commented 4 months ago

OK! perhaps you could write this for any other People like me, that this is necessary and the provided DNS (from Proxmox) is not used