Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.3.3 (build 4070) - 04 January 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 on an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Latest Cumulus MX V4 release 4.3.3 (build 4070) - 04 January 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 on an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Problems with new installation
-
- Posts: 44
- Joined: Sun 07 Jun 2009 2:07 pm
- Weather Station: W-8681
- Operating System: RPI Bookworm MX 4023
- Contact:
Problems with new installation
When I restart the new system it appears to continually restart.
Any insights would be more than welcome
cmx@Pi3SOS:~ $ cd /opt/CumulusMX
cmx@Pi3SOS:/opt/CumulusMX $ dotnet CumulusMX.dll
Cumulus MX v.4.1.3 build 4028
Working Dir: /opt/CumulusMX/
Cumulus running at: http://localhost:8998/
http://127.0.1.1:8998/
http://192.168.1.107:8998/
Open the admin interface by entering one of the above URLs into a web browser.
Opening station type 5 - Fine Offset
Last update: 2024-08-24T07:10:00
Looking for Fine Offset station
Fine Offset station found
Looking for Fine Offset station
Fine Offset station found
Looking for Fine Offset station
Fine Offset station found
Looking for Fine Offset station
Fine Offset station found
etc.
Apart from the date the dashboard entries are missing
You do not have the required permissions to view the files attached to this post.
Joe Curtis
- PaulMy
- Posts: 4230
- Joined: Sun 28 Sep 2008 11:54 pm
- Weather Station: Davis VP2 Plus 24-Hour FARS
- Operating System: Windows8 and Windows10
- Location: Komoka, ON Canada
- Contact:
Re: Problems with new installation
Hi,
A few things in the MXdiags...
Others may know better, but first, if you are uploading to website using the PHP method have you copied the PHP Upload secret: code in your \webfiles\upload.php file and then FTP that file to your website?
As noted, the dayfile has errors. Where you able to correct the dayfile from your issue a couple months ago?
Have you entered the correct settings for your station type?
Enjoy,
Paul
A few things in the MXdiags...
Code: Select all
2024-08-25 17:21:40.369 TestPhpUploadCompression: Error -
2024-08-25 17:21:40.373 TestPhpUploadCompression: Error - - Exception Type: System.AggregateException
Message: One or more errors occurred. (Connection refused (192.168.1.107:443))
Inner Exception...
Exception Type: System.Net.Http.HttpRequestException
Message: Connection refused (192.168.1.107:443)
Inner Exception...
Exception Type: System.Net.Sockets.SocketException
Message: Connection refused
Code: Select all
2024-08-25 17:21:43.122 ERROR: Duplicate entry in dayfile for 22/08/2024
2024-08-25 17:21:43.122 ERROR: Duplicate entry in dayfile for 23/08/2024
2024-08-25 17:21:43.127 LoadDayFile: Loaded 94 entries to recent daily data list
2024-08-25 17:21:43.129 LoadDayFile: Found 34 duplicate entries, please correct your dayfile and try again
2024-08-25 17:21:43.142 Monthly log file data/202408log.txt Checked OK
2024-08-25 17:21:43.161 GetRainCounter: Nothing to do
2024-08-25 17:21:43.166 GetRainFallTotals: Getting rain totals, rain season start = 1
2024-08-25 17:21:43.167 GetRainFallTotals: Today = 25/08/24
2024-08-25 17:21:43.169 GetRainFallTotals: Rainthismonth from dayfile: 1.04
2024-08-25 17:21:43.169 GetRainFallTotals: Rainthisyear from dayfile: 4.949999999999998
2024-08-25 17:21:43.174 Checking SQLite integrity...
2024-08-25 17:21:43.256 SQLite integrity check OK
Code: Select all
2024-08-25 17:21:43.274 FO synchronise reads: True
2024-08-25 17:21:43.274 FO synchronise avoid time: 3
2024-08-25 17:21:43.274 FO last station time: 2024-08-16T01:20:00
2024-08-25 17:21:43.274 FO last sensor time : 2024-08-16T01:18:39
2024-08-25 17:21:43.280 Looking for Fine Offset station, VendorID=0x1941 ProductID=0x8021
2024-08-25 17:21:43.451 Fine Offset station found
2024-08-25 17:21:43.488 Stream open failed
2024-08-25 17:21:45.472 This Cumulus MX instance is running the latest release version
2024-08-25 17:21:53.489 Looking for Fine Offset station, VendorID=0x1941 ProductID=0x8021
2024-08-25 17:21:53.507 Fine Offset station found
2024-08-25 17:21:53.510 Stream open failed
2024-08-25 17:22:03.511 Looking for Fine Offset station, VendorID=0x1941 ProductID=0x8021
2024-08-25 17:22:03.525 Fine Offset station found
2024-08-25 17:22:03.528 Stream open failed
2024-08-25 17:22:13.528 Looking for Fine Offset station, VendorID=0x1941 ProductID=0x8021
2024-08-25 17:22:13.543 Fine Offset station found
2024-08-25 17:22:13.547 Stream open failed
Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
-
- Posts: 502
- Joined: Sun 27 Feb 2011 5:13 pm
- Weather Station: Ecowitt HP2551 & GW1100
- Operating System: Raspberry Pi OS
- Location: Kangasala, Finland
Re: Problems with new installation
I think this is yet another FO usb station that does not work due to the ”Stream open failed” error. I think no-one has resolved this yet.
- mcrossley
- Posts: 14066
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Problems with new installation
It is a permissions problem.
If I run CumulusMX as root it can read the HID device OK. As a regular user it fails.
I have tried adding a new rule file to /etc/udev/rules.d/
with the contents:
and adding a new line to the existing 99-com.rules file
Either of which is supposed to fix this, but even after a reboot (incase "sudo udevadm control --reload" didn't work) my regular user "pi" on an old system still had not access to the HID device.
Any Linux gurus got any more ideas?
If I run CumulusMX as root it can read the HID device OK. As a regular user it fails.
I have tried adding a new rule file to /etc/udev/rules.d/
with the contents:
Code: Select all
SUBSYSTEM=="usb", ATTR{idVendor}=="1941", ATTR{idProduct}=="8021", MODE="0666"
Code: Select all
SUBSYSTEM=="usb", GROUP="pi", MODE="0660"
Any Linux gurus got any more ideas?
- mcrossley
- Posts: 14066
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Problems with new installation
I also tried changing the file permissions ton the device itself (/dev/usb/hiddev0), still the same problem.
- mcrossley
- Posts: 14066
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Problems with new installation
I tried using "plugdev" as the group in the udev rules as recommended elsewhere - and the pi user is a member of that group by default. No workie.
Add the pi user to wheel group - "The group "wheel" does not exist.
Add the pi user to wheel group - "The group "wheel" does not exist.
- mcrossley
- Posts: 14066
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Problems with new installation
OK fixed! The rule syntax is slightly different from the original source I looked at.
To fix this I did the following (all as root/sudo)...
To fix this I did the following (all as root/sudo)...
- Create a new udev rule file:
Code: Select all
/etc/udev/rules.d/50-usb-cmx.rules
- Add the following content:
Code: Select all
SUBSYSTEM=="input", GROUP="input", MODE="0666" SUBSYSTEM=="usb", ATTRS{idVendor}=="1941", ATTRS{idProduct}=="8021", MODE:="0666", GROUP="plugdev" KERNEL=="hidraw*", ATTRS{idVendor}=="1941", ATTRS{idProduct}=="8021", MODE="0666", GROUP="plugdev"
- Unplug the stations USB cable
- Run the command
Code: Select all
sudo udevadm control --reload-rules
- Plug the station USB cable back in
- Run Cumulus MX as a regular user - now works
-
- Posts: 44
- Joined: Sun 07 Jun 2009 2:07 pm
- Weather Station: W-8681
- Operating System: RPI Bookworm MX 4023
- Contact:
Re: Problems with new installation
Many thanks Mark, that seems to have done the trick although I haven't a clue what is going on!
Joe Curtis
- dazza1223
- Posts: 900
- Joined: Sun 25 Jan 2015 8:41 pm
- Weather Station: Davis Vantage Pro 2 plus
- Operating System: Raspberry pi 4 (4gb)
- Location: Worthing
- Contact:
Re: Problems with new installation
so i have updated both of the images so can somebody test them before i release them and let me knowmcrossley wrote: ↑Mon 26 Aug 2024 4:19 pm OK fixed! The rule syntax is slightly different from the original source I looked at.
To fix this I did the following (all as root/sudo)...
- Create a new udev rule file:
Code: Select all
/etc/udev/rules.d/50-usb-cmx.rules
- Add the following content:
Code: Select all
SUBSYSTEM=="input", GROUP="input", MODE="0666" SUBSYSTEM=="usb", ATTRS{idVendor}=="1941", ATTRS{idProduct}=="8021", MODE:="0666", GROUP="plugdev" KERNEL=="hidraw*", ATTRS{idVendor}=="1941", ATTRS{idProduct}=="8021", MODE="0666", GROUP="plugdev"
- Unplug the stations USB cable
- Run the command
Code: Select all
sudo udevadm control --reload-rules
- Plug the station USB cable back in
- Run Cumulus MX as a regular user - now works
https://www.davisworthing.co.uk/downloads.php
-
- Posts: 17
- Joined: Tue 02 Aug 2022 10:06 am
- Weather Station: Aercus W2085
- Operating System: Raspberry
Re: Problems with new installation
i have been having issues where no data was received on dashboard after upgrading to v4 with my fine offset station. I have done the above and is now working at long last, thank you Mark
-
- Posts: 8
- Joined: Wed 19 Feb 2014 12:01 pm
- Weather Station: English
- Operating System: Winn11 : Pi3
- Location: United Kingdom
Re: Problems with new installation
Can you make this a bit simpler for raspberry pi noob, how to get root/sudo ??mcrossley wrote: ↑Mon 26 Aug 2024 4:19 pm OK fixed! The rule syntax is slightly different from the original source I looked at.
To fix this I did the following (all as root/sudo)...
- Create a new udev rule file:
Code: Select all
/etc/udev/rules.d/50-usb-cmx.rules
- Add the following content:
Code: Select all
SUBSYSTEM=="input", GROUP="input", MODE="0666" SUBSYSTEM=="usb", ATTRS{idVendor}=="1941", ATTRS{idProduct}=="8021", MODE:="0666", GROUP="plugdev" KERNEL=="hidraw*", ATTRS{idVendor}=="1941", ATTRS{idProduct}=="8021", MODE="0666", GROUP="plugdev"
- Unplug the stations USB cable
- Run the command
Code: Select all
sudo udevadm control --reload-rules
- Plug the station USB cable back in
- Run Cumulus MX as a regular user - now works
-
- Posts: 2822
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 24.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: Problems with new installation
Either and then run the commands, or prefix every command with
Code: Select all
sudo su -
Code: Select all
sudo
-
- Posts: 8
- Joined: Wed 19 Feb 2014 12:01 pm
- Weather Station: English
- Operating System: Winn11 : Pi3
- Location: United Kingdom
Re: Problems with new installation
Hmm, get the following error?
sudo: /etc/udev/rules.d/50-usb-cmx.rules: command not found
Any ideas?
sudo: /etc/udev/rules.d/50-usb-cmx.rules: command not found
Any ideas?
-
- Posts: 2822
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 24.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: Problems with new installation
You're creating a new rule which is stored in a file. So you need to do to create the file and open it in a text editor, add the rule in the file and save it. With vi/vim you hit ESC and press to save the file and quit the editor.
Alternatively, create your file on your laptop/pc and upload it to your pi. - but you will need to change ownership and permissions if you do it that way, so might be best to brave the vim command line editor.
Code: Select all
sudo vi /etc/udev/rules.d/50-usb-cmx.rules
Code: Select all
:wq
Alternatively, create your file on your laptop/pc and upload it to your pi. - but you will need to change ownership and permissions if you do it that way, so might be best to brave the vim command line editor.