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?