Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Build 3117 - CO2 extra sensor ajax error - extra sensor data missing * solved *

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
User avatar
Gyvate
Posts: 377
Joined: Wed 16 Dec 2020 2:14 pm
Weather Station: GW1x00/WH2650/HP2553/GW2000/3000
Operating System: Win 11 (PC/RPi), Raspbian 11,WSL
Location: Saarbrücken, Germany
Contact:

Build 3117 - CO2 extra sensor ajax error - extra sensor data missing * solved *

Post by Gyvate »

Hi
ever since I moved to 3117 I'm getting the following error:
CO2-Ajax-error-extra sensors-20210308.JPG
maybe I missed something in the update ....
renamed my old CumulusMX folder to CumulusMX3116
created a new CumulusMX directory CumulusMX - copied all the CumulusMX 3117 files from the zip into the CumulusMX folder,
copied Cumulus.ini and the data directory from the CumulusMX3116 into the CumulusMX folder.
In my understanding I did everything right.
Everything continued working well except for the error messages for the CO2 sensors (keep on showing "loading ..." in the interface
and no sensors and values shown).
Another observation:
when I try to edit a log entry in the data log viewer, it gives the message "Error! Response code: 404 There was an unknown error!"

As a side remark - the interface shows "Cumulus MX 3.9.2 b3097" in the bottom line - I would expect to see "3.10.2 b3117". But that might be a beauty thing.

environment: Raspberry Pi 4, Debian 10 (not the CumulusMX image for RPi), mono 6.12.0.122
You do not have the required permissions to view the files attached to this post.
Last edited by Gyvate on Tue 09 Mar 2021 6:59 pm, edited 2 times in total.
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Build 3117 - CO2 extra sensor ajax error

Post by mcrossley »

Gyvate wrote: Mon 08 Mar 2021 9:19 am ever since I moved to 3117 I'm getting the following error:
CO2-Ajax-error-extra sensors-20210308.JPG
Can you post the results of this URL please...

http://localhost:8998/api/extra/co2sensor.json
Gyvate wrote: Mon 08 Mar 2021 9:19 am As a side remark - the interface shows "Cumulus MX 3.9.2 b3097" in the bottom line - I would expect to see "3.10.2 b3117". But that might be a beauty thing.
It will reflect the version of the program that you are connected to, it is dynamic data not static.

Which implies you are still running v3.9.2
User avatar
Gyvate
Posts: 377
Joined: Wed 16 Dec 2020 2:14 pm
Weather Station: GW1x00/WH2650/HP2553/GW2000/3000
Operating System: Win 11 (PC/RPi), Raspbian 11,WSL
Location: Saarbrücken, Germany
Contact:

Re: Build 3117 - CO2 extra sensor ajax error

Post by Gyvate »

mcrossley wrote: Mon 08 Mar 2021 10:57 am
Gyvate wrote: Mon 08 Mar 2021 9:19 am ever since I moved to 3117 I'm getting the following error:
CO2-Ajax-error-extra sensors-20210308.JPG
Can you post the results of this URL please...

http://localhost:8998/api/extra/co2sensor.json
{"Title": "Unexpected Error","ErrorCode": "KeyNotFoundException","Description": "Key Not Found: co2sensor.json"}


Gyvate wrote: Mon 08 Mar 2021 9:19 am As a side remark - the interface shows "Cumulus MX 3.9.2 b3097" in the bottom line - I would expect to see "3.10.2 b3117". But that might be a beauty thing.
It will reflect the version of the program that you are connected to, it is dynamic data not static.

Which implies you are still running v3.9.2
theory and reality ...
how would this be possible after I did this in my opinion clean new install (see description above) and only copied the Cumulus.ini and the content of the data directory - or does the data directory contain information that says b3097 ?

below the OS message after start
pi@raspberrypi:~/CumulusMX $ sudo mono CumulusMX.exe
Cumulus MX v.3.10.2 build 3117
Working Dir: /home/pi/CumulusMX/
Cumulus running at: http://*:8998/
(Replace * with any IP address on this machine, or localhost)
Open the admin interface by entering this URL in a browser.
Today.ini = data/today.ini
Last update=2021-03-07T12:31:00
Connected to station
Normal running
3/7/2021 12:32:36 PM
Type Ctrl-C to terminate


but the browser interface still shows "Cumulus MX 3.9.2 b3097" in the bottom line ...
strange ...
Last edited by Gyvate on Mon 08 Mar 2021 1:37 pm, edited 1 time in total.
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Build 3117 - CO2 extra sensor ajax error

Post by mcrossley »

The error message - "Key Not Found: co2sensor.json" - means that the version of Cumulus MX you are running does not support that URL, again it means you are not running b3117.

The version and build number on the dashboard pages comes direct from the executable.

Could you have another old copy of Cumulus still running in the background?
User avatar
Gyvate
Posts: 377
Joined: Wed 16 Dec 2020 2:14 pm
Weather Station: GW1x00/WH2650/HP2553/GW2000/3000
Operating System: Win 11 (PC/RPi), Raspbian 11,WSL
Location: Saarbrücken, Germany
Contact:

Re: Build 3117 - CO2 extra sensor ajax error

Post by Gyvate »

mcrossley wrote: Mon 08 Mar 2021 1:36 pm The error message - "Key Not Found: co2sensor.json" - means that the version of Cumulus MX you are running does not support that URL, again it means you are not running b3117.

The version and build number on the dashboard pages comes direct from the executable.

Could you have another old copy of Cumulus still running in the background?
I did a reboot - and now it shows 3117, the data log entries can be edited and the ajax error has disappeared.
the option: stop second instance was tagged though - but you never know

However,
- the CO2 data in the extra sensor table are all 0 now - before there had been values different from 0.
- the lightning date/time is just 1.1.1970 (EPOCH 0), 999 km - whereas it should be 03/04/2021 (MM/DD/YYYY) 16:02:47. 27 km, daily count 0
- for airQuality only one sensor is shown - before two were shown.
CO2-lightning-3117.JPG
the WH45 sensors are active ;) - the WSView app shows values ...
all other extra sensor data are shown
You do not have the required permissions to view the files attached to this post.
User avatar
ConligWX
Posts: 1835
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 24.04.1 LTS
Location: Bangor, NI
Contact:

Re: Build 3117 - CO2 extra sensor ajax error - extra sensor data missing

Post by ConligWX »

best you turn on debugging and restart, give it 5-10 minutes, shutdown, zip up mxdiags folder, and post here.

otherwise we are merely guessing what the problem is.
User avatar
Gyvate
Posts: 377
Joined: Wed 16 Dec 2020 2:14 pm
Weather Station: GW1x00/WH2650/HP2553/GW2000/3000
Operating System: Win 11 (PC/RPi), Raspbian 11,WSL
Location: Saarbrücken, Germany
Contact:

Re: Build 3117 - CO2 extra sensor ajax error - extra sensor data missing

Post by Gyvate »

issue solved - without knowing exactly what the reason was - a new install from scratch (migrating the data folder and Cumulus.ini) did the job.
All extra sensor data back.
Post Reply