# docker cp -L monitoring:/omd/versions/default - | docker cp - monitoring_update:/omd/versions/
Error response from daemon: Error processing tar file(exit status 1): invalid symlink "/opt/omd/versions/1.6.0p6.cre/bin/htpasswd" -> "/usr/bin/htpasswd"
The /usr/bin/htpasswd exists in the new container:
root@03b9a5d0a80b:/# ls -l /omd/versions/*/bin/htpasswd /usr/bin/htpasswd
lrwxrwxrwx. 1 root root 17 Dec 11 03:07 /omd/versions/1.6.0p7.cre/bin/htpasswd -> /usr/bin/htpasswd
lrwxrwxrwx. 1 root root 17 Dec 11 03:07 /omd/versions/default/bin/htpasswd -> /usr/bin/htpasswd
-rwxr-xr-x. 1 root root 18424 Oct 13 11:43 /usr/bin/htpasswd
Any suggestion on how to get around this?
···
----------------
Mike Hanby
mhanby @ uab.edu
Systems Analyst II - Enterprise
IT Infrastructure Core / Research Computing Services
The University of Alabama at Birmingham
Hallo Mike,
I did some updates in 1.6.0 and I only import the new image and start
the Container with the new image. The whole update starts
automatically during the start. There is no need to copy a file.
1.6.0p7 works on my side.
Kind Regards
Thorsten
···
Am Do., 19. Dez. 2019 um 17:20 Uhr schrieb Hanby, Mike <mhanby@uab.edu>:
When upgrading from 1.6.0p6 to p7 (Checkmk server in a Docker container) I get the error when attempting to copy /omd/versions/default into the new container:
# docker cp -L monitoring:/omd/versions/default - | docker cp - monitoring_update:/omd/versions/
Error response from daemon: Error processing tar file(exit status 1): invalid symlink "/opt/omd/versions/1.6.0p6.cre/bin/htpasswd" -> "/usr/bin/htpasswd"
The /usr/bin/htpasswd exists in the new container:
root@03b9a5d0a80b:/# ls -l /omd/versions/*/bin/htpasswd /usr/bin/htpasswd
lrwxrwxrwx. 1 root root 17 Dec 11 03:07 /omd/versions/1.6.0p7.cre/bin/htpasswd -> /usr/bin/htpasswd
lrwxrwxrwx. 1 root root 17 Dec 11 03:07 /omd/versions/default/bin/htpasswd -> /usr/bin/htpasswd
-rwxr-xr-x. 1 root root 18424 Oct 13 11:43 /usr/bin/htpasswd
Any suggestion on how to get around this?
----------------
Mike Hanby
mhanby @ uab.edu
Systems Analyst II - Enterprise
IT Infrastructure Core / Research Computing Services
The University of Alabama at Birmingham
----------------
Mike Hanby
mhanby @ uab.edu
Systems Analyst II - Enterprise
IT Research Computing Services
The University of Alabama at Birmingham
On Dec 19, 2019, at 12:51, Thorsten Bruhns <thorsten.bruhns@googlemail.com> wrote:
Hallo Mike,
I did some updates in 1.6.0 and I only import the new image and start
the Container with the new image. The whole update starts
automatically during the start. There is no need to copy a file.
1.6.0p7 works on my side.
Kind Regards
Thorsten
Am Do., 19. Dez. 2019 um 17:20 Uhr schrieb Hanby, Mike <mhanby@uab.edu>:
When upgrading from 1.6.0p6 to p7 (Checkmk server in a Docker container) I get the error when attempting to copy /omd/versions/default into the new container:
# docker cp -L monitoring:/omd/versions/default - | docker cp - monitoring_update:/omd/versions/
Error response from daemon: Error processing tar file(exit status 1): invalid symlink "/opt/omd/versions/1.6.0p6.cre/bin/htpasswd" -> "/usr/bin/htpasswd"
The /usr/bin/htpasswd exists in the new container:
root@03b9a5d0a80b:/# ls -l /omd/versions/*/bin/htpasswd /usr/bin/htpasswd
lrwxrwxrwx. 1 root root 17 Dec 11 03:07 /omd/versions/1.6.0p7.cre/bin/htpasswd -> /usr/bin/htpasswd
lrwxrwxrwx. 1 root root 17 Dec 11 03:07 /omd/versions/default/bin/htpasswd -> /usr/bin/htpasswd
-rwxr-xr-x. 1 root root 18424 Oct 13 11:43 /usr/bin/htpasswd
Any suggestion on how to get around this?
----------------
Mike Hanby
mhanby @ uab.edu
Systems Analyst II - Enterprise
IT Infrastructure Core / Research Computing Services
The University of Alabama at Birmingham