HELP: Detected container architecture: amd64

essecitech

New Member
Apr 27, 2023
9
0
1
Hello everyone, I have a server with Proxmox 7.1.4 installed and I have a problem when I create some LXC containers.
If I install Ubuntu 18.04 or 20.04, no problem but if I try Ubuntu 22.10 or Ubuntu 22.04 I always have the same error: "Detected container architecture: amd64".
I also tried installing debian-12-turnkey-nextcloud_18.0-1 but the result is always the same.
I have other servers with the same version of Proxmox installed but I don't encounter any problem.
What can I do?
Thank you.
 
Hi,

first of - please not that this is a voluntary community forum. If you need a guarantee response time, consider supporting us and getting a subscription :)

I always have the same error: "Detected container architecture: amd64".
That is not an error, but simply an informative statement. So everything is working as intended.

How did you get to the conclusion that this is an error? It's not marked as such or anything.
 
  • Like
Reactions: leesteken
Hi,

first of - please not that this is a voluntary community forum. If you need a guarantee response time, consider supporting us and getting a subscription :)


That is not an error, but simply an informative statement. So everything is working as intended.

How did you get to the conclusion that this is an error? It's not marked as such or anything.

Of course, you are absolutely right; I understand that this is a community and I don't have any subscription.
However, I concluded that this is an error because the full message is this:
Code:
Formatting '/mnt/data/hdd-img/images/105/vm-105-disk-0.raw', fmt=raw size=53687091200 preallocation=off
Creating filesystem with 13107200 4k blocks and 3276800 inodes
Filesystem UUID: e25b62e9-be97-40eb-8fe9-bf7e7fae6fc2
Superblock backups stored on blocks:
    32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
    4096000, 7962624, 11239424
extracting archive '/mnt/data/hdd-img/template/cache/ubuntu-22.10-standard_22.10-1_amd64.tar.zst'
Total bytes read: 511242240 (488MiB, 417MiB/s)
Detected container architecture: amd64
TASK ERROR: unable to create CT 105 - unsupported Ubuntu version '22.10'

Thus, the container is not created.
Thank you.
 
Here is something you could try, (replace CTID with your actual container ID):

Code:
nano /etc/pve/lxc/CTID.conf

#edit this line:

ostype: debian # (or whatever it shows)

#to this

ostype: unmanaged


EDIT: I guess this wouldn't work, since you're unable to create the container at all!
I think you have no option but to update the PVE server. If you compare the two servers, working one against the non-working one, you will discover which update/updates are necessary for your container template.
Code:
pveversion -v
 
Last edited:
Could you give the server details
Here they are:

Code:
proxmox-ve: 7.1-1 (running kernel: 5.13.19-1-pve)
pve-manager: 7.1-4 (running version: 7.1-4/ca457116)
pve-kernel-5.13: 7.1-4
pve-kernel-helper: 7.1-4
pve-kernel-5.13.19-1-pve: 5.13.19-2
ceph-fuse: 15.2.15-pve1
corosync: 3.1.5-pve2
criu: 3.15-1+pve-1
glusterfs-client: 9.2-1
ifupdown2: 3.1.0-1+pmx3
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-1
libknet1: 1.22-pve2
libproxmox-acme-perl: 1.4.0
libproxmox-backup-qemu0: 1.2.0-1
libpve-access-control: 7.1-1
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.0-14
libpve-guest-common-perl: 4.0-3
libpve-http-server-perl: 4.0-3
libpve-storage-perl: 7.0-15
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 4.0.9-4
lxcfs: 4.0.8-pve2
novnc-pve: 1.2.0-3
proxmox-backup-client: 2.0.14-1
proxmox-backup-file-restore: 2.0.14-1
proxmox-mini-journalreader: 1.2-1
proxmox-widget-toolkit: 3.4-2
pve-cluster: 7.1-2
pve-container: 4.1-2
pve-docs: 7.1-2
pve-edk2-firmware: 3.20210831-2
pve-firewall: 4.2-5
pve-firmware: 3.3-3
pve-ha-manager: 3.3-1
pve-i18n: 2.6-1
pve-qemu-kvm: 6.1.0-2
pve-xtermjs: 4.12.0-1
qemu-server: 7.1-3
smartmontools: 7.2-1
spiceterm: 3.2-2
swtpm: 0.7.0~rc1+2
vncterm: 1.7-1
zfsutils-linux: 2.1.1-pve3
 
Here is something you could try, (replace CTID with your actual container ID):

Code:
nano /etc/pve/lxc/CTID.conf

#edit this line:

ostype: debian # (or whatever it shows)

#to this

ostype: unmanaged


EDIT: I guess this wouldn't work, since you're unable to create the container at all!
I think you have no option but to update the PVE server. If you compare the two servers, working one against the non-working one, you will discover which update/updates are necessary for your container template.
Code:
pveversion -v
Ok, I'll try.
Thank you
 
Then you never added the right repositories, because you are way behind in the 7.x versions. It's all in the Proxmox VE manual (also see the Help button).
In the repositories I have
Code:
deb http://ftp.debian.org/debian bullseye main contrib
deb http://ftp.debian.org/debian bullseye-updates main contrib

# security updates
deb http://security.debian.org/debian-security bullseye-security main contrib
What should I change or add?
 
Please post the output of
Code:
tail -n+0 /etc/apt/sources.list /etc/apt/sources.list.d/*
I guess that are only the contents of /etc/apt/sources.list, which might only contain a fraction of the required repositories.

If you don't have any Proxmox VE repositories configured, please see our guide on Package Repositories.
 
Please post the output of
Code:
tail -n+0 /etc/apt/sources.list /etc/apt/sources.list.d/*
I guess that are only the contents of /etc/apt/sources.list, which might only contain a fraction of the required repositories.

If you don't have any Proxmox VE repositories configured, please see our guide on Package Repositories.
Here they are. I haven't an enterprise subscription.
Sorry, but I still don't understand what the difference is between the repositories specified in the help and the ones I have.

Code:
==> /etc/apt/sources.list <==
deb http://ftp.it.debian.org/debian bullseye main contrib

deb http://ftp.it.debian.org/debian bullseye-updates main contrib

# security updates
deb http://security.debian.org bullseye-security main contrib

==> /etc/apt/sources.list.d/pve-enterprise.list <==
#deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise
 
Here they are. I haven't an enterprise subscription.
Sorry, but I still don't understand what the difference is between the repositories specified in the help and the ones I have.

Code:
==> /etc/apt/sources.list <==
deb http://ftp.it.debian.org/debian bullseye main contrib

deb http://ftp.it.debian.org/debian bullseye-updates main contrib

# security updates
deb http://security.debian.org bullseye-security main contrib

==> /etc/apt/sources.list.d/pve-enterprise.list <==
#deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise

This is missing (if you have no subscription: https://pve.proxmox.com/pve-docs-7/pve-admin-guide.html#sysadmin_no_subscription_repo ):
Code:
# PVE pve-no-subscription repository provided by proxmox.com, NOT recommended for production use
deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription

EDIT: And never run apt upgrade, always run apt dist-upgrade: https://pve.proxmox.com/pve-docs-7/pve-admin-guide.html#_system_software_updates
 
Last edited:
This is missing (if you have no subscription: https://pve.proxmox.com/pve-docs-7/pve-admin-guide.html#sysadmin_no_subscription_repo ):
Code:
# PVE pve-no-subscription repository provided by proxmox.com, NOT recommended for production use
deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription

EDIT: And never run apt upgrade, always run apt dist-upgrade: https://pve.proxmox.com/pve-docs-7/pve-admin-guide.html#_system_software_updates
Yes, I know. I will notify the customer that it will be necessary to subscribe to an enterprise repository.
 

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!