Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tar: Exiting with failure status due to previous error #13

Open
jprrezende opened this issue Oct 30, 2024 · 3 comments
Open

tar: Exiting with failure status due to previous error #13

jprrezende opened this issue Oct 30, 2024 · 3 comments
Assignees
Labels
investigating The issue is being investigated. possible-fix-needs-testing Possible fix available, needs testing and validation.

Comments

@jprrezende
Copy link

jprrezende commented Oct 30, 2024

Hello, today I am using the script for the first time and than I received an error message at the end of the process:

tar: ./export/home/sagetr2: time stamp 2024-10-30 14:25:53 is 980.291507878 s in the future
tar: ./export/home/sagetr1/.local/share/akonadi: time stamp 2024-10-30 14:41:12 is 1899.291481693 s in the future
tar: ./export/home/sagetr1/.local/share: time stamp 2024-10-30 14:26:49 is 1036.291456471 s in the future
tar: ./export/home/sagetr1/.local: time stamp 2024-10-30 14:25:48 is 975.291431911 s in the future
tar: ./export/home/sagetr1/.kde: time stamp 2024-10-30 14:26:48 is 1035.291406556 s in the future
tar: ./export/home/sagetr1/sage/lib/Linux_x86_64: time stamp 2024-10-30 14:41:08 is 1895.291181958 s in the future
tar: ./export/home/sagetr1/sage: time stamp 2024-10-30 14:25:49 is 976.291136457 s in the future
tar: ./export/home/sagetr1: time stamp 2024-10-30 14:41:09 is 1896.291112176 s in the future
tar: ./usr/share/nginx/html/SageUsers: time stamp 2024-10-30 14:25:40 is 967.280508668 s in the future
tar: ./usr/share/nginx/html: time stamp 2024-10-30 14:25:40 is 967.2804665 s in the future
tar: ./usr/share/icons: time stamp 2024-10-30 14:25:41 is 968.278923713 s in the future
tar: ./usr/lib64: time stamp 2024-10-30 14:25:41 is 968.265161838 s in the future
tar: ./usr/lib: time stamp 2024-10-30 14:25:41 is 968.25941514 s in the future
tar: ./usr/bin: time stamp 2024-10-30 14:25:46 is 973.259376778 s in the future
tar: ./var: time stamp 2024-10-30 14:25:09 is 936.259158173 s in the future
tar: ./etc/gdm: time stamp 2024-10-30 14:25:40 is 967.259011913 s in the future
tar: ./etc/sage: time stamp 2024-10-30 14:25:45 is 972.258989127 s in the future
tar: ./etc/sysctl.d: time stamp 2024-10-30 14:25:41 is 968.258929972 s in the future
tar: ./etc/systemd/system/sockets.target.wants: time stamp 2024-10-30 14:25:41 is 968.25878106 s in the future
tar: ./etc/systemd/system/multi-user.target.wants: time stamp 2024-10-30 14:25:41 is 968.258609352 s in the future
tar: ./etc/systemd/system: time stamp 2024-10-30 14:25:41 is 968.258585194 s in the future
tar: ./etc/rc.d/rc5.d: time stamp 2024-10-30 14:25:41 is 968.258475585 s in the future
tar: ./etc/rc.d/rc4.d: time stamp 2024-10-30 14:25:41 is 968.258452854 s in the future
tar: ./etc/rc.d/rc3.d: time stamp 2024-10-30 14:25:41 is 968.258430211 s in the future
tar: ./etc/rc.d/rc2.d: time stamp 2024-10-30 14:25:41 is 968.25840691 s in the future
tar: ./etc/rc.d: time stamp 2024-10-30 14:25:53 is 980.258331633 s in the future
tar: ./etc/sysconfig/network-scripts: time stamp 2024-10-30 14:42:41 is 1988.258221044 s in the future
tar: ./etc/sysconfig: time stamp 2024-10-30 14:25:41 is 968.258198189 s in the future
tar: ./etc/pam.d: time stamp 2024-10-30 14:25:46 is 973.258103662 s in the future
tar: ./etc: time stamp 2024-10-30 14:43:21 is 2028.257888797 s in the future
Total bytes read: 13890969600 (13GiB, 101MiB/s)
tar: Exiting with failure status due to previous errors
unable to create CT 102 - 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/102/rootfs --skip-old-files --anchored --exclude './dev/*'' failed: exit code 2
Cleaning up...
[ OKAY ] Leaving  /tmp/proxmox-vm-to-ct/192.168.240.107.tar.gz (4.7G)
Cleaning up...Done!
root@srv1-lab:~#

Can you help me?

João Paulo

@thushan
Copy link
Owner

thushan commented Oct 30, 2024

Hello there @jprrezende,

Thanks for opening the issue. This is primarily because the time isn't synchronised (it's ~980s or 15-16mins in the future) and tar spits out a warning. You may want to run a NTP sync so all machines are in sync.

See the official Proxmox Guidance on NTP.

The offending line:

function vm_fs_snapshot() {
    tar -czvvf - -C / \
        --exclude="sys" \
        --exclude="dev" \
...

We could fix this by adding the -m switch (see Gnu tar docs). But let me play around with this and see. You can also try this yourself by changing the above line to:

function vm_fs_snapshot() {
    tar -czvvfm - -C / \
        --exclude="sys" \
        --exclude="dev" \
...

Also, if you figured out how to go forward in time, please let us know if you used a Delorean. Some of us do want to go Back To The Future :)

@thushan thushan self-assigned this Oct 30, 2024
@thushan thushan added the investigating The issue is being investigated. label Oct 30, 2024
@jprrezende
Copy link
Author

Hi @thushan , thanks for feedback. This question about time I already checked and the systems were synchronized, even so, I tried again today and received the same error about time and now another error about ownership changes.

Note: In both systems (proxmox host and VM) I am using root user. The VM is a customized CentOS 7.8.

image

extracting archive '/tmp/proxmox-vm-to-ct/192.168.240.107.tar.gz'
tar: ./etc/resolv.conf: time stamp 2024-10-31 17:13:00 is 9731.066821835 s in the future
tar: ./var/tmp/systemd-private-e447cfe14b11435e8f6ee96cb3424aac-ntpd.service-HLbM5S/tmp: time stamp 2024-10-31 17:12:59 is 9728.929904088 s in the future
tar: ./var/tmp/systemd-private-e447cfe14b11435e8f6ee96cb3424aac-ntpd.service-HLbM5S: time stamp 2024-10-31 17:12:59 is 9728.929845948 s in the future
tar: ./var/tmp/systemd-private-e447cfe14b11435e8f6ee96cb3424aac-rtkit-daemon.service-Tjyeyg/tmp: time stamp 2024-10-31 17:13:00 is 9729.929779946 s in the future
tar: ./var/tmp/systemd-private-e447cfe14b11435e8f6ee96cb3424aac-rtkit-daemon.service-Tjyeyg: time stamp 2024-10-31 17:13:00 is 9729.929755123 s in the future
tar: ./var/lib/rpm/__db.001: time stamp 2024-10-31 17:13:01 is 9729.039650499 s in the future
tar: ./var/lib/rpm/__db.002: time stamp 2024-10-31 17:13:01 is 9729.039206115 s in the future
tar: ./var/lib/rpm/__db.003: time stamp 2024-10-31 17:13:01 is 9729.027935402 s in the future
tar: ./var/lib/rpm: time stamp 2024-10-31 17:13:01 is 9729.027892805 s in the future
tar: ./var/lib/systemd/random-seed: time stamp 2024-10-31 17:12:54 is 9722.025050526 s in the future
tar: ./var/lib/NetworkManager/timestamps: time stamp 2024-10-31 17:13:00 is 9728.023179953 s in the future
tar: ./var/lib/NetworkManager/dhclient-96a5146b-0391-4753-b33f-ae1f3315b971-eth4.lease: time stamp 2024-10-31 17:13:00 is 9728.023094019 s in the future
tar: ./var/lib/NetworkManager/dhclient-eth4.conf: time stamp 2024-10-31 17:13:00 is 9728.023059001 s in the future
tar: ./var/lib/gssproxy: time stamp 2024-10-31 17:12:59 is 9727.022287976 s in the future
tar: ./var/lib/nfs/rpc_pipefs/gssd/clntXX/gssd: time stamp 2024-10-31 17:12:59 is 9726.972039319 s in the future
tar: ./var/lib/nfs/rpc_pipefs/gssd/clntXX/info: time stamp 2024-10-31 17:12:59 is 9726.972006454 s in the future
tar: ./var/lib/nfs/rpc_pipefs/gssd/clntXX: time stamp 2024-10-31 17:12:59 is 9726.971992041 s in the future
tar: ./var/lib/nfs/rpc_pipefs/gssd: time stamp 2024-10-31 17:12:59 is 9726.971955098 s in the future
tar: ./var/lib/nfs/rpc_pipefs/nfsd: time stamp 2024-10-31 17:12:59 is 9726.971910689 s in the future
tar: ./var/lib/nfs/rpc_pipefs/cache: time stamp 2024-10-31 17:12:59 is 9726.971864093 s in the future
tar: ./var/lib/nfs/rpc_pipefs/nfsd4_cb: time stamp 2024-10-31 17:12:59 is 9726.971820353 s in the future
tar: ./var/lib/nfs/rpc_pipefs/statd: time stamp 2024-10-31 17:12:59 is 9726.971774171 s in the future
tar: ./var/lib/nfs/rpc_pipefs/portmap: time stamp 2024-10-31 17:12:59 is 9726.97172966 s in the future
tar: ./var/lib/nfs/rpc_pipefs/nfs: time stamp 2024-10-31 17:12:59 is 9726.971679278 s in the future
tar: ./var/lib/nfs/rpc_pipefs/mount: time stamp 2024-10-31 17:12:59 is 9726.971635065 s in the future
tar: ./var/lib/nfs/rpc_pipefs/lockd: time stamp 2024-10-31 17:12:59 is 9726.971588675 s in the future
tar: ./var/lib/nfs/rpc_pipefs: time stamp 2024-10-31 17:12:59 is 9726.971564648 s in the future
tar: ./var/log/sa/sa31: time stamp 2024-10-31 17:13:00 is 9727.949473781 s in the future
tar: ./var/log/dmesg: time stamp 2024-10-31 17:13:00 is 9727.947004051 s in the future
tar: ./tmp/systemd-private-e447cfe14b11435e8f6ee96cb3424aac-ntpd.service-m6jP1d/tmp: time stamp 2024-10-31 17:12:59 is 9726.906758586 s in the future
tar: ./tmp/systemd-private-e447cfe14b11435e8f6ee96cb3424aac-ntpd.service-m6jP1d: time stamp 2024-10-31 17:12:59 is 9726.906725373 s in the future
tar: ./tmp/systemd-private-e447cfe14b11435e8f6ee96cb3424aac-rtkit-daemon.service-6P6ZOz/tmp: time stamp 2024-10-31 17:13:00 is 9727.906664645 s in the future
tar: ./tmp/systemd-private-e447cfe14b11435e8f6ee96cb3424aac-rtkit-daemon.service-6P6ZOz: time stamp 2024-10-31 17:13:00 is 9727.906638902 s in the future
tar: ./usr/local/bin/soapcpp2: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/bin/wsdl2h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/bin: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/include/stdsoap2.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/include: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/lib64/libgsoap++.a: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/lib64/libgsoap.a: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/lib64/libgsoapck++.a: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/lib64/libgsoapck.a: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/lib64/libgsoapssl++.a: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/lib64/libgsoapssl.a: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/lib64: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/WS/LEGAL.txt: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/WS/README.txt: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/WS/WS-Addressing.xsd: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/WS/WS-Addressing03.xsd: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/WS/WS-Addressing04.xsd: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/WS/WS-Addressing05.xsd: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/WS/WS-Discovery.wsdl: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/WS/WS-Enumeration.wsdl: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/WS/WS-Policy.xsd: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/WS/WS-Policy12.xsd: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/WS/WS-ReliableMessaging.wsdl: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/WS/WS-ReliableMessaging.xsd: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/WS/WS-Routing.xsd: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/WS/WS-SecureConversation.xsd: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/WS/WS-SecurityPolicy.xsd: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/WS/WS-Trust.wsdl: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/WS/WS-Trust.xsd: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/WS/WS-typemap.dat: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/WS/discovery.xsd: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/WS/ds.xsd: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/WS/enumeration.xsd: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/WS/oasis-sstc-saml-schema-assertion-1.1.xsd: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/WS/reference-1.1.xsd: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/WS/saml-schema-assertion-2.0.xsd: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/WS/typemap.dat: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/WS/ws-bpel_abstract_common_base.xsd: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/WS/ws-bpel_executable.xsd: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/WS/ws-bpel_plnktype.xsd: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/WS/ws-bpel_serviceref.xsd: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/WS/ws-bpel_varprop.xsd: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/WS/ws-reliability-1.1.xsd: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/WS/wsse.xsd: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/WS/wsu.xsd: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/WS/xenc.xsd: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/WS: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/custom/README.txt: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/custom/chrono_duration.cpp: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/custom/chrono_duration.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/custom/chrono_time_point.cpp: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/custom/chrono_time_point.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/custom/duration.c: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/custom/duration.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/custom/float128.c: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/custom/float128.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/custom/int128.c: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/custom/int128.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/custom/long_double.c: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/custom/long_double.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/custom/long_time.c: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/custom/long_time.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/custom/struct_timeval.c: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/custom/struct_timeval.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/custom/struct_tm.c: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/custom/struct_tm.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/custom/struct_tm_date.c: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/custom/struct_tm_date.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/custom: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/extras/README.txt: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/extras/ckdb.c: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/extras/ckdb.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/extras/ckdbtest.c: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/extras/ckdbtest.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/extras/fault.cpp: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/extras/logging.cpp: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/extras/soapdefs.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/extras: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/README.txt: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/WS-Header.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/WS-example.c: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/WS-example.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/c14n.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/dom.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/ds.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/ds2.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/plnk.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/ref.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/saml1.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/saml2.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/ser.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/soap12.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/stdstring.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/stl.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/stldeque.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/stllist.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/stlset.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/stlvector.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/vprop.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/wsa.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/wsa3.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/wsa4.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/wsa5.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/wsc.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/wsc2.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/wsdd.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/wsdd10.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/wsdd5.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/wsdx.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/wsp.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/wsrm.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/wsrm4.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/wsrm5.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/wsrp.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/wsrx.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/wsrx5.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/wsse.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/wsse11.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/wsse2.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/wst.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/wstx.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/wsu.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/xenc.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/xenc2.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/xlink.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/xmime.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/xmime4.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/xmime5.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/xml.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/xmlmime.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/xmlmime5.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/xop.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import/xsd.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/import: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/README.txt: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/cacerts.c: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/cacerts.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/calcrest.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/httpda.c: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/httpda.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/httpdatest.c: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/httpdatest.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/httpform.c: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/httpform.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/httpget.c: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/httpget.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/httpgettest.c: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/httpgettest.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/httpmd5.c: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/httpmd5.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/httpmd5test.c: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/httpmd5test.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/httppost.c: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/httppost.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/httpposttest.c: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/httpposttest.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/logging.c: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/logging.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/md5evp.c: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/md5evp.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/mecevp.c: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/mecevp.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/mq.c: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/mq.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/plugin.c: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/plugin.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/smdevp.c: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/smdevp.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/threads.c: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/threads.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/wsaapi.c: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/wsaapi.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/wsddapi.c: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/wsddapi.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/wsrmapi.c: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/wsrmapi.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/wsse2api.c: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/wsse2api.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/wsseapi-lite.c: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/wsseapi-lite.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/wsseapi.c: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/wsseapi.cpp: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin/wsseapi.h: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap/plugin: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share/gsoap: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./usr/local/share: Cannot change ownership to uid 903700503, gid 1111: Invalid argument
tar: ./etc: time stamp 2024-10-31 17:13:00 is 9571.09853042 s in the future
Total bytes read: 13911654400 (13GiB, 84MiB/s)
tar: Exiting with failure status due to previous errors
unable to create CT 102 - 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/102/rootfs --skip-old-files --anchored --exclude './dev/*'' failed: exit code 2
Cleaning up...
[ OKAY ] Leaving  /tmp/proxmox-vm-to-ct/192.168.240.107.tar.gz (4.7G)
Cleaning up...Done!

@thushan thushan mentioned this issue Nov 1, 2024
@thushan
Copy link
Owner

thushan commented Nov 1, 2024

That is indeed very strange.

I've made some modifications and improvements in the latest v1.1.1 release, if you grab the latest version and let me know if it works now?

For the second issue, I think tar needs to have --no-same-owner appended to get rid of the ownership issues but I have not tested this.

@thushan thushan added the possible-fix-needs-testing Possible fix available, needs testing and validation. label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigating The issue is being investigated. possible-fix-needs-testing Possible fix available, needs testing and validation.
Projects
None yet
Development

No branches or pull requests

2 participants