tteck / Proxmox

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

OMV install fail on Debian 11 with line 43: exit code 0: while executing command omv-confdbadm populate #2440

Closed Mirabis closed 8 months ago

Mirabis commented 8 months ago

Please verify that you have read and understood the guidelines.

yes

A clear and concise description of the issue.

No matter the installation option I select (Default, Advanced, Privileged, Non-privileged, Verbose, etc.) it never installs without errors. I checked other closed issues and saw a lot were closed with just Debian 12 = Unsupported, use Debian 11. But they didn't seem to report afterwards whether 11 worked, which for me is not working.

Using Advanced Settings
Using Distribution: debian
Using debian Version: 11
Using Container Type: 0
Using Root Password: Automatic Login
Container ID: 122
Using Hostname: omv
Using Disk Size: 4
Allocated Cores: 2
Allocated RAM: 1024
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 Vlan: 20
Enable Root SSH Access: no
Enable Verbose Mode: yes
Creating a OMV LXC using the above advanced settings
 ✓ Using local for Template Storage.
 ✓ Using local-zfs for Container Storage.
 ✓ Updated LXC Template List
 ✓ LXC Container 122 was successfully created.
 ✓ Started LXC Container
net.ipv6.conf.all.disable_ipv6 = 1
 ✓ Set up Container OS
 ✓ Network Connected: 10.0.20.81 
 ✓ IPv4 Internet Connected
 ✓ DNS Resolved github.com to 140.82.121.3
Get:1 http://security.debian.org bullseye-security InRelease [48.4 kB]
Get:2 http://deb.debian.org/debian bullseye InRelease [116 kB]
Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Get:4 http://security.debian.org bullseye-security/main amd64 Packages [267 kB]
Get:5 http://security.debian.org bullseye-security/main Translation-en [172 kB]
Get:6 http://deb.debian.org/debian bullseye/main amd64 Packages [8,062 kB]
Get:7 http://deb.debian.org/debian bullseye/main Translation-en [6,236 kB]
Get:8 http://deb.debian.org/debian bullseye/contrib Translation-en [46.9 kB]
Get:9 http://deb.debian.org/debian bullseye-updates/main amd64 Packages.diff/Index [26.3 kB]
Get:10 http://deb.debian.org/debian bullseye-updates/main Translation-en [10.9 kB]
Get:11 http://deb.debian.org/debian bullseye-updates/main amd64 Packages T-2023-12-29-1403.39-F-2023-07-31-2005.11.pdiff [6,053 B]
Get:11 http://deb.debian.org/debian bullseye-updates/main amd64 Packages T-2023-12-29-1403.39-F-2023-07-31-2005.11.pdiff [6,053 B]
Get:12 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [18.8 kB]
Fetched 15.1 MB in 8s (1,832 kB/s)                                                                                                                             
Reading package lists... Done
/N: Repository 'http://security.debian.org bullseye-security InRelease' changed its 'Suite' value from 'stable-security' to 'oldstable-security'
N: Repository 'http://deb.debian.org/debian bullseye InRelease' changed its 'Version' value from '11.7' to '11.8'
N: Repository 'http://deb.debian.org/debian bullseye InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
N: Repository 'http://deb.debian.org/debian bullseye-updates InRelease' changed its 'Suite' value from 'stable-updates' to 'oldstable-updates'
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
/The following packages will be upgraded:
  adduser base-files bind9-dnsutils bind9-host bind9-libs cpio dbus distro-info-data dpkg file krb5-locales libbsd0 libc-bin libc-l10n libc6 libcurl3-gnutls
  libdbus-1-3 libgssapi-krb5-2 libjson-c5 libk5crypto3 libkrb5-3 libkrb5support0 libmagic-mgc libmagic1 libncurses6 libncursesw6 libnghttp2-14 libnss-systemd
  libpam-systemd libssl1.1 libsystemd0 libtinfo6 libudev1 locales logrotate ncurses-base ncurses-bin ncurses-term openssh-client openssh-server
  openssh-sftp-server openssl postfix ssh systemd systemd-sysv systemd-timesyncd tzdata udev
49 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 31.2 MB of archives.
After this operation, 85.0 kB of additional disk space will be used.
Get:1 http://security.debian.org bullseye-security/main amd64 libc6 amd64 2.31-13+deb11u7 [2,823 kB]
Get:2 http://deb.debian.org/debian bullseye/main amd64 base-files amd64 11.1+deb11u8 [70.2 kB]
Get:3 http://deb.debian.org/debian bullseye/main amd64 dpkg amd64 1.20.13 [2,538 kB]
Get:4 http://security.debian.org bullseye-security/main amd64 libc-bin amd64 2.31-13+deb11u7 [829 kB]
Get:5 http://security.debian.org bullseye-security/main amd64 openssh-sftp-server amd64 1:8.4p1-5+deb11u3 [52.8 kB]
Get:6 http://security.debian.org bullseye-security/main amd64 openssh-server amd64 1:8.4p1-5+deb11u3 [386 kB]
Get:7 http://security.debian.org bullseye-security/main amd64 openssh-client amd64 1:8.4p1-5+deb11u3 [932 kB]
Get:8 http://security.debian.org bullseye-security/main amd64 ssh all 1:8.4p1-5+deb11u3 [252 kB]
Get:9 http://security.debian.org bullseye-security/main amd64 libc-l10n all 2.31-13+deb11u7 [864 kB]
Get:10 http://security.debian.org bullseye-security/main amd64 locales all 2.31-13+deb11u7 [4,083 kB]
Get:11 http://deb.debian.org/debian bullseye/main amd64 ncurses-bin amd64 6.2+20201114-2+deb11u2 [429 kB]
Get:12 http://security.debian.org bullseye-security/main amd64 libnghttp2-14 amd64 1.43.0-1+deb11u1 [77.2 kB]
Get:13 http://security.debian.org bullseye-security/main amd64 libcurl3-gnutls amd64 7.74.0-1.3+deb11u11 [344 kB]
Get:14 http://deb.debian.org/debian bullseye/main amd64 ncurses-base all 6.2+20201114-2+deb11u2 [272 kB]
Get:15 http://deb.debian.org/debian bullseye/main amd64 libnss-systemd amd64 247.3-7+deb11u4 [199 kB]
Get:16 http://deb.debian.org/debian bullseye/main amd64 libsystemd0 amd64 247.3-7+deb11u4 [376 kB]
Get:17 http://deb.debian.org/debian bullseye/main amd64 systemd-timesyncd amd64 247.3-7+deb11u4 [131 kB]
Get:18 http://deb.debian.org/debian bullseye/main amd64 libpam-systemd amd64 247.3-7+deb11u4 [283 kB]
Get:19 http://deb.debian.org/debian bullseye/main amd64 systemd amd64 247.3-7+deb11u4 [4,502 kB]
Get:20 http://deb.debian.org/debian bullseye/main amd64 udev amd64 247.3-7+deb11u4 [1,464 kB]
Get:21 http://deb.debian.org/debian bullseye/main amd64 libudev1 amd64 247.3-7+deb11u4 [168 kB]
Get:22 http://deb.debian.org/debian bullseye/main amd64 adduser all 3.118+deb11u1 [241 kB]
Get:23 http://deb.debian.org/debian bullseye/main amd64 systemd-sysv amd64 247.3-7+deb11u4 [114 kB]
Get:24 http://deb.debian.org/debian bullseye/main amd64 dbus amd64 1.12.28-0+deb11u1 [244 kB]
Get:25 http://deb.debian.org/debian bullseye/main amd64 libdbus-1-3 amd64 1.12.28-0+deb11u1 [223 kB]
Get:26 http://deb.debian.org/debian bullseye/main amd64 libssl1.1 amd64 1.1.1w-0+deb11u1 [1,566 kB]
Get:27 http://deb.debian.org/debian bullseye/main amd64 libk5crypto3 amd64 1.18.3-6+deb11u4 [114 kB]
Get:28 http://deb.debian.org/debian bullseye/main amd64 libkrb5support0 amd64 1.18.3-6+deb11u4 [65.6 kB]
Get:29 http://deb.debian.org/debian bullseye/main amd64 libkrb5-3 amd64 1.18.3-6+deb11u4 [363 kB]
Get:30 http://deb.debian.org/debian bullseye/main amd64 libgssapi-krb5-2 amd64 1.18.3-6+deb11u4 [165 kB]
Get:31 http://deb.debian.org/debian bullseye/main amd64 libncurses6 amd64 6.2+20201114-2+deb11u2 [102 kB]
Get:32 http://deb.debian.org/debian bullseye/main amd64 libncursesw6 amd64 6.2+20201114-2+deb11u2 [132 kB]
Get:33 http://deb.debian.org/debian bullseye/main amd64 libtinfo6 amd64 6.2+20201114-2+deb11u2 [342 kB]
Get:34 http://deb.debian.org/debian bullseye-updates/main amd64 tzdata all 2021a-1+deb11u11 [287 kB]
Get:35 http://deb.debian.org/debian bullseye/main amd64 cpio amd64 2.13+dfsg-7.1~deb11u1 [245 kB]
Get:36 http://deb.debian.org/debian bullseye/main amd64 logrotate amd64 3.18.0-2+deb11u2 [72.6 kB]
Get:37 http://deb.debian.org/debian bullseye/main amd64 libjson-c5 amd64 0.15-2+deb11u1 [42.9 kB]
Get:38 http://deb.debian.org/debian bullseye/main amd64 bind9-dnsutils amd64 1:9.16.44-1~deb11u1 [407 kB]
Get:39 http://deb.debian.org/debian bullseye/main amd64 bind9-libs amd64 1:9.16.44-1~deb11u1 [1,429 kB]
Get:40 http://deb.debian.org/debian bullseye/main amd64 bind9-host amd64 1:9.16.44-1~deb11u1 [310 kB]
Get:41 http://deb.debian.org/debian bullseye/main amd64 file amd64 1:5.39-3+deb11u1 [69.2 kB]
Get:42 http://deb.debian.org/debian bullseye/main amd64 libmagic1 amd64 1:5.39-3+deb11u1 [128 kB]
Get:43 http://deb.debian.org/debian bullseye/main amd64 libmagic-mgc amd64 1:5.39-3+deb11u1 [273 kB]
Get:44 http://deb.debian.org/debian bullseye/main amd64 krb5-locales all 1.18.3-6+deb11u4 [95.7 kB]
Get:45 http://deb.debian.org/debian bullseye/main amd64 ncurses-term all 6.2+20201114-2+deb11u2 [505 kB]
Get:46 http://deb.debian.org/debian bullseye/main amd64 distro-info-data all 0.51+deb11u4 [8,048 B]
Get:47 http://deb.debian.org/debian bullseye/main amd64 libbsd0 amd64 0.11.3-1+deb11u1 [108 kB]
Get:48 http://deb.debian.org/debian bullseye/main amd64 openssl amd64 1.1.1w-0+deb11u1 [859 kB]
Get:49 http://deb.debian.org/debian bullseye-updates/main amd64 postfix amd64 3.5.23-0+deb11u1 [1,564 kB]
Fetched 31.2 MB in 1s (38.7 MB/s)   
|apt-listchanges: Reading changelogs...
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 19032 files and directories currently installed.)
Preparing to unpack .../base-files_11.1+deb11u8_amd64.deb ...
Unpacking base-files (11.1+deb11u8) over (11.1+deb11u7) ...
\Setting up base-files (11.1+deb11u8) ...
Installing new version of config file /etc/debian_version ...
(Reading database ... 19032 files and directories currently installed.)
Preparing to unpack .../dpkg_1.20.13_amd64.deb ...
Unpacking dpkg (1.20.13) over (1.20.12) ...
|Setting up dpkg (1.20.13) ...
(Reading database ... 19032 files and directories currently installed.)
Preparing to unpack .../ncurses-bin_6.2+20201114-2+deb11u2_amd64.deb ...
Unpacking ncurses-bin (6.2+20201114-2+deb11u2) over (6.2+20201114-2+deb11u1) ...
\Setting up ncurses-bin (6.2+20201114-2+deb11u2) ...
(Reading database ... 19032 files and directories currently installed.)
Preparing to unpack .../libc6_2.31-13+deb11u7_amd64.deb ...
/Unpacking libc6:amd64 (2.31-13+deb11u7) over (2.31-13+deb11u6) ...
|Setting up libc6:amd64 (2.31-13+deb11u7) ...
(Reading database ... 19032 files and directories currently installed.)
Preparing to unpack .../libc-bin_2.31-13+deb11u7_amd64.deb ...
/Unpacking libc-bin (2.31-13+deb11u7) over (2.31-13+deb11u6) ...
|Setting up libc-bin (2.31-13+deb11u7) ...
(Reading database ... 19032 files and directories currently installed.)
Preparing to unpack .../ncurses-base_6.2+20201114-2+deb11u2_all.deb ...
Unpacking ncurses-base (6.2+20201114-2+deb11u2) over (6.2+20201114-2+deb11u1) ...
/Setting up ncurses-base (6.2+20201114-2+deb11u2) ...
(Reading database ... 19032 files and directories currently installed.)
Preparing to unpack .../libnss-systemd_247.3-7+deb11u4_amd64.deb ...
Unpacking libnss-systemd:amd64 (247.3-7+deb11u4) over (247.3-7+deb11u2) ...
\Preparing to unpack .../libsystemd0_247.3-7+deb11u4_amd64.deb ...
Unpacking libsystemd0:amd64 (247.3-7+deb11u4) over (247.3-7+deb11u2) ...
|Setting up libsystemd0:amd64 (247.3-7+deb11u4) ...
(Reading database ... 19032 files and directories currently installed.)
Preparing to unpack .../systemd-timesyncd_247.3-7+deb11u4_amd64.deb ...
Unpacking systemd-timesyncd (247.3-7+deb11u4) over (247.3-7+deb11u2) ...
-Preparing to unpack .../libpam-systemd_247.3-7+deb11u4_amd64.deb ...
\Unpacking libpam-systemd:amd64 (247.3-7+deb11u4) over (247.3-7+deb11u2) ...
|Preparing to unpack .../systemd_247.3-7+deb11u4_amd64.deb ...
-Unpacking systemd (247.3-7+deb11u4) over (247.3-7+deb11u2) ...
/Preparing to unpack .../udev_247.3-7+deb11u4_amd64.deb ...
-Unpacking udev (247.3-7+deb11u4) over (247.3-7+deb11u2) ...
|Preparing to unpack .../libudev1_247.3-7+deb11u4_amd64.deb ...
Unpacking libudev1:amd64 (247.3-7+deb11u4) over (247.3-7+deb11u2) ...
/Setting up libudev1:amd64 (247.3-7+deb11u4) ...
(Reading database ... 19032 files and directories currently installed.)
Preparing to unpack .../adduser_3.118+deb11u1_all.deb ...
Unpacking adduser (3.118+deb11u1) over (3.118) ...
/Setting up adduser (3.118+deb11u1) ...
|Setting up systemd (247.3-7+deb11u4) ...
(Reading database ... 19032 files and directories currently installed.)
Preparing to unpack .../systemd-sysv_247.3-7+deb11u4_amd64.deb ...
\Unpacking systemd-sysv (247.3-7+deb11u4) over (247.3-7+deb11u2) ...
|Preparing to unpack .../dbus_1.12.28-0+deb11u1_amd64.deb ...
Unpacking dbus (1.12.28-0+deb11u1) over (1.12.24-0+deb11u1) ...
-Preparing to unpack .../libdbus-1-3_1.12.28-0+deb11u1_amd64.deb ...
Unpacking libdbus-1-3:amd64 (1.12.28-0+deb11u1) over (1.12.24-0+deb11u1) ...
\Preparing to unpack .../libssl1.1_1.1.1w-0+deb11u1_amd64.deb ...
|Unpacking libssl1.1:amd64 (1.1.1w-0+deb11u1) over (1.1.1n-0+deb11u5) ...
\Setting up libssl1.1:amd64 (1.1.1w-0+deb11u1) ...
(Reading database ... 19032 files and directories currently installed.)
Preparing to unpack .../openssh-sftp-server_1%3a8.4p1-5+deb11u3_amd64.deb ...
Unpacking openssh-sftp-server (1:8.4p1-5+deb11u3) over (1:8.4p1-5+deb11u1) ...
|Preparing to unpack .../libk5crypto3_1.18.3-6+deb11u4_amd64.deb ...
Unpacking libk5crypto3:amd64 (1.18.3-6+deb11u4) over (1.18.3-6+deb11u3) ...
/Setting up libk5crypto3:amd64 (1.18.3-6+deb11u4) ...
(Reading database ... 19032 files and directories currently installed.)
Preparing to unpack .../libkrb5support0_1.18.3-6+deb11u4_amd64.deb ...
-Unpacking libkrb5support0:amd64 (1.18.3-6+deb11u4) over (1.18.3-6+deb11u3) ...
Setting up libkrb5support0:amd64 (1.18.3-6+deb11u4) ...
(Reading database ... 19032 files and directories currently installed.)
Preparing to unpack .../libkrb5-3_1.18.3-6+deb11u4_amd64.deb ...
|Unpacking libkrb5-3:amd64 (1.18.3-6+deb11u4) over (1.18.3-6+deb11u3) ...
/Setting up libkrb5-3:amd64 (1.18.3-6+deb11u4) ...
(Reading database ... 19032 files and directories currently installed.)
Preparing to unpack .../libgssapi-krb5-2_1.18.3-6+deb11u4_amd64.deb ...
Unpacking libgssapi-krb5-2:amd64 (1.18.3-6+deb11u4) over (1.18.3-6+deb11u3) ...
|Setting up libgssapi-krb5-2:amd64 (1.18.3-6+deb11u4) ...
(Reading database ... 19032 files and directories currently installed.)
Preparing to unpack .../0-openssh-server_1%3a8.4p1-5+deb11u3_amd64.deb ...
-Unpacking openssh-server (1:8.4p1-5+deb11u3) over (1:8.4p1-5+deb11u1) ...
|Preparing to unpack .../1-openssh-client_1%3a8.4p1-5+deb11u3_amd64.deb ...
/Unpacking openssh-client (1:8.4p1-5+deb11u3) over (1:8.4p1-5+deb11u1) ...
/Preparing to unpack .../2-ssh_1%3a8.4p1-5+deb11u3_all.deb ...
Unpacking ssh (1:8.4p1-5+deb11u3) over (1:8.4p1-5+deb11u1) ...
-Preparing to unpack .../3-libncurses6_6.2+20201114-2+deb11u2_amd64.deb ...
Unpacking libncurses6:amd64 (6.2+20201114-2+deb11u2) over (6.2+20201114-2+deb11u1) ...
\Preparing to unpack .../4-libncursesw6_6.2+20201114-2+deb11u2_amd64.deb ...
Unpacking libncursesw6:amd64 (6.2+20201114-2+deb11u2) over (6.2+20201114-2+deb11u1) ...
/Preparing to unpack .../5-libtinfo6_6.2+20201114-2+deb11u2_amd64.deb ...
Unpacking libtinfo6:amd64 (6.2+20201114-2+deb11u2) over (6.2+20201114-2+deb11u1) ...
-Setting up libtinfo6:amd64 (6.2+20201114-2+deb11u2) ...
(Reading database ... 19032 files and directories currently installed.)
Preparing to unpack .../00-tzdata_2021a-1+deb11u11_all.deb ...
Unpacking tzdata (2021a-1+deb11u11) over (2021a-1+deb11u10) ...
/Preparing to unpack .../01-cpio_2.13+dfsg-7.1~deb11u1_amd64.deb ...
-Unpacking cpio (2.13+dfsg-7.1~deb11u1) over (2.13+dfsg-4) ...
|Preparing to unpack .../02-logrotate_3.18.0-2+deb11u2_amd64.deb ...
Unpacking logrotate (3.18.0-2+deb11u2) over (3.18.0-2+deb11u1) ...
/Preparing to unpack .../03-libjson-c5_0.15-2+deb11u1_amd64.deb ...
Unpacking libjson-c5:amd64 (0.15-2+deb11u1) over (0.15-2) ...
-Preparing to unpack .../04-bind9-dnsutils_1%3a9.16.44-1~deb11u1_amd64.deb ...
Unpacking bind9-dnsutils (1:9.16.44-1~deb11u1) over (1:9.16.37-1~deb11u1) ...
\Preparing to unpack .../05-bind9-libs_1%3a9.16.44-1~deb11u1_amd64.deb ...
Unpacking bind9-libs:amd64 (1:9.16.44-1~deb11u1) over (1:9.16.37-1~deb11u1) ...
\Preparing to unpack .../06-bind9-host_1%3a9.16.44-1~deb11u1_amd64.deb ...
Unpacking bind9-host (1:9.16.44-1~deb11u1) over (1:9.16.37-1~deb11u1) ...
|Preparing to unpack .../07-file_1%3a5.39-3+deb11u1_amd64.deb ...
Unpacking file (1:5.39-3+deb11u1) over (1:5.39-3) ...
/Preparing to unpack .../08-libmagic1_1%3a5.39-3+deb11u1_amd64.deb ...
Unpacking libmagic1:amd64 (1:5.39-3+deb11u1) over (1:5.39-3) ...
-Preparing to unpack .../09-libmagic-mgc_1%3a5.39-3+deb11u1_amd64.deb ...
Unpacking libmagic-mgc (1:5.39-3+deb11u1) over (1:5.39-3) ...
|Preparing to unpack .../10-krb5-locales_1.18.3-6+deb11u4_all.deb ...
Unpacking krb5-locales (1.18.3-6+deb11u4) over (1.18.3-6+deb11u3) ...
Preparing to unpack .../11-libc-l10n_2.31-13+deb11u7_all.deb ...
/Unpacking libc-l10n (2.31-13+deb11u7) over (2.31-13+deb11u6) ...
|Preparing to unpack .../12-locales_2.31-13+deb11u7_all.deb ...
Unpacking locales (2.31-13+deb11u7) over (2.31-13+deb11u6) ...
|Preparing to unpack .../13-ncurses-term_6.2+20201114-2+deb11u2_all.deb ...
Unpacking ncurses-term (6.2+20201114-2+deb11u2) over (6.2+20201114-2+deb11u1) ...
\Preparing to unpack .../14-distro-info-data_0.51+deb11u4_all.deb ...
Unpacking distro-info-data (0.51+deb11u4) over (0.51+deb11u3) ...
|Preparing to unpack .../15-libbsd0_0.11.3-1+deb11u1_amd64.deb ...
Unpacking libbsd0:amd64 (0.11.3-1+deb11u1) over (0.11.3-1) ...
/Preparing to unpack .../16-libnghttp2-14_1.43.0-1+deb11u1_amd64.deb ...
Unpacking libnghttp2-14:amd64 (1.43.0-1+deb11u1) over (1.43.0-1) ...
-Preparing to unpack .../17-libcurl3-gnutls_7.74.0-1.3+deb11u11_amd64.deb ...
Unpacking libcurl3-gnutls:amd64 (7.74.0-1.3+deb11u11) over (7.74.0-1.3+deb11u7) ...
\Preparing to unpack .../18-openssl_1.1.1w-0+deb11u1_amd64.deb ...
|Unpacking openssl (1.1.1w-0+deb11u1) over (1.1.1n-0+deb11u5) ...
|Preparing to unpack .../19-postfix_3.5.23-0+deb11u1_amd64.deb ...
/Unpacking postfix (3.5.23-0+deb11u1) over (3.5.18-0+deb11u1) ...
|Setting up logrotate (3.18.0-2+deb11u2) ...
-logrotate.service is a disabled or a static unit not running, not starting it.
Setting up cpio (2.13+dfsg-7.1~deb11u1) ...
Setting up systemd-sysv (247.3-7+deb11u4) ...
Setting up libc-l10n (2.31-13+deb11u7) ...
Setting up libmagic-mgc (1:5.39-3+deb11u1) ...
\Setting up distro-info-data (0.51+deb11u4) ...
Setting up openssh-client (1:8.4p1-5+deb11u3) ...
Setting up libnghttp2-14:amd64 (1.43.0-1+deb11u1) ...
Setting up libmagic1:amd64 (1:5.39-3+deb11u1) ...
|Setting up libnss-systemd:amd64 (247.3-7+deb11u4) ...
Setting up libcurl3-gnutls:amd64 (7.74.0-1.3+deb11u11) ...
Setting up krb5-locales (1.18.3-6+deb11u4) ...
Setting up file (1:5.39-3+deb11u1) ...
Setting up locales (2.31-13+deb11u7) ...
|Generating locales (this might take a while)...
  en_US.UTF-8..| done
Generation complete.
/Setting up tzdata (2021a-1+deb11u11) ...
\
Current default time zone: 'Europe/Amsterdam'
Local time is now:      Tue Feb  6 12:34:36 CET 2024.
Universal Time is now:  Tue Feb  6 11:34:36 UTC 2024.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

|Setting up libncurses6:amd64 (6.2+20201114-2+deb11u2) ...
Setting up libdbus-1-3:amd64 (1.12.28-0+deb11u1) ...
Setting up dbus (1.12.28-0+deb11u1) ...
/A reboot is required to replace the running dbus-daemon.
Please reboot the system when convenient.
-dbus.service is a disabled or a static unit, not starting it.
dbus.socket is a disabled or a static unit, not starting it.
\Setting up systemd-timesyncd (247.3-7+deb11u4) ...
/Setting up udev (247.3-7+deb11u4) ...
\Setting up libncursesw6:amd64 (6.2+20201114-2+deb11u2) ...
Setting up postfix (3.5.23-0+deb11u1) ...
/
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 (247.3-7+deb11u4) ...
|Setting up openssl (1.1.1w-0+deb11u1) ...
Setting up libbsd0:amd64 (0.11.3-1+deb11u1) ...
/Setting up libjson-c5:amd64 (0.15-2+deb11u1) ...
Setting up ncurses-term (6.2+20201114-2+deb11u2) ...
Setting up openssh-sftp-server (1:8.4p1-5+deb11u3) ...
Setting up openssh-server (1:8.4p1-5+deb11u3) ...
\rescue-ssh.target is a disabled or a static unit, not starting it.
\Setting up bind9-libs:amd64 (1:9.16.44-1~deb11u1) ...
|Setting up bind9-host (1:9.16.44-1~deb11u1) ...
Setting up ssh (1:8.4p1-5+deb11u3) ...
Setting up bind9-dnsutils (1:9.16.44-1~deb11u1) ...
Processing triggers for rsyslog (8.2102.0-2+deb11u1) ...
/Processing triggers for man-db (2.9.4-2) ...
/Processing triggers for libc-bin (2.31-13+deb11u7) ...
 ✓ 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 618 kB of archives.
After this operation, 1,198 kB of additional disk space will be used.
Get:1 http://security.debian.org bullseye-security/main amd64 libcurl4 amd64 7.74.0-1.3+deb11u11 [347 kB]
Get:2 http://security.debian.org bullseye-security/main amd64 curl amd64 7.74.0-1.3+deb11u11 [271 kB]
Fetched 618 kB in 0s (9,623 kB/s)
\Selecting previously unselected package libcurl4:amd64.
(Reading database ... 19032 files and directories currently installed.)
Preparing to unpack .../libcurl4_7.74.0-1.3+deb11u11_amd64.deb ...
Unpacking libcurl4:amd64 (7.74.0-1.3+deb11u11) ...
/Selecting previously unselected package curl.
Preparing to unpack .../curl_7.74.0-1.3+deb11u11_amd64.deb ...
Unpacking curl (7.74.0-1.3+deb11u11) ...
-Setting up libcurl4:amd64 (7.74.0-1.3+deb11u11) ...
Setting up curl (7.74.0-1.3+deb11u11) ...
Processing triggers for man-db (2.9.4-2) ...
|Processing triggers for libc-bin (2.31-13+deb11u7) ...
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,061 kB of archives.
After this operation, 4,699 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye/main amd64 sudo amd64 1.9.5p2-3+deb11u1 [1,061 kB]
Fetched 1,061 kB in 0s (16.0 MB/s)
/Selecting previously unselected package sudo.
(Reading database ... 19047 files and directories currently installed.)
Preparing to unpack .../sudo_1.9.5p2-3+deb11u1_amd64.deb ...
Unpacking sudo (1.9.5p2-3+deb11u1) ...
\Setting up sudo (1.9.5p2-3+deb11u1) ...
-Processing triggers for man-db (2.9.4-2) ...
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:
  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,376 kB of archives.
After this operation, 26.9 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye/main amd64 libglib2.0-0 amd64 2.66.8-1 [1,370 kB]
Get:2 http://deb.debian.org/debian bullseye/main amd64 libglib2.0-data all 2.66.8-1 [1,164 kB]
Get:3 http://deb.debian.org/debian bullseye/main amd64 libgpm2 amd64 1.20.7-8 [35.6 kB]
Get:4 http://deb.debian.org/debian bullseye/main amd64 mc-data all 3:4.8.26-1.1 [1,346 kB]
Get:5 http://deb.debian.org/debian bullseye/main amd64 mc amd64 3:4.8.26-1.1 [534 kB]
Get:6 http://deb.debian.org/debian bullseye/main amd64 shared-mime-info amd64 2.0-1 [701 kB]
Get:7 http://deb.debian.org/debian bullseye/main amd64 unzip amd64 6.0-26+deb11u1 [172 kB]
Get:8 http://deb.debian.org/debian bullseye/main amd64 xdg-user-dirs amd64 0.17-2 [53.8 kB]
Fetched 5,376 kB in 0s (38.0 MB/s)       
-Selecting previously unselected package libglib2.0-0:amd64.
(Reading database ... 19186 files and directories currently installed.)
Preparing to unpack .../0-libglib2.0-0_2.66.8-1_amd64.deb ...
Unpacking libglib2.0-0:amd64 (2.66.8-1) ...
-Selecting previously unselected package libglib2.0-data.
\Preparing to unpack .../1-libglib2.0-data_2.66.8-1_all.deb ...
Unpacking libglib2.0-data (2.66.8-1) ...
/Selecting previously unselected package libgpm2:amd64.
Preparing to unpack .../2-libgpm2_1.20.7-8_amd64.deb ...
Unpacking libgpm2:amd64 (1.20.7-8) ...
Selecting previously unselected package mc-data.
Preparing to unpack .../3-mc-data_3%3a4.8.26-1.1_all.deb ...
Unpacking mc-data (3:4.8.26-1.1) ...
\Selecting previously unselected package mc.
Preparing to unpack .../4-mc_3%3a4.8.26-1.1_amd64.deb ...
|Unpacking mc (3:4.8.26-1.1) ...
\Selecting previously unselected package shared-mime-info.
Preparing to unpack .../5-shared-mime-info_2.0-1_amd64.deb ...
|Unpacking shared-mime-info (2.0-1) ...
|Selecting previously unselected package unzip.
Preparing to unpack .../6-unzip_6.0-26+deb11u1_amd64.deb ...
Unpacking unzip (6.0-26+deb11u1) ...
/Selecting previously unselected package xdg-user-dirs.
Preparing to unpack .../7-xdg-user-dirs_0.17-2_amd64.deb ...
Unpacking xdg-user-dirs (0.17-2) ...
|Setting up libgpm2:amd64 (1.20.7-8) ...
Setting up xdg-user-dirs (0.17-2) ...
Setting up libglib2.0-0:amd64 (2.66.8-1) ...
No schema files found: doing nothing.
Setting up unzip (6.0-26+deb11u1) ...
/Setting up libglib2.0-data (2.66.8-1) ...
Setting up shared-mime-info (2.0-1) ...
-Setting up mc-data (3:4.8.26-1.1) ...
Setting up mc (3:4.8.26-1.1) ...
\update-alternatives: using /usr/bin/mcview to provide /usr/bin/view (view) in auto mode
|Processing triggers for man-db (2.9.4-2) ...
/Processing triggers for mailcap (3.69) ...
Processing triggers for libc-bin (2.31-13+deb11u7) ...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
-The following additional packages will be installed:
  dirmngr gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm libassuan0 libksba8 libnpth0 pinentry-curses
Suggested packages:
  dbus-user-session pinentry-gnome3 tor parcimonie xloadimage scdaemon pinentry-doc
The following NEW packages will be installed:
  dirmngr gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm libassuan0 libksba8 libnpth0 pinentry-curses
0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded.
Need to get 7,665 kB of archives.
After this operation, 15.7 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye/main amd64 libassuan0 amd64 2.5.3-7.1 [50.5 kB]
Get:2 http://deb.debian.org/debian bullseye/main amd64 gpgconf amd64 2.2.27-2+deb11u2 [548 kB]
Get:3 http://deb.debian.org/debian bullseye/main amd64 libksba8 amd64 1.5.0-3+deb11u2 [123 kB]
Get:4 http://deb.debian.org/debian bullseye/main amd64 libnpth0 amd64 1.6-3 [19.0 kB]
Get:5 http://deb.debian.org/debian bullseye/main amd64 dirmngr amd64 2.2.27-2+deb11u2 [763 kB]
Get:6 http://deb.debian.org/debian bullseye/main amd64 gnupg-l10n all 2.2.27-2+deb11u2 [1,086 kB]
Get:7 http://deb.debian.org/debian bullseye/main amd64 gnupg-utils amd64 2.2.27-2+deb11u2 [905 kB]
Get:8 http://deb.debian.org/debian bullseye/main amd64 gpg amd64 2.2.27-2+deb11u2 [928 kB]
Get:9 http://deb.debian.org/debian bullseye/main amd64 pinentry-curses amd64 1.1.0-4 [64.9 kB]
Get:10 http://deb.debian.org/debian bullseye/main amd64 gpg-agent amd64 2.2.27-2+deb11u2 [669 kB]
Get:11 http://deb.debian.org/debian bullseye/main amd64 gpg-wks-client amd64 2.2.27-2+deb11u2 [524 kB]
Get:12 http://deb.debian.org/debian bullseye/main amd64 gpg-wks-server amd64 2.2.27-2+deb11u2 [516 kB]
Get:13 http://deb.debian.org/debian bullseye/main amd64 gpgsm amd64 2.2.27-2+deb11u2 [645 kB]
Get:14 http://deb.debian.org/debian bullseye/main amd64 gnupg all 2.2.27-2+deb11u2 [825 kB]
Fetched 7,665 kB in 0s (44.5 MB/s)
\Selecting previously unselected package libassuan0:amd64.
(Reading database ... 19932 files and directories currently installed.)
Preparing to unpack .../00-libassuan0_2.5.3-7.1_amd64.deb ...
|Unpacking libassuan0:amd64 (2.5.3-7.1) ...
Selecting previously unselected package gpgconf.
Preparing to unpack .../01-gpgconf_2.2.27-2+deb11u2_amd64.deb ...
Unpacking gpgconf (2.2.27-2+deb11u2) ...
-Selecting previously unselected package libksba8:amd64.
Preparing to unpack .../02-libksba8_1.5.0-3+deb11u2_amd64.deb ...
Unpacking libksba8:amd64 (1.5.0-3+deb11u2) ...
Selecting previously unselected package libnpth0:amd64.
\Preparing to unpack .../03-libnpth0_1.6-3_amd64.deb ...
Unpacking libnpth0:amd64 (1.6-3) ...
Selecting previously unselected package dirmngr.
Preparing to unpack .../04-dirmngr_2.2.27-2+deb11u2_amd64.deb ...
Unpacking dirmngr (2.2.27-2+deb11u2) ...
/Selecting previously unselected package gnupg-l10n.
Preparing to unpack .../05-gnupg-l10n_2.2.27-2+deb11u2_all.deb ...
Unpacking gnupg-l10n (2.2.27-2+deb11u2) ...
-Selecting previously unselected package gnupg-utils.
Preparing to unpack .../06-gnupg-utils_2.2.27-2+deb11u2_amd64.deb ...
Unpacking gnupg-utils (2.2.27-2+deb11u2) ...
|Selecting previously unselected package gpg.
Preparing to unpack .../07-gpg_2.2.27-2+deb11u2_amd64.deb ...
Unpacking gpg (2.2.27-2+deb11u2) ...
-Selecting previously unselected package pinentry-curses.
Preparing to unpack .../08-pinentry-curses_1.1.0-4_amd64.deb ...
Unpacking pinentry-curses (1.1.0-4) ...
\Selecting previously unselected package gpg-agent.
Preparing to unpack .../09-gpg-agent_2.2.27-2+deb11u2_amd64.deb ...
Unpacking gpg-agent (2.2.27-2+deb11u2) ...
/Selecting previously unselected package gpg-wks-client.
Preparing to unpack .../10-gpg-wks-client_2.2.27-2+deb11u2_amd64.deb ...
Unpacking gpg-wks-client (2.2.27-2+deb11u2) ...
-Selecting previously unselected package gpg-wks-server.
Preparing to unpack .../11-gpg-wks-server_2.2.27-2+deb11u2_amd64.deb ...
Unpacking gpg-wks-server (2.2.27-2+deb11u2) ...
\Selecting previously unselected package gpgsm.
Preparing to unpack .../12-gpgsm_2.2.27-2+deb11u2_amd64.deb ...
Unpacking gpgsm (2.2.27-2+deb11u2) ...
|Selecting previously unselected package gnupg.
Preparing to unpack .../13-gnupg_2.2.27-2+deb11u2_all.deb ...
Unpacking gnupg (2.2.27-2+deb11u2) ...
-Setting up libksba8:amd64 (1.5.0-3+deb11u2) ...
\Setting up libnpth0:amd64 (1.6-3) ...
Setting up libassuan0:amd64 (2.5.3-7.1) ...
Setting up gnupg-l10n (2.2.27-2+deb11u2) ...
Setting up gpgconf (2.2.27-2+deb11u2) ...
Setting up gpg (2.2.27-2+deb11u2) ...
Setting up gnupg-utils (2.2.27-2+deb11u2) ...
Setting up pinentry-curses (1.1.0-4) ...
Setting up gpg-agent (2.2.27-2+deb11u2) ...
-Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent-browser.socket → /usr/lib/systemd/user/gpg-agent-browser.socket.
/Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent-extra.socket → /usr/lib/systemd/user/gpg-agent-extra.socket.
|Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent-ssh.socket → /usr/lib/systemd/user/gpg-agent-ssh.socket.
\Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent.socket → /usr/lib/systemd/user/gpg-agent.socket.
Setting up gpgsm (2.2.27-2+deb11u2) ...
Setting up dirmngr (2.2.27-2+deb11u2) ...
-Created symlink /etc/systemd/user/sockets.target.wants/dirmngr.socket → /usr/lib/systemd/user/dirmngr.socket.
Setting up gpg-wks-server (2.2.27-2+deb11u2) ...
Setting up gpg-wks-client (2.2.27-2+deb11u2) ...
\Setting up gnupg (2.2.27-2+deb11u2) ...
Processing triggers for man-db (2.9.4-2) ...
\Processing triggers for libc-bin (2.31-13+deb11u7) ...
 ✓ Installed Dependencies
Hit:1 http://security.debian.org bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease                               
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease                       
Get:4 https://packages.openmediavault.org/public shaitan InRelease [12.8 kB]        
Get:5 https://packages.openmediavault.org/public shaitan/main amd64 Packages [13.6 kB]
Fetched 26.4 kB in 1s (26.8 kB/s)    
Reading package lists... Done
\Traceback (most recent call last):
  File "/usr/sbin/omv-confdbadm", line 76, in <module>
    sys.exit(main())
  File "/usr/sbin/omv-confdbadm", line 72, in main
    return cmd_inst.execute(*sys.argv)
  File "/usr/share/openmediavault/confdbadm/commands.d/update.py", line 57, in execute
    obj.set_dict(cmd_args.data)
  File "/usr/lib/python3/dist-packages/openmediavault/config/object.py", line 208, in set_dict
    self.set(key, value, validate)
  File "/usr/lib/python3/dist-packages/openmediavault/config/object.py", line 184, in set
    self.model.property_validate(name, value)
  File "/usr/lib/python3/dist-packages/openmediavault/config/datamodel.py", line 272, in property_validate
    self.schema.validate(value, name)
  File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 175, in validate
    self._validate_type(value, schema, name)
  File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 230, in _validate_type
    raise last_exception
  File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 210, in _validate_type
    self._validate_string(value, schema, name)
  File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 286, in _validate_string
    self._check_one_of(value, schema, name)
  File "/usr/lib/python3/dist-packages/openmediavault/json/schema.py", line 570, in _check_one_of
    raise SchemaValidationException(
openmediavault.json.schema.SchemaValidationException: domainname: Failed to match exactly one schema.
Traceback (most recent call last):
  File "/usr/sbin/omv-confdbadm", line 76, in <module>
    sys.exit(main())
  File "/usr/sbin/omv-confdbadm", line 72, in main
    return cmd_inst.execute(*sys.argv)
  File "/usr/share/openmediavault/confdbadm/commands.d/populate.py", line 50, in execute
    openmediavault.procutils.check_call([script_path])
  File "/usr/lib/python3/dist-packages/openmediavault/procutils.py", line 58, in check_call
    return subprocess.check_call(*popenargs, **kwargs)
  File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/share/openmediavault/confdb/populate.d/20hostname.sh']' returned non-zero exit status 1.

[ERROR] in line 43: exit code 0: while executing command omv-confdbadm populate

Which Linux distribution are you employing?

Debian 11

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

The question "Which Linux distribution are you employing" is not precise enough for me to determine whether you meant:

  1. Distro I'm running Proxmox on
  2. Distro I selected for the LXC

Kernel Info

[root@kontron ~]$ uname -a
Linux kontron 6.5.11-7-pve #1 SMP PREEMPT_DYNAMIC PMX 6.5.11-7 (2023-12-05T09:44Z) x86_64 GNU/Linux

Version Info

[root@kontron ~]$ pveversion -v
proxmox-ve: 8.1.0 (running kernel: 6.5.11-7-pve)
pve-manager: 8.1.4 (running version: 8.1.4/ec5affc9e41f1d79)
proxmox-kernel-helper: 8.1.0
proxmox-kernel-6.5: 6.5.11-8
proxmox-kernel-6.5.11-8-pve-signed: 6.5.11-8
proxmox-kernel-6.5.11-7-pve-signed: 6.5.11-7
proxmox-kernel-6.5.11-6-pve-signed: 6.5.11-6
ceph-fuse: 17.2.6-pve1+3
corosync: 3.1.7-pve3
criu: 3.17.1-2
glusterfs-client: 10.3-5
ifupdown2: 3.2.0-1+pmx8
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-4
libknet1: 1.28-pve1
libproxmox-acme-perl: 1.5.0
libproxmox-backup-qemu0: 1.4.1
libproxmox-rs-perl: 0.3.3
libpve-access-control: 8.0.7
libpve-apiclient-perl: 3.3.1
libpve-common-perl: 8.1.0
libpve-guest-common-perl: 5.0.6
libpve-http-server-perl: 5.0.5
libpve-network-perl: 0.9.5
libpve-rs-perl: 0.8.8
libpve-storage-perl: 8.0.5
libspice-server1: 0.15.1-1
lvm2: 2.03.16-2
lxc-pve: 5.0.2-4
lxcfs: 5.0.3-pve4
novnc-pve: 1.4.0-3
proxmox-backup-client: 3.1.3-1
proxmox-backup-file-restore: 3.1.3-1
proxmox-kernel-helper: 8.1.0
proxmox-mail-forward: 0.2.3
proxmox-mini-journalreader: 1.4.0
proxmox-widget-toolkit: 4.1.3
pve-cluster: 8.0.5
pve-container: 5.0.8
pve-docs: 8.1.3
pve-edk2-firmware: 4.2023.08-3
pve-firewall: 5.0.3
pve-firmware: 3.9-1
pve-ha-manager: 4.0.3
pve-i18n: 3.2.0
pve-qemu-kvm: 8.1.2-6
pve-xtermjs: 5.3.0-3
qemu-server: 8.0.10
smartmontools: 7.3-pve1
spiceterm: 3.3.0
swtpm: 0.8.0+pve1
vncterm: 1.8.0
zfsutils-linux: 2.2.2-pve1

Please provide detailed steps to reproduce the issue.

  1. Run Proxmox version ( Linux kontron 6.5.11-7-pve #1 SMP PREEMPT_DYNAMIC PMX 6.5.11-7 (2023-12-05T09:44Z) x86_64 GNU/Linux)
  2. Install OMV through Default settings, or any other setting (with Debian 11)
  3. Error
tteck commented 8 months ago

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

   ____                   __  ___         ___      _    __            ____ 
  / __ \____  ___  ____  /  |/  /__  ____/ (_)___ | |  / /___ ___  __/ / /_
 / / / / __ \/ _ \/ __ \/ /|_/ / _ \/ __  / / __ `/ | / / __ `/ / / / / __/
/ /_/ / /_/ /  __/ / / / /  / /  __/ /_/ / / /_/ /| |/ / /_/ / /_/ / / /_  
\____/ .___/\___/_/ /_/_/  /_/\___/\__,_/_/\__,_/ |___/\__,_/\__,_/_/\__/  
    /_/                                                                    

Using Advanced Settings
Using Distribution: debian
Using debian Version: 11
Using Container Type: 0
Using Root Password: Automatic Login
Container ID: 109
Using Hostname: omv
Using Disk Size: 4
Allocated Cores: 2
Allocated RAM: 1024
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 OMV LXC using the above advanced settings
 ✓ Using local for Template Storage.
 ✓ Using local-lvm for Container Storage.
 ✓ Updated LXC Template List
 ✓ LXC Container 109 was successfully created.
 ✓ Started LXC Container
 ✓ Set up Container OS
 ✓ Network Connected: 192.168.86.250 
 ✓ IPv4 Internet Connected
 ✓ DNS Resolved github.com to 140.82.113.3
 ✓ Updated Container OS
 ✓ Installed Dependencies
 ✓ Installed OpenMediaVault
 ✓ Customized Container
 ✓ Cleaned
OMV should be reachable by going to the following URL.
         http://192.168.86.250 
tteck commented 8 months ago

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

gerald-lnj commented 8 months ago

this is failing even with default settings:

Using Default Settings
Using Distribution: debian
Using debian Version: 11
Using Container Type: 1
Using Root Password: Automatic Login
Using Container ID: 107
Using Hostname: omv
Using Disk Size: 4GB
Allocated Cores 2
Allocated Ram 1024
Using Bridge: vmbr0
Using Static 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 Address: Host
Using MAC Address: Default
Using VLAN Tag: Default
Enable Root SSH Access: No
Enable Verbose Mode: No
Creating a OMV LXC using the above default settings
 ✓ Using local for Template Storage.
 ✓ Using local-lvm for Container Storage.
 ✓ Updated LXC Template List
 ✓ LXC Container 107 was successfully created.
 ✓ Started LXC Container
 ✓ Set up Container OS
 ✓ Network Connected: 192.168.68.110 
 ✓ IPv4 Internet Connected
 ✓ DNS Resolved github.com to 20.205.243.166
 ✓ Updated Container OS
 ✓ Installed Dependencies
 - Installing OpenMediaVault (Patience)  /
[ERROR] in line 42: exit code 0: while executing command apt-get -y --auto-remove --show-upgraded --allow-downgrades --allow-change-held-packages --no-install-recommends --option DPkg::Options::="--force-confdef" --option DPkg::Options::="--force-confold" install openmediavault-keyring openmediavault &> /dev/null

If this is not a script issue, then it must be an issue with OMV. If so, perhaps the right call is to remove this install script for OMV since it will never work.

tteck commented 8 months ago

You left out a third option, a @gerald-lnj issue 😉 because I have NO problem creating a OpenMediaVault LXC

   ____                   __  ___         ___      _    __            ____ 
  / __ \____  ___  ____  /  |/  /__  ____/ (_)___ | |  / /___ ___  __/ / /_
 / / / / __ \/ _ \/ __ \/ /|_/ / _ \/ __  / / __ `/ | / / __ `/ / / / / __/
/ /_/ / /_/ /  __/ / / / /  / /  __/ /_/ / / /_/ /| |/ / /_/ / /_/ / / /_  
\____/ .___/\___/_/ /_/_/  /_/\___/\__,_/_/\__,_/ |___/\__,_/\__,_/_/\__/  
    /_/                                                                    

Using Advanced Settings
Using Distribution: debian
Using debian Version: 11
Using Container Type: 0
Using Root Password: Automatic Login
Container ID: 110
Using Hostname: omv
Using Disk Size: 4
Allocated Cores: 2
Allocated RAM: 1024
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 OMV LXC using the above advanced settings
 ✓ Using local for Template Storage.
 ✓ Using local-lvm for Container Storage.
 ✓ Updated LXC Template List
 ✓ LXC Container 110 was successfully created.
 ✓ Started LXC Container
 ✓ Set up Container OS
 ✓ Network Connected: 192.168.86.250 
 ✓ IPv4 Internet Connected
 ✓ DNS Resolved github.com to 140.82.114.4
 ✓ Updated Container OS
 ✓ Installed Dependencies
 ✓ Installed OpenMediaVault
 ✓ Customized Container
 ✓ Cleaned
OMV should be reachable by going to the following URL.
         http://192.168.86.250 
Mirabis commented 8 months ago

Well, if we take your machine for reference. Can you tell us which kernel and/or hardware you are using? Quite some people seem to have issues, but they are closed because the script works on your machine.

We are obviously thankful for having access to your scripts, but resolving issues or investigating compatibility is difficult this way.

I for one am using a 13th gen Intel chip with P & E-cores, non-mainstream motherboard (Kontron).. Etc.

tteck commented 8 months ago

My system, nothing special:

Dell Latitude 5490 laptop
8 x Intel(R) Core(TM) i5-8250U
32 GB RAM
WD BLACK 1TB SN850X NVMe (LVM - ext4)
M.2 256GB SATA SSD (ISOs - ext4)
SAMSUNG T7 500GB Portable SSD (backups - exfat)
Proxmox VE 8.1.4 - Linux 6.5.11-8-pve

My focus lies solely on addressing script-related issues (based on my system), while the task of investigating compatibility falls under the responsibility of others.

madejackson commented 7 months ago

Same issue here. Fresh install of Proxmox. Error appears also when not with SSH connected. Also, ipv6 isn't detected despite being available.

grafik

My 2nd proxmox throws almost identical error: grafik

tteck commented 7 months ago

Your second server shows IPv6 internet connected, but the first didn't? https://github.com/tteck/Proxmox/commit/71ca43c7a2e7ca45f466034d3e2743329e895e7c

The script runs without any problems from this end.

   ____                   __  ___         ___      _    __            ____ 
  / __ \____  ___  ____  /  |/  /__  ____/ (_)___ | |  / /___ ___  __/ / /_
 / / / / __ \/ _ \/ __ \/ /|_/ / _ \/ __  / / __ `/ | / / __ `/ / / / / __/
/ /_/ / /_/ /  __/ / / / /  / /  __/ /_/ / / /_/ /| |/ / /_/ / /_/ / / /_  
\____/ .___/\___/_/ /_/_/  /_/\___/\__,_/_/\__,_/ |___/\__,_/\__,_/_/\__/  
    /_/                                                                    

Using Advanced Settings
Using Distribution: debian
Using debian Version: 11
Using Container Type: 0
Using Root Password: Automatic Login
Container ID: 111
Using Hostname: omv
Using Disk Size: 4
Allocated Cores: 2
Allocated RAM: 1024
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 MAC Address: AE:1A:60:07:B7:59
Using Vlan: Default
Enable Root SSH Access: no
Enable Verbose Mode: no
Creating a OMV LXC using the above advanced settings
 ✓ Using local for Template Storage.
 ✓ Using thin-pool for Container Storage.
 ✓ Updated LXC Template List
 ✓ LXC Container 111 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 OpenMediaVault
 ✓ Customized Container
 ✓ Cleaned
OMV should be reachable by going to the following URL.
         http://192.168.86.250 
madejackson commented 7 months ago

fixed it. You need to set a valid local domain. Mine was set to ".", which is somehow okay for linux but not really okay when you try to use it. insert "search " into /etc/resolv.conf and "service network restart"

madejackson commented 7 months ago

2nd Issue fixed as well... It seems like the script doesn't like that my user on proxmox was using zsh as default shell. Changed it with "chsh" back to /bin/bash and restarted the ssh-session.

tteck commented 7 months ago

The shell issue will soon be fixed, https://github.com/tteck/Proxmox/commit/8a057295938f7c74f67d27844a85ef38004160a7.