Ubuntu 24.04 - unsupported Ubuntu version '24.04'

weconnect

Member
May 20, 2020
26
2
23
36
Hello

Even tho Ubuntu 24.04 is in the proxmox repo we still get

unsupported Ubuntu version '24.04'

from what i can gather its not supported yet. (even tho its in the repo.)

what we can do is add 24.04 as a known verson in this file /usr/share/perl5/PVE/LXC/Setup/Ubuntu.pm

i will try and wait for the fix to be official. :)

Please fix this soon Proxmox devs, you are awsome :D
 
Hi,
pve-container 5.1.10 alone is not enough, network and console does not work with 24.04. containers.
thank you for the report! The template was actually supposed to be retracted because of these issues already, which it was now. Until a fixed version is available, you'll need to get it from another template provider (EDIT: or install 23.10 and upgrade).
 
Last edited:
  • Like
Reactions: vraa and talos
Hi,

thank you for the report! The template was actually supposed to be retracted because of these issues already, which it was now. Until a fixed version is available, you'll need to get it from another template provider.
Hi Fiona,

good to know. I ran 24.04. from linuxcontainers.org before i pulled pve-containers from pvetest and using the official template. The templates from linuxcontainers.org almost work out of the box including console except network, i had to remove netplan yml config from /etc/netplan if i remember it right.
 
Hi Fiona,

good to know. I ran 24.04. from linuxcontainers.org before i pulled pve-containers from pvetest and using the official template. The templates from linuxcontainers.org almost work out of the box including console except network, i had to remove netplan yml config from /etc/netplan if i remember it right.
The network should work too with pve-container >= 5.1.10 because of commit dfcbad0 ("setup: unlink default netplan configuration even with Ubuntu >= 23.04"): https://git.proxmox.com/?p=pve-container.git;a=commit;h=dfcbad017361d4e3ded20af573fbaeacc05231eb
 
There is a fixed template available via pveam (or UI) now: ubuntu-24.04-standard_24.04-2_amd64.tar.zst
Hi @fiona
I tried pveam available but the "ubuntu-24.04-standard_24.04-2_amd64.tar.zst" isn't in the list.

Code:
root@pve01:~# pveam available
mail            proxmox-mail-gateway-8.1-standard_8.1-1_amd64.tar.zst
mail            proxmox-mailgateway-7.3-standard_7.3-1_amd64.tar.zst
system          almalinux-9-default_20221108_amd64.tar.xz
system          alpine-3.18-default_20230607_amd64.tar.xz
system          alpine-3.19-default_20240207_amd64.tar.xz
system          archlinux-base_20230608-1_amd64.tar.zst
system          centos-9-stream-default_20221109_amd64.tar.xz
system          debian-11-standard_11.7-1_amd64.tar.zst
system          debian-12-standard_12.2-1_amd64.tar.zst
system          devuan-4.0-standard_4.0_amd64.tar.gz
system          fedora-38-default_20230607_amd64.tar.xz
system          fedora-39-default_20231118_amd64.tar.xz
system          gentoo-current-openrc_20231009_amd64.tar.xz
system          opensuse-15.4-default_20221109_amd64.tar.xz
system          opensuse-15.5-default_20231118_amd64.tar.xz
system          rockylinux-9-default_20221109_amd64.tar.xz
system          ubuntu-20.04-standard_20.04-1_amd64.tar.gz
system          ubuntu-22.04-standard_22.04-1_amd64.tar.zst
system          ubuntu-23.04-standard_23.04-1_amd64.tar.zst
system          ubuntu-23.10-standard_23.10-1_amd64.tar.zst
turnkeylinux    debian-10-turnkey-collabtive_16.1-1_amd64.tar.gz
turnkeylinux    debian-10-turnkey-concrete5_16.1-1_amd64.tar.gz
turnkeylinux    debian-10-turnkey-drupal8_16.2-1_amd64.tar.gz
turnkeylinux    debian-10-turnkey-ezplatform_16.0-1_amd64.tar.gz
turnkeylinux    debian-10-turnkey-foodsoft_16.1-1_amd64.tar.gz
turnkeylinux    debian-10-turnkey-magento_16.1-1_amd64.tar.gz
turnkeylinux    debian-10-turnkey-moinmoin_16.1-1_amd64.tar.gz
turnkeylinux    debian-10-turnkey-mongodb_16.1-1_amd64.tar.gz
turnkeylinux    debian-10-turnkey-processmaker_16.1-1_amd64.tar.gz
turnkeylinux    debian-10-turnkey-revision-control_16.1-1_amd64.tar.gz
turnkeylinux    debian-10-turnkey-trac_16.1-1_amd64.tar.gz
turnkeylinux    debian-11-turnkey-asp-net-core_17.1-1_amd64.tar.gz
turnkeylinux    debian-11-turnkey-b2evolution_17.1-1_amd64.tar.gz
turnkeylinux    debian-11-turnkey-canvas_17.1-1_amd64.tar.gz
turnkeylinux    debian-11-turnkey-domain-controller_17.1-1_amd64.tar.gz
turnkeylinux    debian-11-turnkey-drupal9_17.1-1_amd64.tar.gz
turnkeylinux    debian-11-turnkey-fileserver_17.1-1_amd64.tar.gz
turnkeylinux    debian-11-turnkey-ghost_17.1-1_amd64.tar.gz
turnkeylinux    debian-11-turnkey-gnusocial_17.1-1_amd64.tar.gz
turnkeylinux    debian-11-turnkey-jenkins_17.1-1_amd64.tar.gz
turnkeylinux    debian-11-turnkey-joomla3_17.1-1_amd64.tar.gz
turnkeylinux    debian-11-turnkey-mahara_17.1-1_amd64.tar.gz
turnkeylinux    debian-11-turnkey-mayan-edms_17.1-1_amd64.tar.gz
turnkeylinux    debian-11-turnkey-mediaserver_17.1-1_amd64.tar.gz
turnkeylinux    debian-11-turnkey-moodle_17.1-1_amd64.tar.gz
turnkeylinux    debian-11-turnkey-plone_17.1-1_amd64.tar.gz
turnkeylinux    debian-11-turnkey-redis_17.1-1_amd64.tar.gz
turnkeylinux    debian-11-turnkey-sahana-eden_17.1-1_amd64.tar.gz
turnkeylinux    debian-11-turnkey-snipe-it_17.3-1_amd64.tar.gz
turnkeylinux    debian-11-turnkey-symfony_17.1-1_amd64.tar.gz
turnkeylinux    debian-11-turnkey-tkldev_17.2-1_amd64.tar.gz
turnkeylinux    debian-11-turnkey-tomcat-apache_17.1-1_amd64.tar.gz
turnkeylinux    debian-11-turnkey-tomcat_17.1-1_amd64.tar.gz
turnkeylinux    debian-11-turnkey-torrentserver_17.1-1_amd64.tar.gz
turnkeylinux    debian-11-turnkey-tracks_17.1-1_amd64.tar.gz
turnkeylinux    debian-11-turnkey-ushahidi_17.1-1_amd64.tar.gz
turnkeylinux    debian-11-turnkey-vanilla_17.1-1_amd64.tar.gz
turnkeylinux    debian-11-turnkey-zoneminder_17.2-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-ansible_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-avideo_18.1-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-bagisto_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-bookstack_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-bugzilla_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-cakephp_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-codeigniter_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-concrete-cms_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-core_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-couchdb_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-django_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-dokuwiki_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-drupal10_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-drupal7_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-e107_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-elgg_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-espocrm_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-etherpad_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-faveo-helpdesk_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-foswiki_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-gallery_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-gameserver_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-gitea_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-gitlab_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-icescrum_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-invoice-ninja_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-joomla4_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-lamp_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-lapp_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-laravel_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-leantime_18.1-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-lighttpd-php-fastcgi_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-limesurvey_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-mantis_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-matomo_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-mattermost_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-mediawiki_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-mibew_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-mumble_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-mysql_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-nextcloud_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-nginx-php-fastcgi_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-nodejs_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-observium_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-odoo_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-omeka_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-opencart_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-openldap_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-openvpn_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-orangehrm_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-oscommerce_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-otrs_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-owncloud_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-phpbb_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-phplist_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-postgresql_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-prestashop_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-processwire_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-rails_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-redmine_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-roundup_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-silverstripe_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-simplemachines_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-suitecrm_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-syncthing_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-typo3_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-web2py_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-wireguard_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-wordpress_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-xoops_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-yiiframework_18.0-1_amd64.tar.gz
turnkeylinux    debian-12-turnkey-zencart_18.0-1_amd64.tar.gz

Is it available for all users?

My environment:
Code:
root@pve01:~# pveversion
pve-manager/8.2.2/9355359cd7afbae4 (running kernel: 6.8.4-2-pve)

Thanks a lot!
CPuri
 
Just run the following:
Code:
root@pve2:~$ pveam update
Then it will appear:
Code:
root@pve2:~$ pveam available --section system
system          almalinux-9-default_20221108_amd64.tar.xz
…
system          ubuntu-23.04-standard_23.04-1_amd64.tar.zst
system          ubuntu-23.10-standard_23.10-1_amd64.tar.zst
system          ubuntu-24.04-standard_24.04-2_amd64.tar.zst

Best regards
KH
 
Hi,
I still can’t boot an LXC container after upgrade to 24.04 from 23.10. They hang at the console and never come all the way up. No errors in log. Proxmox is fully up to date.
please share the container configuration pct config <ID> and the output of pct start <ID> --debug. Was the container originally created with the 23.10 template provided by Proxmox or some other template?
 
There is a fixed template available via pveam (or UI) now: ubuntu-24.04-standard_24.04-2_amd64.tar.zst

Hey there, I used this updated template to create a new container on an updated proxmox host.
Unfortunatley, still no working console or network.
 

Attachments

Last edited:
Hi,
Hey there, I used this updated template to create a new container on an updated proxmox host.
Unfortunatley, still no working console or network.
are you really sure, you used the ubuntu-24.04-standard_24.04-2_amd64.tar.zst template and not the problematic ubuntu-24.04-standard_24.04-1_amd64.tar.zst?
 
Hi,

are you really sure, you used the ubuntu-24.04-standard_24.04-2_amd64.tar.zst template and not the problematic ubuntu-24.04-standard_24.04-1_amd64.tar.zst?

Yes, I'm really sure I used 24.04-2

To confirm this, I did the following;
  • Removed all templates
  • pveam update
  • pveam available --section system -> ubuntu-24.04-standard_24.04-2_amd64.tar.zst
  • Download: ubuntu-24.04-standard_24.04-2_amd64.tar.zst
  • Created new container with ubuntu-24.04-standard_24.04-2_amd64.tar.zst
Still no network and no console
 
Yes, I'm really sure I used 24.04-2

To confirm this, I did the following;
  • Removed all templates
  • pveam update
  • pveam available --section system -> ubuntu-24.04-standard_24.04-2_amd64.tar.zst
  • Download: ubuntu-24.04-standard_24.04-2_amd64.tar.zst
  • Created new container with ubuntu-24.04-standard_24.04-2_amd64.tar.zst
Still no network and no console
How long did you wait for the container to come up? Do you have a DHCP server running? What do you get when you do pct enter 115 and then file /sbin/init? If you do have a DHCP server running and the file command says it's a link that points to ../lib/systemd/systemd, please share the output of journalctl -b when run inside the container.
 
Hi All,

I got the CT with ubuntu-24.04-standard_24.04-2_amd64.tar.zst working.

I did:
  • pveam update
  • pveam available to check the ubuntu template v24-04-2 was listed
Downloaded the template and created the CT.
Connected through the console and updated (apt update && apt upgrade -y) without issues.

Thanks a lot,
CPuri
 
Hi,

please share the container configuration pct config <ID> and the output of pct start <ID> --debug. Was the container originally created with the 23.10 template provided by Proxmox or some other template?


root@maverick:~# cat /etc/pve/lxc/101.conf
arch: amd64
cores: 2
cpuunits: 99
hostname: radarr
memory: 1024
mp1: /plex/plex,mp=/media/Plex,acl=1,backup=0,replicate=0,shared=0
mp2: /plex/plex/Music,mp=/media/Plex/Music,acl=1,backup=0,replicate=0,shared=0
nameserver: 192.168.2.1
net0: name=eth0,bridge=vmbr1,firewall=1,gw=192.168.2.1,hwaddr=B6:BA:44:83:B6:77,ip=192.168.2.213/24,type=veth
onboot: 1
ostype: ubuntu
rootfs: PMem:subvol-101-disk-1,mountoptions=noatime,size=10G
searchdomain: sansonefam.com
swap: 0

I will provide a debug log later. Thank you.
 
How long did you wait for the container to come up? Do you have a DHCP server running? What do you get when you do pct enter 115 and then file /sbin/init? If you do have a DHCP server running and the file command says it's a link that points to ../lib/systemd/systemd, please share the output of journalctl -b when run inside the container.

I do have a DHCP server in the network and I also tried setting a static IP, but in vain.

The output of the file command: /sbin/init: symbolic link to ../lib/systemd/systemd
 

Attachments

I think I can reproduce the issues now. It happens when the container is privileged. We'll investigate.

EDIT: enabling the nesting feature seems to be a workaround, but please beware, because as @t.lamprecht noted:
privileged + nesting is pretty much uncontained and thus should only be used for trusted CTs (or well, CTs that only trusted users have access to)
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!