An error has occurred creating an lxc using debian-11-turnkey-yiiframework_17.1-1_amd64.tar.gz image.

Noriaki Eguchi

New Member
Feb 7, 2024
2
0
1
I tried install debian-11-turnkey-yiiframework_17.1-1_amd64.tar.gz, an error has occured.

Code:
extracting archive '/var/lib/vz/template/cache/debian-11-turnkey-yiiframework_17.1-1_amd64.tar.gz'
tar: ./usr/local/src/advanced/.gitignore: Cannot change ownership to uid 197610, gid 197121: Invalid argument
tar: ./usr/local/src/advanced/.bowerrc: Cannot change ownership to uid 197610, gid 197121: Invalid argument
tar: ./usr/local/src/advanced: Cannot change ownership to uid 197610, gid 197121: Invalid argument
Total bytes read: 919060480 (877MiB, 103MiB/s)
tar: Exiting with failure status due to previous errors
TASK ERROR: unable to create CT 128 - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- tar xpf - -z --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.*' '--xattrs-include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' -C /var/lib/lxc/128/rootfs --skip-old-files --anchored --exclude './dev/*'' failed: exit code 2

Is there a way to resolve this error?
 
the user/group ID is outside of the range allowed by default for the container.. do you have any special mappings in place? or does this actually come from the cttemplate?
 
yeah, that template seems broken:

Code:
drwxr-xr-x 197610/197121     0 2022-09-20 22:10 ./usr/local/src/advanced/
-rw-r--r-- 197610/197121   627 2022-02-11 14:29 ./usr/local/src/advanced/.gitignore
-rw-r--r-- 197610/197121    43 2022-02-11 14:29 ./usr/local/src/advanced/.bowerrc

maybe report it to turnkey linux?
 
  • Like
Reactions: Noriaki Eguchi

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!