Closed shaunchokshi closed 4 months 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?
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
OK, so the dependency is needed for Full Text Search? Everything is OK if you don't install Full Text Search?
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.
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, 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?
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
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.
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
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)