Page 1 of 2

Cumulus MX release 3.25.0 (build 3241) not working for me

Posted: Tue 25 Apr 2023 12:27 pm
by jpsc

Code: Select all

sudo mono /home/cumulus/Cumulus3/CumulusMX.exe
System.TypeInitializationException: The type initializer for 'CumulusMX.Cumulus' threw an exception. ---> System.MissingMethodException: Method not found: void System.Net.Http.HttpClientHandler.set_SslProtocols(System.Security.Authentication.SslProtocols)
   --- End of inner exception stack trace ---
  at CumulusMX.Program.RunAsAConsole (System.Int32 port, System.Boolean debug) [0x00048] in <0731ed9dc26e46bdb951344b2c20e54f>:0
  at CumulusMX.Program.Main (System.String[] args) [0x00558] in <0731ed9dc26e46bdb951344b2c20e54f>:0
**** An error has occurred - please zip up the MXdiags folder and post it in the forum ****
Press Enter to terminate
There is nothing in MXDiags
I have reverted to 3241

Re: Cumulus MX release 3.25.0 (build 3241) not working for me

Posted: Tue 25 Apr 2023 12:28 pm
by jpsc
I mean reverted to 3235

Re: Cumulus MX release 3.25.0 (build 3241) not working for me

Posted: Tue 25 Apr 2023 12:36 pm
by freddie
It looks as if all the files that the new version depends on were not copied from the distribution zip file. In particular, System.Net.Http.HttpClientHandler. It looks as if a method is missing from the version present in your build.

Re: Cumulus MX release 3.25.0 (build 3241) not working for me

Posted: Tue 25 Apr 2023 12:58 pm
by jpsc
Do you have it? It's not in my downloaded CumulusMXDist3241.zip

It goes from System.Memory.dll to System.Numerics.Vectors.dll

there are some System.Net.Http... dlls from a previous distribution but not that one

Re: Cumulus MX release 3.25.0 (build 3241) not working for me

Posted: Tue 25 Apr 2023 1:00 pm
by Barpm
Same for me on Raspberry Pi4

System.Net.Http.HttpClientHandler is not in the CumulusMXDist3241.zip

Re: Cumulus MX release 3.25.0 (build 3241) not working for me

Posted: Tue 25 Apr 2023 1:14 pm
by freddie
Sorry, probably not that precise name - I was just highlighting the missing dependency really. It's a pretty important component so I think there would've been more shouting if it was genuinely missing.

Do you follow the recommended upgrade process? Rename old distribution directory, expand new distribution zip file, copy over config and data from old to new.

Re: Cumulus MX release 3.25.0 (build 3241) not working for me

Posted: Tue 25 Apr 2023 1:29 pm
by mcrossley
What versions of mono are you running?

That component should be supplied as part of mono.

Re: Cumulus MX release 3.25.0 (build 3241) not working for me

Posted: Tue 25 Apr 2023 1:52 pm
by Barpm
pi@Mars:~ $ sudo mono --version
Mono JIT compiler version 5.18.0.240 (Debian 5.18.0.240+dfsg-3+deb10u1 Sat Feb 25 06:15:04 UTC 2023)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS:
SIGSEGV: normal
Notifications: epoll
Architecture: armel,vfp+hard
Disabled: none
Misc: softdebug
Interpreter: yes
LLVM: supported, not enabled.
Suspend: preemptive
GC: sgen (concurrent by default)

Re: Cumulus MX release 3.25.0 (build 3241) not working for me

Posted: Tue 25 Apr 2023 2:04 pm
by freddie
Mono v6.8+ is required for MX, I believe.

Re: Cumulus MX release 3.25.0 (build 3241) not working for me

Posted: Tue 25 Apr 2023 2:12 pm
by Barpm
Up to the previous version 3.24.2 b3235 it works without problems

Re: Cumulus MX release 3.25.0 (build 3241) not working for me

Posted: Tue 25 Apr 2023 2:18 pm
by freddie
I think 6.8 has been recommended for a couple of years now. If you use email function then you need 6.12.

Re: Cumulus MX release 3.25.0 (build 3241) not working for me

Posted: Tue 25 Apr 2023 2:42 pm
by Barpm
Ok, I updated mono to version 6.12
Now Cumulus 3.25.0 (build 3241) works fine.

Thanks

Re: Cumulus MX release 3.25.0 (build 3241) not working for me

Posted: Tue 25 Apr 2023 3:27 pm
by freddie
Fantastic, thanks for the feedback. @mcrossley perhaps have mono 6.12 as an essential in the release post?

Re: Cumulus MX release 3.25.0 (build 3241) not working for me

Posted: Tue 25 Apr 2023 3:39 pm
by Nottub
Apologies but as a Luddite with limited knowledge I’m back to the question of how to update mono. How did you do it?

I fear that I’ll cock it all up and not get it working again.

Can you overwrite with the new version?
I’m looking for simple step by step instructions (if there is such a thing).

I can’t even consider pho uploading as I only have a simple understanding of ftp :bash:


Thanks

Martyn

Re: Cumulus MX release 3.25.0 (build 3241) not working for me

Posted: Tue 25 Apr 2023 3:40 pm
by water01
Run these two commands

sudo apt update sudo apt upgrade.

sudo apt install mono-complete.