Server Edition Upgrade problems

Hi Team,

Running Debian 10 here with Manager server, used the latest version available online. When restarting the service getting the following:

Mar  3 16:14:34 erp01-bne-met1 mono[10618]: Unhandled Exception:
Mar  3 16:14:34 erp01-bne-met1 mono[10618]: System.TypeLoadException: Could not resolve type with token 0100000f from typeref (expected class 'HttpFramework.HttpServer' in assembly 'HttpFramework, Version=20.7.55.0, Culture=neutral, PublicKeyToken=null')
Mar  3 16:14:34 erp01-bne-met1 mono[10618]: [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not resolve type with token 0100000f from typeref (expected class 'HttpFramework.HttpServer' in
assembly 'HttpFramework, Version=20.7.55.0, Culture=neutral, PublicKeyToken=null')
Mar  3 16:14:34 erp01-bne-met1 systemd[1]: manager-server.service: Main process exited, code=exited, status=1/FAILURE
Mar  3 16:14:34 erp01-bne-met1 systemd[1]: manager-server.service: Failed with result 'exit-code'.
Mar  3 16:14:34 erp01-bne-met1 systemd[1]: manager-server.service: Service RestartSec=100ms expired, scheduling restart.
Mar  3 16:14:34 erp01-bne-met1 systemd[1]: manager-server.service: Scheduled restart job, restart counter is at 1.
Mar  3 16:14:34 erp01-bne-met1 systemd[1]: Stopped manager-server.service.
Mar  3 16:14:34 erp01-bne-met1 systemd[1]: Started manager-server.service.
Mar  3 16:14:34 erp01-bne-met1 mono[10621]: Unhandled Exception:
Mar  3 16:14:34 erp01-bne-met1 mono[10621]: System.TypeLoadException: Could not resolve type with token 0100000f from typeref (expected class 'HttpFramework.HttpServer' in assembly 'HttpFramework, Version=20.7.55.0, Culture=neutral, PublicKeyToken=null')
Mar  3 16:14:34 erp01-bne-met1 mono[10621]: [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not resolve type with token 0100000f from typeref (expected class 'HttpFramework.HttpServer' in
assembly 'HttpFramework, Version=20.7.55.0, Culture=neutral, PublicKeyToken=null')
Mar  3 16:14:34 erp01-bne-met1 systemd[1]: manager-server.service: Main process exited, code=exited, status=1/FAILURE
Mar  3 16:14:34 erp01-bne-met1 systemd[1]: manager-server.service: Failed with result 'exit-code'.
Mar  3 16:14:34 erp01-bne-met1 systemd[1]: manager-server.service: Service RestartSec=100ms expired, scheduling restart.
Mar  3 16:14:34 erp01-bne-met1 systemd[1]: manager-server.service: Scheduled restart job, restart counter is at 2.
Mar  3 16:14:34 erp01-bne-met1 systemd[1]: Stopped manager-server.service.
Mar  3 16:14:34 erp01-bne-met1 systemd[1]: Started manager-server.service.
Mar  3 16:14:34 erp01-bne-met1 mono[10624]: Unhandled Exception:
Mar  3 16:14:34 erp01-bne-met1 mono[10624]: System.TypeLoadException: Could not resolve type with token 0100000f from typeref (expected class 'HttpFramework.HttpServer' in assembly 'HttpFramework, Version=20.7.55.0, Culture=neutral, PublicKeyToken=null')
Mar  3 16:14:34 erp01-bne-met1 mono[10624]: [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not resolve type with token 0100000f from typeref (expected class 'HttpFramework.HttpServer' in
assembly 'HttpFramework, Version=20.7.55.0, Culture=neutral, PublicKeyToken=null')
Mar  3 16:14:34 erp01-bne-met1 systemd[1]: manager-server.service: Main process exited, code=exited, status=1/FAILURE
Mar  3 16:14:34 erp01-bne-met1 systemd[1]: manager-server.service: Failed with result 'exit-code'.
Mar  3 16:14:35 erp01-bne-met1 systemd[1]: manager-server.service: Service RestartSec=100ms expired, scheduling restart.
Mar  3 16:14:35 erp01-bne-met1 systemd[1]: manager-server.service: Scheduled restart job, restart counter is at 3.
Mar  3 16:14:35 erp01-bne-met1 systemd[1]: Stopped manager-server.service.
Mar  3 16:14:35 erp01-bne-met1 systemd[1]: Started manager-server.service.
Mar  3 16:14:35 erp01-bne-met1 mono[10627]: Unhandled Exception:
Mar  3 16:14:35 erp01-bne-met1 mono[10627]: System.TypeLoadException: Could not resolve type with token 0100000f from typeref (expected class 'HttpFramework.HttpServer' in assembly 'HttpFramework, Version=20.7.55.0, Culture=neutral, PublicKeyToken=null')
Mar  3 16:14:35 erp01-bne-met1 mono[10627]: [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not resolve type with token 0100000f from typeref (expected class 'HttpFramework.HttpServer' in
assembly 'HttpFramework, Version=20.7.55.0, Culture=neutral, PublicKeyToken=null')
Mar  3 16:14:35 erp01-bne-met1 systemd[1]: manager-server.service: Main process exited, code=exited, status=1/FAILURE
Mar  3 16:14:35 erp01-bne-met1 systemd[1]: manager-server.service: Failed with result 'exit-code'.
Mar  3 16:14:35 erp01-bne-met1 systemd[1]: manager-server.service: Service RestartSec=100ms expired, scheduling restart.
Mar  3 16:14:35 erp01-bne-met1 systemd[1]: manager-server.service: Scheduled restart job, restart counter is at 4.
Mar  3 16:14:35 erp01-bne-met1 systemd[1]: Stopped manager-server.service.
Mar  3 16:14:35 erp01-bne-met1 systemd[1]: Started manager-server.service.
Mar  3 16:14:35 erp01-bne-met1 mono[10630]: Unhandled Exception:
Mar  3 16:14:35 erp01-bne-met1 mono[10630]: System.TypeLoadException: Could not resolve type with token 0100000f from typeref (expected class 'HttpFramework.HttpServer' in assembly 'HttpFramework, Version=20.7.55.0, Culture=neutral, PublicKeyToken=null')
Mar  3 16:14:35 erp01-bne-met1 mono[10630]: [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not resolve type with token 0100000f from typeref (expected class 'HttpFramework.HttpServer' in
assembly 'HttpFramework, Version=20.7.55.0, Culture=neutral, PublicKeyToken=null')
Mar  3 16:14:35 erp01-bne-met1 systemd[1]: manager-server.service: Main process exited, code=exited, status=1/FAILURE
Mar  3 16:14:35 erp01-bne-met1 systemd[1]: manager-server.service: Failed with result 'exit-code'.
Mar  3 16:14:35 erp01-bne-met1 systemd[1]: manager-server.service: Service RestartSec=100ms expired, scheduling restart.
Mar  3 16:14:35 erp01-bne-met1 systemd[1]: manager-server.service: Scheduled restart job, restart counter is at 5.
Mar  3 16:14:35 erp01-bne-met1 systemd[1]: Stopped manager-server.service.
Mar  3 16:14:35 erp01-bne-met1 systemd[1]: manager-server.service: Start request repeated too quickly.
Mar  3 16:14:35 erp01-bne-met1 systemd[1]: manager-server.service: Failed with result 'exit-code'.
Mar  3 16:14:35 erp01-bne-met1 systemd[1]: Failed to start manager-server.service.

I have also tried upgrading mono on the same unit with the same result.

Any help would be appreciated.

Kind Regards

Brendon

Did you install/upgrade Manager before?

Many times before, only seems to be a problem with later releases, successfully upgraded previous version upto 20.7.55, anything post this version seems to fail.

I am not an expert at all with Manager and only purchased server edition in July 2020. Somehow this may be related to only being able to update server edition in the first year of purchase. The years thereafter one is supposed to pay for a maintenance contract that will allow updates. @lubos or @Tut maybe able to clarify further / help.

The error message doesn’t indicate you are on the latest version. It looks like ManagerServer binary could be the latest version but HttpFramework.dll is still 20.7.55.

Just delete the whole installation folder and install again.

Also, Manager no longer needs Mono as we are now distributing native Linux binary. Have a look at the guide for server edition: Ubuntu | Manager

1 Like

Thanks Lubos,

I’ll give that a go when I get a chance to upgrade it again. Let you know. Might back up the business files and reinstall the whole OS. give it a full refresh