Antsle Forum

Welcome to our Antsle community! This forum is to connect all Antsle users to post experiences, make user-generated content available for the entire community and more. 

Please note: This forum is about discussing one specific issue at a time. No generalizations. No judgments. Please check the Forum Rules before posting. If you have specific questions about your Antsle and expect a response from our team directly, please continue to use the appropriate channels (email: [email protected]) so every inquiry is tracked. 

Please or Register to create posts and topics.

edgelinux upgrade: antman won't start

I just did an fresh ISO install of EdgeLinux 2 from USB on my one. Followed the videos. Looking good, but running 'upgrade-antman' after install gets me what seems to be a license related error (see further below)? I've done upgrade-anthill as well, and that seemed to complete correctly. Have also tried rebooting. Nothing is listening on 3000 in 'ss' output, ergo can't visit it in a browser from my PC.
I did try putting my serial from anthill into that text file it's throwing a 'cat' error about, but that didn't do anything, so I reverted that change.
I opened a ticket for this as well but admittedly I am confused about licensing entitlements, so casting my net to the community forum as well.
[email protected]:~ # upgrade-antman
--2021-05-02 19:53:40--  http://central.antsle.com/antman-releases/3.4.0/amanupd-3.4.0
Resolving central.antsle.com (central.antsle.com)... 147.75.49.34
Connecting to central.antsle.com (central.antsle.com)|147.75.49.34|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2927 (2.9K) [application/octet-stream]
Saving to: ‘amanupd-3.4.0’

100%[===========================================================================================================================================================================================>] 2,927       --.-K/s   in 0s

2021-05-02 19:53:40 (168 MB/s) - ‘amanupd-3.4.0’ saved [2927/2927]

cat: /etc/antsleOS/personalization/serial-number: No such file or directory
* About to connect() to anthill.antsle.com port 443 (#0)
*   Trying 139.178.88.18...
* Connected to anthill.antsle.com (139.178.88.18) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
*   CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* SSL connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
* Server certificate:
*       subject: CN=anthill.antsle.com
*       start date: Apr 14 15:29:04 2021 GMT
*       expire date: Jul 13 15:29:04 2021 GMT
*       common name: anthill.antsle.com
*       issuer: CN=R3,O=Let's Encrypt,C=US
> POST /api/anthilld/login HTTP/1.1
> User-Agent: curl/7.29.0
> Host: anthill.antsle.com
> Accept: */*
> Content-Type: application/json
> Content-Length: 30
>
} [data not shown]
* upload completely sent off: 30 out of 30 bytes
< HTTP/1.1 401 Unauthorized
< Server: nginx/1.10.3
< Date: Sun, 02 May 2021 23:53:44 GMT
< Content-Type: application/json; charset=utf-8
< Content-Length: 17
< Connection: keep-alive
< X-Xss-Protection: 1; mode=block
< X-Frame-Options: ALLOW-FROM https://antsle.com
< X-Content-Type-Options: nosniff
<
{ [data not shown]
* Connection #0 to host anthill.antsle.com left intact
* Failed to install antman license: {"success":false}                                                                                                                                                                        [ !! ]
Error while upgrading antman
Redirecting to /bin/systemctl start antman.service
[email protected]:~ # netstat -a|grep 3000|grep -i listen
[email protected]:~ #

Hi Matt:

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.