Rolling update poblem

Hi,

I installed Vyos 1.3-rolling-202005100117 in May for testing.
Some other issues delayed further testing but I’m now going ahead.

I wanted to update the system with the latest rolling release.
I get the following:
~$ add system image https://downloads.vyos.io/rolling/current/amd64/vyos-rolling-latest.iso
Trying to fetch ISO file from https://downloads.vyos.io/rolling/current/amd64/vyos-rolling-latest.iso
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 317M 100 317M 0 0 34.4M 0 0:00:09 0:00:09 --:–:-- 38.0M
ISO download succeeded.
Checking for digital signature file…
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
curl: (22) The requested URL returned error: 404 Not Found
Unable to fetch digital signature file.
Do you want to continue without signature check? (yes/no) [yes]
Checking MD5 checksums of files on the ISO image…OK.
Done!
What would you like to name this image? [1.3-rolling-202007300117]:
OK. This image will be named: 1.3-rolling-202007300117
Installing “1.3-rolling-202007300117” image.
Copying new release files…
du: cannot access ‘/config’: No such file or directory
/opt/vyatta/sbin/install-image-existing: line 207: [: 206140596: unary operator expected
There is not enough space to save the current configuration directory.
Would you like to continue without saving it? (Yes/No) [No]:

I’ve checked the install-image script and it looks like it has an overflow with the free disk-space calculation which leads to the message “not enough space”. Only way to install is by choosing Yes.

Can I copy the existing config manually into the new release after it has been installed?

Thanks,

Ton

Hi @netbase, yes you can. Save the output of the commands show configuration commands and paste to a new installed image.

Note: Provide please output show version, it looks like you did not install image

Thanks @Dmitry.

I saved the config like you wrote just in case and used the copy command, which I found later hidden in the docs, to copy the config from the May release to the July release.

version output is now:

$ show version

Version: VyOS 1.3-rolling-202007310608
Release Train: equuleus

Built by: autobuild@vyos.net
Built on: Fri 31 Jul 2020 06:08 UTC
Build UUID: ee576bee-af0a-48bf-b55b-44fc2e1836d2
Build Commit ID: 09eedb0dccf687

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

Hardware vendor: Supermicro
Hardware model: Super Server
Hardware S/N: Unknown
Hardware UUID: Unknown

Copyright: VyOS maintainers and contributors

I installed the image as written in the documentation but it is installed on a SSD.
If I check the error and the scriptline it looks like it is an integer overflow because of the available free diskspace.

df -k /
Filesystem 1K-blocks Used Available Use% Mounted on
overlay 218157136 561028 206444596 1% /

This command is used to determine the free space in kB and the outcome is too big a number for the script to handle on line 207 of /opt/vyatta/sbin/install-image-existing.