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
4
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