Not able to register client to MSP Portal | Error - Token is malformed, please generate a new installation

SUMMARY

When you run the curl command to download an run the installer, you get an error that the Token is malformed.

ISSUE

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.

[[email protected] ~]# 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

  1. Get the code from the MSP Portal and paste it into notepad or similar text editor.
  2. Using your SSH Terminal Program (e.g. PuTTY), log into the Unitrends Appliance and then paste the curl string to the command line.
  3. 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.
  4. This is what a successful run will look like:
[[email protected]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.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Contact us