Error upgrading from 2.6.43 to latest

Hi All,

After upgrading from 2.6.43 to latest according to the upgrade instructions bellow, the service fails to start and if I try to start from the command line i get the following:

/usr/bin/mono /usr/share/manager-server/ManagerServer.exe -port 8080

Unhandled Exception:
System.TypeLoadException: Could not resolve type with token 01000023 from typeref (expected class ‘HttpFramework.HttpServer’ in assembly ‘HttpFramework, Version=20.6.43.0, Culture=neutral, PublicKeyToken=null’)
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not resolve type with token 01000023 from typeref (expected class ‘HttpFramework.HttpServer’ in assembly 'HttpFramework, Version=20.6.43.0, Culture=neutral, PublicKeyTo)

---- UPGRADE INSTRUCTIONS @ Ubuntu | Manager -------

Upgrading Manager Server

Download the latest version of Manager Server:
wget https://github.com/Manager-io/Manager.zip/releases/latest/download/ManagerServer-Linux-x64.tar.gz -O /usr/share/manager-server/ManagerServer-Linux-x64.tar.gz

Then untar downloaded ManagerServer-Linux-x64.tar.gz using following command
tar xvzf /usr/share/manager-server/ManagerServer-Linux-x64.tar.gz -C /usr/share/manager-server

Then set permissions to be able to execute the binary.
chmod a+x /usr/share/manager-server/ManagerServer

Finally restart the service.
systemctl restart manager-server
Done. You can log into your server instance to verify the latest version is running.

There never was a Manager version 2.6.43. And “latest” does not help with troubleshooting. What actual version number are you trying to install?

Try to delete /usr/share/manager-server folder first and then untar the latest version.

Hi,

After renaming the file i get the error:

“Cannot open assembly ‘/usr/share/manager-server/ManagerServer.exe’: No such file or directory”

if I rename the file to ManagerServer i get the error:

Cannot open assembly ‘/usr/share/manager-server/ManagerServer.exe’: No such file or directory

Regards,
Mauro

why you rename while you are told to delete?

To use the server version you need someone in your organisation with a good understanding of

  • server management
  • backup strategy
  • update systems
  • access control
  • public facing network hardening

The questions you as suggest in the longer term it will be more economical for you to buy access to the NG Software cloud product.

Are you trying to run Manager using Mono. Manager no longer uses Mono but .net framework included within the manager install.

Remove the “/usr/bin/mono” aspect from the equation.

2 Likes

Hi All,

Thanks everyone for the effort and I will not explain de diferences between delete and rename and why I did that. And I will also not explain why I still evaluating the server version and/or if I am or have someone qualified for that.

Special thanks to @dalacor, this was the issue. I removed mono and everything works like a charm. I believe previous version was using mono.


Regards,
Mauro