Page 1 of 1

Cumulus MX v.3.21.0 build 3204 MQTT error on boot up

Posted: Sat 03 Sep 2022 1:01 am
by pete_c
Everything looks great when first starting...

Code: Select all

2022-09-02 19:40:32.958  ========================== Cumulus MX starting ==========================
2022-09-02 19:40:32.960 Command line: /home/pete/CumulusMX/CumulusMX.exe 
2022-09-02 19:40:32.960 Cumulus MX v.3.21.0 build 3204
2022-09-02 19:40:32.961 Mono version: 6.12.0.182 (tarball Tue Jun 14 22:35:00 UTC 2022)
2022-09-02 19:40:32.962 Platform: Unix
2022-09-02 19:40:32.962 OS version: Unix 5.4.0.125
Until this part...

Code: Select all

2022-09-02 19:40:34.535 Creating extra sensors
2022-09-02 19:40:34.570 870 web tags initialised
2022-09-02 19:40:34.573 !!! Unhandled Exception !!!
System.TypeLoadException: Could not resolve type with token 010000b8 from typeref (expected class 'MQTTnet.Client.MqttClientTcpOptions' in assembly 'MQTTnet, Version=4.1.0.247, Culture=neutral, PublicKeyToken=fdb7629f2e364a63')
  at CumulusMX.Cumulus..ctor (System.Int32 HTTPport, System.Boolean DebugEnabled, System.String startParms) [0x0311b] in <b8671292ede2463a9b913b880c00c0b1>:0 
  at CumulusMX.Program.RunAsAConsole (System.Int32 port, System.Boolean debug) [0x00048] in <b8671292ede2463a9b913b880c00c0b1>:0 
  at CumulusMX.Program.Main (System.String[] args) [0x0056b] in <b8671292ede2463a9b913b880c00c0b1>:0 
Please help.

Fixed it. Apologies.

Copied over entire directory to build and now starting fine.

Code: Select all

Cumulus MX v.3.21.0 build 3204
Working Dir: /home/pete/CumulusMX/

Cumulus running at: http://localhost:8998/
                    http://192.168.244.172:8998/
                    http://172.17.0.1:8998/
                    http://172.30.32.1:8998/

  Open the admin interface by entering one of the above URLs into a web browser.

Today.ini = data/today.ini
Last update=2022-09-02T19:00:00
Connected to station
9/2/2022 8:16:26 PM
Type Ctrl-C to terminate
Downloading Archive Data

 - processed 13 %
 - processed 25 %
 - processed 38 %
 - processed 50 %
 - processed 63 %
 - processed 75 %
 - processed 88 %
 - processed 100 %
Downloading Archive Data
 - No Archive data available
Connecting real time FTP
Normal running