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

Sudden error on startup, does it think it's on Windows?

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
jpsc
Posts: 183
Joined: Tue 23 Aug 2011 6:06 pm
Weather Station: Davis Vantage Vue, belfryboy USB
Operating System: Raspbian Bullseye
Location: Wye valley, Herefordshire, UK
Contact:

Sudden error on startup, does it think it's on Windows?

Post by jpsc »

Code: Select all

2023-04-08 11:34:01.890  ========================== Cumulus MX starting ==========================
2023-04-08 11:34:01.904 Command line: /home/cumulus/Cumulus3/CumulusMX.exe -port 8998 
2023-04-08 11:34:01.905 Cumulus MX v.3.24.2 build 3235
2023-04-08 11:34:01.922 Mono version: 6.8.0.105 (Debian 6.8.0.105+dfsg-3.2 Mon Jul 12 07:04:24 UTC 2021)
2023-04-08 11:34:01.929 Platform: Unix
2023-04-08 11:34:01.929 OS version: Unix 5.15.84.7
2023-04-08 11:34:01.930 Current culture: English (United Kingdom) [en-GB]
2023-04-08 11:34:01.930 Running as a 32 bit process
2023-04-08 11:34:01.930 Error: cannot find the file: x86/sqlite3.dll
I swear I didn't change anything, but I did have a crash the other night

Running on raspbian Bullseye, previous good startup:

Code: Select all

2023-03-26 15:33:53.744  ========================== Cumulus MX starting ==========================
2023-03-26 15:33:53.764 Command line: /home/cumulus/Cumulus3/CumulusMX.exe -port 8998 
2023-03-26 15:33:53.764 Cumulus MX v.3.24.2 build 3235
2023-03-26 15:33:53.781 Mono version: 6.8.0.105 (Debian 6.8.0.105+dfsg-3.2 Mon Jul 12 07:04:24 UTC 2021)
2023-03-26 15:33:53.788 Platform: Unix
2023-03-26 15:33:53.789 OS version: Unix 5.15.84.7
2023-03-26 15:33:53.789 Current culture: English (United Kingdom) [en-GB]
2023-03-26 15:33:53.789 Running as a 32 bit process
2023-03-26 15:33:53.877 Checking required folders
2023-03-26 15:33:54.272 Reading Cumulus.ini file
2023-03-26 15:33:54.341 AvgSpdMins=5 AvgSpdTime=00:05:00
2023-03-26 15:33:54.372 Cumulus start date: 1/11/2015  Parsed: 2015-11-01
2023-03-26 15:33:54.735 Reading Cumulus.ini file completed
2023-03-26 15:33:54.749 Creating lock file /tmp/cumulusmx-8998.lock
2023-03-26 15:33:54.827 Stop second instance: No other running instances of Cumulus found
2023-03-26 15:33:54.828 Directory separator=[/] Decimal separator=[.] List separator=[,]
2023-03-26 15:33:54.828 Date separator=[/] Time separator=[:]
2023-03-26 15:33:54.828 Standard time zone name:   GMT
2023-03-26 15:33:54.829 Daylight saving time name: BST
2023-03-26 15:33:54.840 Daylight saving time? True
2023-03-26 15:33:54.840 26/03/2023 15:33:54
2023-03-26 15:33:54.840 No start-up delay - disabled
2023-03-26 15:33:54.841 No start-up PING
2023-03-26 15:33:54.857 Data path = data/
2023-03-26 15:33:55.186 BackupData: Creating backup folder backup/20230326153355/
2023-03-26 15:33:55.270 Created backup folder backup/20230326153355/
2023-03-26 15:33:55.270 Debug logging :enabled
2023-03-26 15:33:55.270 Data logging  :disabled
2023-03-26 15:33:55.270 FTP logging   :enabled
2023-03-26 15:33:55.271 Email logging :disabled
2023-03-26 15:33:55.271 Spike logging :disabled
John Cooper

Cumulus MX v4 on RPi3 with SSD

http://weather.mountpleasanthouse.uk

Image
freddie
Posts: 2870
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: Sudden error on startup, does it think it's on Windows?

Post by freddie »

When you installed/upgraded did you copy all the files from the distribution zip? Your log file shows that MX couldn't find something in the x86 directory - which just happens to be a new directory introduced in a recent release.
Freddie
Image
User avatar
jpsc
Posts: 183
Joined: Tue 23 Aug 2011 6:06 pm
Weather Station: Davis Vantage Vue, belfryboy USB
Operating System: Raspbian Bullseye
Location: Wye valley, Herefordshire, UK
Contact:

Re: Sudden error on startup, does it think it's on Windows?

Post by jpsc »

Ah, I have an x64 directory with sqlite3.dll in it
John Cooper

Cumulus MX v4 on RPi3 with SSD

http://weather.mountpleasanthouse.uk

Image
freddie
Posts: 2870
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: Sudden error on startup, does it think it's on Windows?

Post by freddie »

Yes that'll be for the 64bit version of MX. From your logfile you're using the 32bit version.
Freddie
Image
User avatar
jpsc
Posts: 183
Joined: Tue 23 Aug 2011 6:06 pm
Weather Station: Davis Vantage Vue, belfryboy USB
Operating System: Raspbian Bullseye
Location: Wye valley, Herefordshire, UK
Contact:

Re: Sudden error on startup, does it think it's on Windows?

Post by jpsc »

Right, thanks. I've copied it in and it's going

I'm running on a Pi 3, how does it decide which one to run?
John Cooper

Cumulus MX v4 on RPi3 with SSD

http://weather.mountpleasanthouse.uk

Image
freddie
Posts: 2870
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: Sudden error on startup, does it think it's on Windows?

Post by freddie »

I'm not completely sure - possibly down to your OS version, maybe your mono version? @mcrossley will know for sure.
Freddie
Image
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: Sudden error on startup, does it think it's on Windows?

Post by mcrossley »

It is the OS that determines it - unless you force the install of a 32bit version of mono on a 64bit OS!
User avatar
jpsc
Posts: 183
Joined: Tue 23 Aug 2011 6:06 pm
Weather Station: Davis Vantage Vue, belfryboy USB
Operating System: Raspbian Bullseye
Location: Wye valley, Herefordshire, UK
Contact:

Re: Sudden error on startup, does it think it's on Windows?

Post by jpsc »

I thought it was, 64bit on Pu3 latest OS, but it seems I have some sort of hybrid.

I'll unzip the distribution over it avain
John Cooper

Cumulus MX v4 on RPi3 with SSD

http://weather.mountpleasanthouse.uk

Image
User avatar
jpsc
Posts: 183
Joined: Tue 23 Aug 2011 6:06 pm
Weather Station: Davis Vantage Vue, belfryboy USB
Operating System: Raspbian Bullseye
Location: Wye valley, Herefordshire, UK
Contact:

Re: Sudden error on startup, does it think it's on Windows?

Post by jpsc »

My mistake, the 64bit OS is on another Pi. This one has been upgraded in place from Jessie so cannot be. Still does not explain how it was running though.

There is a dll in the program directory

Code: Select all

pi@WeatherServerB:/home/cumulus/Cumulus3 $ ls -hls sqlite3.dll
1.1M -rwxrw-rw- 1 root root 1.1M Feb 20 22:53 sqlite3.dll
John Cooper

Cumulus MX v4 on RPi3 with SSD

http://weather.mountpleasanthouse.uk

Image
freddie
Posts: 2870
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: Sudden error on startup, does it think it's on Windows?

Post by freddie »

Release 3.24.0 (build 3231) introduced the x86/x64 subdirectories for libraries on 8th March 2023. So you must've performed a full upgrade at some point and it has since lost some files/directories.
Freddie
Image
User avatar
jpsc
Posts: 183
Joined: Tue 23 Aug 2011 6:06 pm
Weather Station: Davis Vantage Vue, belfryboy USB
Operating System: Raspbian Bullseye
Location: Wye valley, Herefordshire, UK
Contact:

Re: Sudden error on startup, does it think it's on Windows?

Post by jpsc »

I went straight from 3043 to 3235 on 26/3 and it ran for 10 days. On 7/4 there was an event which crashed the Pi and I had to remove power to get it back again, and when it restarted the x86 directory was gone.

So far I have only reinstated the sqlite dll, I will re-unzip the entire distribution next to make sure that nothing else has gone missing.

Thank you for your help
John Cooper

Cumulus MX v4 on RPi3 with SSD

http://weather.mountpleasanthouse.uk

Image
Post Reply