nextcloud / vm

💻☁📦 The Nextcloud VM (virtual machine appliance), Home/SME Server and scripts for RPi (4). Community developed and maintained.
https://download.nextcloudvm.com
GNU General Public License v3.0
1.28k stars 654 forks source link

proxmox install (vz restore 29.0 - HUB 8), python3-distutils no install candidate #2649

Open shaunchokshi opened 1 week ago

shaunchokshi commented 1 week ago

Steps To Reproduce

download the vzdump image today and started following the installation procedure outlined for Proxmox (https://docs.hanssonit.se/s/W6fMouPiqQz3_Mog/virtual-machines-vm/d/W6fMquPiqQz3_Moi/nextcloud-vm-first-setup-instructions?currentPageId=cj92k3vc1lbcm7onrrog) on PVE 8.2.4 - logged in as ncadmin IAW instructions, the script started up and hit the error:

python3-distutils package has no installation candidate and the script output instructed to submit this as an issue

Expected Result

should've installed without an error, maybe package has gone missing off the repo?

Actual Result

the python3-distutils package is available on debian bookworm stable channel (it is infact installed on the proxmox host itself - [python3-distutils/stable,now 3.11.2-3 all [installed] distutils package for Python 3.x]

Screenshots, Videos, or Pastebins

No response

Additional Context

No response

Build Version

29

Environment

By downloading the VM

Environment Details

machine details (inxi -Fxz) included below Kernel Kernel: 6.5.13-1-pve arch: x86_64 bits: 64 compiler: gcc v: 12.2.0 Console: pty pts/0 Distro: Debian GNU/Linux 12 (bookworm)
Machine:
Machine: Type: Server System: FLIR Systems product: Universal System Solutions v: N/A serial: Mobo: FLIR Systems model: 0XFK4K v: A09 serial: UEFI: FLIR Systems v: 1.4.9 date: 06/29/2018
CPU:
CPU: Info: 2x 18-core model: Intel Xeon Gold 6140 bits: 64 type: MT MCP SMP arch: Skylake rev: 4 cache: L1: 2x 1.1 MiB (2.2 MiB) L2: 2x 18 MiB (36 MiB) L3: 2x 24.8 MiB (49.5 MiB) Speed (MHz): avg: 2016 high: 3616 min/max: N/A cores: 1: 1000 2: 2300 3: 2300 4: 2300 5: 3616 6: 2300 7: 2300 8: 2300 9: 1258 10: 1000 11: 2300 12: 2300 13: 2300 14: 2300 15: 2300 16: 2300 17: 1001 18: 2300 19: 2300 20: 2300 21: 1000 22: 2300 23: 2300 24: 2300 25: 2300 26: 2300 27: 1000 28: 2300 29: 2300 30: 2300 31: 2300 32: 2300 33: 2300 34: 1000 35: 2300 36: 1000 37: 2300 38: 2300 39: 1000 40: 2300 41: 2300 42: 2300 43: 2300 44: 2300 45: 2300 46: 2300 47: 2300 48: 1000 49: 2300 50: 1000 51: 1354 52: 2300 53: 1000 54: 1838 55: 2300 56: 1242 57: 2300 58: 2300 59: 1000 60: 2300 61: 2300 62: 2300 63: 2300 64: 2300 65: 2300 66: 2300 67: 2300 68: 2300 69: 1000 70: 1000 71: 2300 72: 2300 bogomips: 331200 Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
graphics:
Graphics: Device-1: Matrox Systems Integrated G200eW3 Graphics vendor: Dell driver: mgag200 v: kernel bus-ID: 03:00.0 Display: server: No display server data found. Headless machine? tty: 89x23 API: OpenGL Message: GL data unavailable in console for root.
network:
Network: Device-1: Intel I350 Gigabit Network vendor: Dell driver: igb v: kernel port: N/A bus-ID: 01:00.0 IF: eno3 state: up speed: 1000 Mbps duplex: full mac: Device-2: Intel I350 Gigabit Network vendor: Dell driver: igb v: kernel port: N/A bus-ID: 01:00.1 IF: eno4 state: up speed: 1000 Mbps duplex: full mac: Device-3: Intel Ethernet X710 for 10GbE SFP+ vendor: Dell 10G 4P X710/I350 rNDC driver: i40e v: kernel port: N/A bus-ID: 19:00.0 IF: eno1 state: up speed: 10000 Mbps duplex: full mac: Device-4: Intel Ethernet X710 for 10GbE SFP+ vendor: Dell 10G driver: i40e v: kernel port: N/A bus-ID: 19:00.1 IF: eno2 state: up speed: 10000 Mbps duplex: full mac: Device-5: Dell iDRAC Virtual NIC type: USB driver: cdc_ether bus-ID: 1-14.3:5 IF: idrac state: unknown speed: 425 Mbps duplex: half mac: IF-ID-1: bonding_masters state: N/A speed: N/A duplex: N/A mac: N/A IF-ID-2: fwbr100i0 state: up speed: 10000 Mbps duplex: unknown mac: IF-ID-3: fwbr101i0 state: up speed: 10000 Mbps duplex: unknown mac: IF-ID-4: fwbr105i0 state: up speed: 10000 Mbps duplex: unknown mac: IF-ID-5: fwbr105i1 state: up speed: 10000 Mbps duplex: unknown mac: IF-ID-6: fwbr199i0 state: up speed: 10000 Mbps duplex: unknown mac: IF-ID-7: fwbr199i1 state: up speed: 10000 Mbps duplex: unknown mac: IF-ID-8: fwbr199i2 state: up speed: 10000 Mbps duplex: unknown mac: IF-ID-9: fwbr199i3 state: up speed: 10000 Mbps duplex: unknown mac: IF-ID-10: fwbr199i4 state: up speed: 10000 Mbps duplex: unknown mac: IF-ID-11: fwbr199i5 state: up speed: 10000 Mbps duplex: unknown mac: IF-ID-12: fwbr601i0 state: up speed: 10000 Mbps duplex: unknown mac: IF-ID-13: fwbr603i0 state: up speed: 10000 Mbps duplex: unknown mac: IF-ID-14: fwbr611i0 state: up speed: 10000 Mbps duplex: unknown mac: IF-ID-15: fwbr611i1 state: up speed: 10000 Mbps duplex: unknown mac: IF-ID-16: fwln100i0 state: up speed: 10000 Mbps duplex: full mac: IF-ID-17: fwln101i0 state: up speed: 10000 Mbps duplex: full mac: IF-ID-18: fwln105i0 state: up speed: 10000 Mbps duplex: full mac: IF-ID-19: fwln105i1 state: up speed: 10000 Mbps duplex: full mac: IF-ID-20: fwln199i0 state: up speed: 10000 Mbps duplex: full mac: IF-ID-21: fwln199i1 state: up speed: 10000 Mbps duplex: full mac: IF-ID-22: fwln199i2 state: up speed: 10000 Mbps duplex: full mac: IF-ID-23: fwln199i3 state: up speed: 10000 Mbps duplex: full mac: IF-ID-24: fwln199i4 state: up speed: 10000 Mbps duplex: full mac: IF-ID-25: fwln199i5 state: up speed: 10000 Mbps duplex: full mac: IF-ID-26: fwln601i0 state: up speed: 10000 Mbps duplex: full mac: IF-ID-27: fwln603i0 state: up speed: 10000 Mbps duplex: full mac: IF-ID-28: fwln611i0 state: up speed: 10000 Mbps duplex: full mac: IF-ID-29: fwln611i1 state: up speed: 10000 Mbps duplex: full mac: IF-ID-30: fwpr100p0 state: up speed: 10000 Mbps duplex: full mac: IF-ID-31: fwpr101p0 state: up speed: 10000 Mbps duplex: full mac: IF-ID-32: fwpr105p0 state: up speed: 10000 Mbps duplex: full mac: IF-ID-33: fwpr105p1 state: up speed: 10000 Mbps duplex: full mac: IF-ID-34: fwpr199p0 state: up speed: 10000 Mbps duplex: full mac: IF-ID-35: fwpr199p1 state: up speed: 10000 Mbps duplex: full mac: IF-ID-36: fwpr199p2 state: up speed: 10000 Mbps duplex: full mac: IF-ID-37: fwpr199p3 state: up speed: 10000 Mbps duplex: full mac: IF-ID-38: fwpr199p4 state: up speed: 10000 Mbps duplex: full mac: IF-ID-39: fwpr199p5 state: up speed: 10000 Mbps duplex: full mac: IF-ID-40: fwpr601p0 state: up speed: 10000 Mbps duplex: full mac: IF-ID-41: fwpr603p0 state: up speed: 10000 Mbps duplex: full mac: IF-ID-42: fwpr611p0 state: up speed: 10000 Mbps duplex: full mac: IF-ID-43: fwpr611p1 state: up speed: 10000 Mbps duplex: full mac: IF-ID-44: tap105i0 state: unknown speed: 10000 Mbps duplex: full mac: IF-ID-45: tap105i1 state: unknown speed: 10000 Mbps duplex: full mac: IF-ID-46: tap199i0 state: unknown speed: 10000 Mbps duplex: full mac: IF-ID-47: tap199i1 state: unknown speed: 10000 Mbps duplex: full mac: IF-ID-48: tap199i2 state: unknown speed: 10000 Mbps duplex: full mac: IF-ID-49: tap199i3 state: unknown speed: 10000 Mbps duplex: full mac: IF-ID-50: tap199i4 state: unknown speed: 10000 Mbps duplex: full mac: IF-ID-51: tap199i5 state: unknown speed: 10000 Mbps duplex: full mac: IF-ID-52: tap601i0 state: unknown speed: 10000 Mbps duplex: full mac: IF-ID-53: tap603i0 state: unknown speed: 10000 Mbps duplex: full mac: IF-ID-54: tap611i0 state: unknown speed: 10000 Mbps duplex: full mac: IF-ID-55: tap611i1 state: unknown speed: 10000 Mbps duplex: full mac: IF-ID-56: veth100i0 state: up speed: 10000 Mbps duplex: full mac: IF-ID-57: veth101i0 state: up speed: 10000 Mbps duplex: full mac: IF-ID-58: vlan170 state: up speed: 1000 Mbps duplex: full mac: IF-ID-59: vlan25 state: up speed: 1000 Mbps duplex: full mac: IF-ID-60: vlan26 state: up speed: 1000 Mbps duplex: full mac: IF-ID-61: vlan27 state: up speed: 1000 Mbps duplex: full mac: IF-ID-62: vmbr0 state: up speed: 10000 Mbps duplex: unknown mac: IF-ID-63: vmbr10 state: up speed: 10000 Mbps duplex: unknown mac: IF-ID-64: vmbr170 state: up speed: 10000 Mbps duplex: unknown mac: IF-ID-65: vmbr25 state: up speed: 10000 Mbps duplex: unknown mac: IF-ID-66: vmbr26 state: up speed: 10000 Mbps duplex: unknown mac: IF-ID-67: vmbr27 state: up speed: 10000 Mbps duplex: unknown mac: IF-ID-68: vnetPVE state: down mac:
RAID:
RAID: Hardware-1: Intel C620 Series Family SSATA Controller [RAID mode] driver: ahci v: 3.0 bus-ID: 00:11.5 Hardware-2: Intel C620 Series Family SATA Controller [RAID mode] driver: ahci v: 3.0 bus-ID: 00:17.0 Hardware-3: Broadcom / LSI MegaRAID SAS-3 3108 [Invader] driver: megaraid_sas v: 07.725.01.00-rc1 bus-ID: 18:00.0 Device-1: nvme-pool0 type: zfs status: ONLINE level: mirror-0 raw: size: 888 GiB free: 845 GiB zfs-fs: size: 860.5 GiB free: 597.43 GiB Components: Online: 1: nvme0n1 2: nvme1n1
Drives:
Drives: Local Storage: total: raw: 24.6 TiB usable: 23.69 TiB lvm-free: 16 GiB used: 623.77 GiB (2.6%) ID-1: /dev/nvme0n1 model: WUS4B7696DSP303 size: 894.25 GiB temp: 43.9 C ID-2: /dev/nvme1n1 model: WUS4B7696DSP303 size: 894.25 GiB temp: 41.9 C ID-3: /dev/sda vendor: Dell PowerEdge RAID Card model: PERC H730P Mini size: 21.83 TiB ID-4: /dev/sdb model: DELLBOSS VD size: 476.88 GiB ID-5: /dev/sdc type: USB vendor: Dell model: IDSDM size: 59.48 GiB ID-6: /dev/sdd model: iSCSI Storage size: 256 GiB ID-7: /dev/sde model: iSCSI Storage size: 256 GiB
partition:
Partition: ID-1: / size: 93.93 GiB used: 25.66 GiB (27.3%) fs: ext4 dev: /dev/dm-1 mapped: pve-root ID-2: /boot/efi size: 1022 MiB used: 13.2 MiB (1.3%) fs: vfat dev: /dev/sdb2
swap:
Swap: ID-1: swap-1 type: partition size: 8 GiB used: 0 KiB (0.0%) dev: /dev/dm-0 mapped: pve-swap
sensors:
Sensors: System Temperatures: cpu: 38.0 C pch: 36.0 C mobo: N/A Fan Speeds (RPM): N/A
running info:
Info: Processes: 1192 Uptime: 95d 23h 37m Memory: 298.56 GiB used: 171.98 GiB (57.6%) Init: systemd target: graphical (5) Compilers: N/A Packages: 829 Shell: Bash v: 5.2.15 inxi: 3.3.26
enoch85 commented 1 week ago

Thanks for posting!

Is the package missing on the VM, or when extracting on the Proxmox host?

If on the VM, when does it occur?

shaunchokshi commented 1 week ago

Thanks for posting!

Is the package missing on the VM, or when extracting on the Proxmox host?

If on the VM, when does it occur?

it occurs in the VM when I booted into it and started following the script.

quick troubleshooting (on the same Proxmox host, in a separate VM - on a fresh installation of Ubuntu Server 24.04 LTS via the ISO downloaded from Canonical - ubuntu-24.04-live-server-amd64.iso)

installation was all defaults straight through, and using the archives:

sudo apt update output >>

Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB] Hit:2 http://us.archive.ubuntu.com/ubuntu noble InRelease Get:3 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [112 kB] Get:4 http://us.archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB] Get:5 http://security.ubuntu.com/ubuntu noble-security/restricted Translation-en [21.4 kB] Get:6 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Packages [10.6 kB] Get:7 http://security.ubuntu.com/ubuntu noble-security/multiverse Translation-en [2,808B] Hit:8 http://us.archive.ubuntu.com/ubuntu noble-backports InRelease Get:9 https://esm.ubuntu.com/apps/ubuntu noble-apps-security InRelease [7,526 B] Get:10 https://esm.ubuntu.com/apps/ubuntu noble-apps-updates InRelease [7,468 B] Get:11 https://esm.ubuntu.com/infra/ubuntu noble-infra-security InRelease [7,462 B] Get:12 https://esm.ubuntu.com/infra/ubuntu noble-infra-updates InRelease [7,461 B] Fetched 429 kB in 1s (539 kB/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date.

apt search python3-dist >>

Sorting... Full Text Search... python3-dist-meta/noble 0.8.0+dfsg-3 all Parse and create Python distribution metadata

python3-distance/noble 0.1.3+git20131122.ad7f9dc-1 all Python library for comparing sequences

python3-distlib/noble 0.3.8-1 all low-level components of python distutils2/packaging

python3-distorm3/noble 3.5.2b-3build1 all powerful disassembler library for x86/AMD64 binary streams (Python3 bindings)

python3-distributed/noble 2023.12.1+ds-4 all Dask Distributed computing for Python 3

python3-distro/noble,now 1.9.0-1 all [installed,automatic] Linux OS platform information API

python3-distro-info/noble,now 1.7build1 all [installed,automatic] information about distributions' releases (Python 3 module)

python3-distupgrade/noble-updates,now 1:24.04.18 all [installed,automatic] manage release upgrades

python3-distutils-extra/noble 3.0 all enhancements to the Python3 build system

enoch85 commented 1 week ago

OK, so the dependency is needed for Full Text Search? Everything is OK if you don't install Full Text Search?

shaunchokshi commented 1 week ago

OK, so the dependency is needed for Full Text Search? Everything is OK if you don't install Full Text Search?

That error popped up on running the installation of the prebuilt VM image, and I don't recall specifically choosing the Full Text Search option - though I may have.

I am doing the installation now on a fresh stock Ubuntu Server 24.04 LTS VM, and using the "Install with scripts (if you feel brave)" method to check if it replicates there, also.

If I see an option during the script-based installation not to select the Full Text Search option, I will do that and update here if the error replicates or not.

UPDATE

confirmed that the error does not occur if you do not select Full Text Search for installation (tested via the "Install with scripts" process - during the nextcloud-startup-script.sh portion)

enoch85 commented 1 week ago

OK, so the dependency is needed for Full Text Search? Everything is OK if you don't install Full Text Search?

That error popped up on running the installation of the prebuilt VM image, and I don't recall specifically choosing the Full Text Search option - though I may have.

I am doing the installation now on a fresh stock Ubuntu Server 24.04 LTS VM, and using the "Install with scripts (if you feel brave)" method to check if it replicates there, also.

If I see an option during the script-based installation not to select the Full Text Search option, I will do that and update here if the error replicates or not.

UPDATE

confirmed that the error does not occur if you do not select Full Text Search for installation (tested via the "Install with scripts" process - during the nextcloud-startup-script.sh portion)

Ok, perfect. Now please try to re-import the pre-built VM and run it from scratch again - this time without selecting Full Text Search. Also no error?

shaunchokshi commented 1 week ago

separately, went back via the /var/scripts/menu.sh after confirming the system is fully functional (happy to say I did not fail in the brave option), added Full Text Search, and it installed and is functioning without error.

perhaps you fixed the script? or I wonder if it is a sequencing issue and some other script in the installation process happened to include the correct python3-distutils package, and so installing Full Text Search after everything made it work properly.

Ok, perfect. Now please try to re-import the pre-built VM and run it from scratch again - this time without selecting Full Text Search. Also no error?

will do that in ~12hrs, need sleep first

enoch85 commented 1 week ago

Thanks!

I may have been a glitch as well. I just want to find out where it expects python3-distutils so that we can add it as a dependency in that case.