Unable to Upgrade antman

3 replies
[email protected]
2 posts

When I submit the command upgrade-antman

* Installing files failed, aborting. [ !! ]
Error while upgrading antman
* WARNING: antman has already been started

* Uncompressing files... ...
* Checking if we're running as root ... [ ok ]
* Checking installed edgeLinux version ...
* Error: This script can only run on edgeLinux 0.5.0, 0.11.x, 0.12.x or 0.13.x, 2.x. Installed edgeLinux version is 0.4.0b. Aborting. [ !! ]
* Installing files failed, aborting. [ !! ]
Error while upgrading antman
* WARNING: antman has already been started

daniel.luckStaff
551 posts

Hi gursikh133gmail-com:

We have changed the way antMan does upgrades in the background some time ago.

Please let us know if you are still having issues.

ljg-vcn
1 post

I've the same issue, could you just post the resolution here in the forums?

daniel.luckStaff
551 posts

Hi Ilg-vcn:

There's a known issue with new edgeLinux installs and upgrade-antman.  Here's the resolution below:

This seems to be an issue for fresh installs of edgeLinux and the developers are working on it.
Here is the work around...
After the final reboot after installing edgeLinux, install antMan 3.3.1 with

upgrade-antMan 3.3.1

When 3.3.1 is installed, run the following command to get the IP address

ip addr show br0

Open antMan with the IP address in your browser. antMan listens on port 3000.

http://x.x.x.x:3000

Run through the onboarding at first login. This will install the serial-number file and license file.
Check in antMan that the serial number is seen in antMan > Settings
Then run upgrade antMan again on the command line without a version number to install the latest 3.4.0

upgrade-antman

Now it should complete since the serial number and license files exist.

Please let us know if this helps.

Log in to reply. New here? It takes a minute.