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.

Upgrading edgeLinux 0.5.0 to latest

Hello,

I'm currently trying to follow this guide to migrate my Antsle One from an outdated version of edgeLinux to the latest (2.0.0?)
https://docs.antsle.com/system/edgelinux-os-architecture#how-to-migrate-from-edgelinux-1-based-on-gentoo-to-edgelinux-2.0

Current specs:

  • Antsle One (activated with a homelab license)
  • edgeLinux version: 0.5.0
  • antMan version: 3.4.3

There's a step to ensure you have the latest version of antMan by running `upgrade-antman`. When I do this I get the following output:

```console
root@XXX:~ # upgrade-antman
--2022-11-05 22:41:58--  http://central.antsle.com/antman-releases/3.4.3/amanupd-3.4.3
Resolving central.antsle.com... 147.75.49.34
Connecting to central.antsle.com|147.75.49.34|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3098 (3.0K) [application/octet-stream]
Saving to: ‘amanupd-3.4.3’
amanupd-3.4.3                 100%[=================================================>]   3.03K  --.-KB/s    in 0s
2022-11-05 22:41:58 (6.91 MB/s) - ‘amanupd-3.4.3’ saved [3098/3098]
*   Trying 204.11.33.167...
* TCP_NODELAY set
* Connected to anthill.antsle.com (204.11.33.167) port 443 (#0)
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: /etc/ssl/certs
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [226 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [100 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [4027 bytes data]
* TLSv1.2 (OUT), TLS alert, Server hello (2):
} [2 bytes data]
* SSL certificate problem: certificate has expired
* Closing connection 0
} [5 bytes data]
* TLSv1.2 (OUT), TLS alert, Client hello (1):
} [2 bytes data]
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib64/python2.7/json/__init__.py", line 291, in load
    **kw)
  File "/usr/lib64/python2.7/json/__init__.py", line 339, in loads
    return _default_decoder.decode(s)
  File "/usr/lib64/python2.7/json/decoder.py", line 364, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib64/python2.7/json/decoder.py", line 382, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
 * Failed to install antman license:                                                                              [ !! ]
 * You are not subscribed to upgrade. Please go to https://antsle.com/pricing to purchase a plan.                 [ !! ]
Error while upgrading antman
 * WARNING: antman has already been started
```
Even though I have the latest version of antMan I would not expect these errors:
  • * SSL certificate problem: certificate has expired
  • ValueError: No JSON object could be decoded
  • Failed to install antman license

I see in the next few steps that I have to do a fresh installation of edgeLinux 2.0
https://docs.antsle.com/get-started/getting-started-with-edgelinux-software-only-version

How can I ensure that the same serial number and license will be migrated and that I don't brick my Antsle One hardware?

Hi @elte156

Here are some instructions on installing the latest antMan on older version of antsle OS (0.5.0 or higher):

You will need to download the antMan bundle from your anthill.antsle.com account in the Downloads page - antMan 3.4.3 for x86_64
Copy the file to your antsle using scp or an sftp client like Filezilla (https://docs.antsle.com/system/secure-ftp-sftp-access)

Or download it directly to your antsle with 'wget'. Right click the Download link and copy the link address. Then SSH to the antsles command line and run the 'wget' command and paste the link e.g:
wget https://s3.wasabisys.com/wasabi--cloud-6a2aa848-8fea-4d97-b476-2e5ef9db7c18/antman-updates/antman-3.4.3-x86_64.tar.gz

Your link may be different than this example so be sure and copy the link from antHill.

On the antsle's command line, extract the file
tar -xzf antman-X.X.X-x86_64.tar.gz

CD into the new directory
cd antman-x.x.x-x86_64

and run the installer
./install

Thanks,
antsle Support