SUMMARY
When you run the curl command to download and run the installer, you get an error that the Token is malformed.
ISSUE
NOTE: Do not use this method if the appliance is already connected to UniView.
When you run the curl command to download an run the installer, you get an error that the Installation failed because the Token is malformed.
[root@Unitrends8024 ~]# curl -O https://download.backup.net/2.0.48/appliance-agent.tar.gz;tar zxvf appliance-agent.tar.gz;sudo /bin/sh setup.sh abcdefgh-1234-5678-zyxq-ijklmnopqrs
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 12345 100 12345 0 0 15352 0 --:--:-- --:--:-- --:--:-- 15346
package.tar
setup.sh
root: Installer - Executing setup script
root: Installer - New installation, registering
Installation failed
root: Installer - Getting asset tag
root: Installer - Getting reggen file
root: Error - Token is malformed, please generate a new installation
RESOLUTION
- Get the code from the Unitrends Backup Portal and paste it into notepad or similar text editor.
- Using your SSH Terminal Program (e.g. PuTTY), log into the Unitrends Appliance and then paste the curl string to the command line.
- If you get the error shown in the Issue above, use the SSH terminal program to remove the minus (-) sign from in front of the the O and then added it back and press enter.
- This is what a successful run will look like:
[root@Unitrends8024 ~]# curl -O https://download.backup.net/2.0.48/appliance-agent.tar.gz;tar zxvf appliance-agent.tar.gz;sudo /bin/sh setup.sh abcdefgh-1234-5678-zyxq-ijklmnopqrs
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 11679 100 11679 0 0 16963 0 --:--:-- --:--:-- --:--:-- 16987
package.tar
setup.sh
root: Installer - Executing setup script
root: Installer - New installation, registering
Install completed
CAUSE
The copy-n-paste into the SSH terminal may not translate with accuracy. In the example above the -O (specifically, the minus sign) became a different character, which caused the process to fail.