Page 1 of 1

Upgrading to 3282 on Raspberry PI

Posted: Tue 26 Mar 2024 10:34 pm
by amccay
Hi, I decided to update MX from a version running beautifully since 2018. Has anyone seen this error and know what to do about it? Thanks.
pi@raspberrypi:~/CumulusMX_3282/CumulusMX $ sudo mono CumulusMX.exe

Unhandled Exception:
System.TypeLoadException: Could not load type of field 'CumulusMX.Cumulus:httpServer' (182) due to: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. assembly:netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 type:<unknown type> member:<none>
at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <a07d6bf484a54da2861691df910339b1>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <a07d6bf484a54da2861691df910339b1>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <a07d6bf484a54da2861691df910339b1>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <a07d6bf484a54da2861691df910339b1>:0
at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <a07d6bf484a54da2861691df910339b1>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load type of field 'CumulusMX.Cumulus:httpServer' (182) due to: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. assembly:netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 type:<unknown type> member:<none>
at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <a07d6bf484a54da2861691df910339b1>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <a07d6bf484a54da2861691df910339b1>:0

Rasp PI/Debian
Vantage Pro2

Re: Upgrading to 3282 on Raspberry PI

Posted: Tue 26 Mar 2024 10:48 pm
by freddie
It looks suspiciously like you haven't copied the entire contents of the install zip. The http component has changed since 2018.

Re: Upgrading to 3282 on Raspberry PI

Posted: Fri 29 Mar 2024 4:13 pm
by amccay
Hrm, no I have all the files from the dist. I am seeing this as needing to update mono as the error refers to outdated .NET protocols or something. I will try this, an upgrade and if that doesn't fix it, come back for more guidance.

Re: Upgrading to 3282 on Raspberry PI

Posted: Fri 29 Mar 2024 9:49 pm
by SamiS
amccay wrote: Fri 29 Mar 2024 4:13 pm Hrm, no I have all the files from the dist. I am seeing this as needing to update mono as the error refers to outdated .NET protocols or something. I will try this, an upgrade and if that doesn't fix it, come back for more guidance.
This is the most likely explanation. If your mono setup is also from 2018, it probably is so old that it does not get updated via apt update & apt upgrade. Build 3241 (April 2023) and later require at least mono 6.8.x.

Re: Upgrading to 3282 on Raspberry PI

Posted: Sat 30 Mar 2024 2:35 am
by amccay
Thank you. This looks like the culprit and the version of raspbian I have running here doesn't have it, so I guess it's high time I updated this thing. I tried everything and can only get to:
Mono JIT compiler version 5.0.1.1 (2017-02/5077205 Thu May 25 10:07:22 UTC 2017)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com

This just became a weekend project!