Unable to update system image

I’m getting an an error while trying to update to the latest rolling 1.5 image:

chris@door:~$ add system image https://github.com/vyos/vyos-rolling-nightly-builds/releases/download/1.5-rolling-202401030023/vyos-1.5-rolling-202401030023-amd64.iso
Redirecting to https://objects.githubusercontent.com/github-production-release-asset-2e65be/674742659/c95ba681-6f79-4d31-aab3-d35b3899ac1a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240107%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240107T133326Z&X-Amz-Expires=300&X-Amz-Signature=b9ac42fc077590185568b74c13d2984aca8e3061169d50e887503c68d50aa030&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=674742659&response-content-disposition=attachment%3B%20filename%3Dvyos-1.5-rolling-202401030023-amd64.iso&response-content-type=application%2Foctet-stream
The file is 437.000 MiB.
[###############################################################################################################################################################################################################] 100%
Validating signature
Signature is not valid. Do you want to continue with installation? [y/N] y
Validating image checksums
What would you like to name this image? (Default: 1.5-rolling-202401030023) 
Would you like to set the new image as the default one for boot? [Y/n] 
An active configuration was found. Would you like to copy it to the new image? [Y/n] 
Copying configuration directory
Cleaning up
Unmounting target filesystems
Removing temporary files
Whooops: [('/opt/vyatta/etc/config/containers/storage/vfs-containers/75936ae5df62244981e72ec57203238d4ffe9f6a87c8711eda07645fddc7019c/userdata/ctl', '/usr/lib/live/mount/persistence/boot/1.5-rolling-202401030023/rw/opt/vyatta/etc/config/containers/storage/vfs-containers/75936ae5df62244981e72ec57203238d4ffe9f6a87c8711eda07645fddc7019c/userdata/ctl', '`/opt/vyatta/etc/config/containers/storage/vfs-containers/75936ae5df62244981e72ec57203238d4ffe9f6a87c8711eda07645fddc7019c/userdata/ctl` is a named pipe'), ('/opt/vyatta/etc/config/containers/storage/vfs-containers/75936ae5df62244981e72ec57203238d4ffe9f6a87c8711eda07645fddc7019c/userdata/winsz', '/usr/lib/live/mount/persistence/boot/1.5-rolling-202401030023/rw/opt/vyatta/etc/config/containers/storage/vfs-containers/75936ae5df62244981e72ec57203238d4ffe9f6a87c8711eda07645fddc7019c/userdata/winsz', '`/opt/vyatta/etc/config/containers/storage/vfs-containers/75936ae5df62244981e72ec57203238d4ffe9f6a87c8711eda07645fddc7019c/userdata/winsz` is a named pipe'), ('/opt/vyatta/etc/config/containers/storage/vfs-containers/75936ae5df62244981e72ec57203238d4ffe9f6a87c8711eda07645fddc7019c/userdata/attach', '/usr/lib/live/mount/persistence/boot/1.5-rolling-202401030023/rw/opt/vyatta/etc/config/containers/storage/vfs-containers/75936ae5df62244981e72ec57203238d4ffe9f6a87c8711eda07645fddc7019c/userdata/attach', "[Errno 6] No such device or address: '/opt/vyatta/etc/config/containers/storage/vfs-containers/75936ae5df62244981e72ec57203238d4ffe9f6a87c8711eda07645fddc7019c/userdata/attach'")]

If I repeat the command, I get a different error (assuming the previous failure is leaving behind some cruft):

chris@door:~$ add system image https://github.com/vyos/vyos-rolling-nightly-builds/releases/download/1.5-rolling-202401030023/vyos-1.5-rolling-202401030023-amd64.iso
Redirecting to https://objects.githubusercontent.com/github-production-release-asset-2e65be/674742659/c95ba681-6f79-4d31-aab3-d35b3899ac1a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240107%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240107T134554Z&X-Amz-Expires=300&X-Amz-Signature=983466eca9f9706e3e87c814bc3c36e123b3e34c47c6296e849806cf1235024d&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=674742659&response-content-disposition=attachment%3B%20filename%3Dvyos-1.5-rolling-202401030023-amd64.iso&response-content-type=application%2Foctet-stream
The file is 437.000 MiB.
[###############################################################################################################################################################################################################] 100%
Validating signature
Signature is not valid. Do you want to continue with installation? [y/N] y
Validating image checksums
What would you like to name this image? (Default: 1.5-rolling-202401030023) 
Would you like to set the new image as the default one for boot? [Y/n] 
An active configuration was found. Would you like to copy it to the new image? [Y/n] 
Copying configuration directory
Cleaning up
Unmounting target filesystems
Removing temporary files
Whooops: [Errno 17] File exists: '/usr/lib/live/mount/persistence/boot/1.5-rolling-202401030023/rw/opt/vyatta/etc/config'

Storage seems to be fine:

chris@door:~$ show system storage 
Filesystem      Size  Used Avail Use% Mounted on
udev            3.9G     0  3.9G   0% /dev
tmpfs           788M  2.5M  785M   1% /run
/dev/sda1        55G   15G   38G  28% /usr/lib/live/mount/persistence
/dev/loop0      376M  376M     0 100% /tmp/tmp0w7hxvqk
tmpfs           3.9G     0  3.9G   0% /usr/lib/live/mount/overlay
overlay          55G   15G   38G  28% /
tmpfs           3.9G   84K  3.9G   1% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           3.9G  4.0K  3.9G   1% /tmp
tmpfs           3.9G  248K  3.9G   1% /var/tmp
none            3.9G     0  3.9G   0% /etc/cni/net.d
none            3.9G  4.9M  3.9G   1% /opt/vyatta/config
tmpfs           788M     0  788M   0% /run/user/1002

Current system images:

chris@door:~$ show system image
Name                      Default boot    Running
------------------------  --------------  ---------
fallback
1.5-rolling-202312171632  Yes             Yes
1.4-rolling-202309030023
1.4-rolling-202308111749
1.4-rolling-202307260317
1.4-rolling-202307070317
1.4-rolling-202306020317

Current running version details:

chris@door:~$ show version
Version:          VyOS 1.5-rolling-202312171632
Release train:    current

Built by:         autobuild@vyos.net
Built on:         Sun 17 Dec 2023 17:53 UTC
Build UUID:       06568aff-c163-45c1-aebe-ff378a0a3ed1
Build commit ID:  25e0cdefbe0f7f

Architecture:     x86_64
Boot via:         installed image
System type:      bare metal

Hardware vendor:  ZOTAC
Hardware model:   XXXXXX
Hardware S/N:     GXXXX301XXXXX
Hardware UUID:    03000200-0400-0500-0006-000700080009

Copyright:        VyOS maintainers and contributors

Maybe something related to ⚓ T4516 Rewrite system image manipulation tools in Python?

Might also be worth noting this is a long running installation – probably close to 2 years at this point. And started life as a 1.4 rolling release.

Listing the files in that directory:

chris@door:~$ ls -l /opt/vyatta/etc/config/containers/storage/vfs-containers/75936ae5df62244981e72ec57203238d4ffe9f6a87c8711eda07645fddc7019c/userdata/
total 28
drwxrwxr-x 2 root vyattacfg  4096 May  3  2022 artifacts
srwxrwxr-x 1 root vyattacfg     0 May  3  2022 attach
-rwxrwxr-x 1 root vyattacfg 10292 May  3  2022 config.json
prwxrwxr-x 1 root vyattacfg     0 May  3  2022 ctl
-rwxrwxr-x 1 root vyattacfg  7266 May  3  2022 ctr.log
drwxrwxr-x 2 root vyattacfg  4096 May  3  2022 shm
prwxrwxr-x 1 root vyattacfg     0 May  3  2022 winsz

I would make a backup of config and make a fresh install with latest rolling release