Welcome to the Cumulus Support forum.

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

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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

Error when starting a fresh installation in v4 beta

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
Dinant
Posts: 96
Joined: Sat 17 Aug 2013 9:11 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 2012 R2
Location: Markelo
Contact:

Error when starting a fresh installation in v4 beta

Post by Dinant »

When starting with a fresh installation of v4 beta a small error arises probably because there are no database files yet.
After the second start the error is gone.

Code: Select all

2024-03-17 16:07:20.266  ========================== Cumulus MX starting ==========================
2024-03-17 16:07:20.266 Command line: /opt/CumulusMX/CumulusMX.dll -service -lang nl-NL
2024-03-17 16:07:20.266 Cumulus MX v.4.0.0 build 4017
2024-03-17 16:07:20.267 Platform       : Linux
2024-03-17 16:07:20.267 OS Description : Debian GNU/Linux 12 (bookworm)
2024-03-17 16:07:20.267 Current culture: Nederlands (Nederland) [nl-NL]
2024-03-17 16:07:20.267 Running as a 64 bit process
2024-03-17 16:07:20.267 Running under userid: administrator
2024-03-17 16:07:20.267 Checking required folders
2024-03-17 16:07:20.298 Reading Cumulus.ini file
2024-03-17 16:07:20.314 AvgSpdMins=10 AvgSpdTime=00:10:00
2024-03-17 16:07:20.330 Cumulus start date Parsed: 2024-03-17
2024-03-17 16:07:20.371 Reading Cumulus.ini file completed
2024-03-17 16:07:20.373 Creating lock file /tmp/cumulusmx-8998.lock
2024-03-17 16:07:20.379 Stop second instance: No other running instances of Cumulus found
2024-03-17 16:07:20.379 Directory separator=[/] Decimal separator=[,] List separator=[;]
2024-03-17 16:07:20.379 Date separator=[-] Time separator=[:]
2024-03-17 16:07:20.379 Standard time zone name:   Central European Standard Time
2024-03-17 16:07:20.379 Daylight saving time name: Central European Summer Time
2024-03-17 16:07:20.379 Daylight saving time? False
2024-03-17 16:07:20.379 Locale date/time format: 17-03-2024 16:07:20
2024-03-17 16:07:20.381 Creating start-up backup...
2024-03-17 16:07:20.382 BackupData: Creating backup 20240317160720.zip
2024-03-17 16:07:20.386 Archiving the database
2024-03-17 16:07:20.386 Backup: Error backing up the database files
2024-03-17 16:07:20.396 Backup: Error backing up the database files -
Exception Type: System.IO.FileNotFoundException
Message: Could not find file '/opt/CumulusMX/data/cumulusmx.db'.
Source: System.Private.CoreLib
Stack Trace:    at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync)
   at System.IO.Compression.ZipFileExtensions.DoCreateEntryFromFile(ZipArchive destination, String sourceFileName, String entryName, Nullable`1 compressionLevel)
   at System.IO.Compression.ZipFileExtensions.CreateEntryFromFile(ZipArchive destination, String sourceFileName, String entryName)
   at CumulusMX.Cumulus.BackupData(Boolean daily, DateTime timestamp)

2024-03-17 16:07:20.400 Created backup file 20240317160720.zip
2024-03-17 16:07:20.401 No start-up delay - disabled
2024-03-17 16:07:20.401 No start-up PING
2024-03-17 16:07:20.401 Data path = data/
2024-03-17 16:07:20.461 Debug logging :enabled
2024-03-17 16:07:20.461 Data logging  :enabled
2024-03-17 16:07:20.461 FTP logging   :disabled
2024-03-17 16:07:20.461 Email logging :disabled
2024-03-17 16:07:20.462 Spike logging :enabled
2024-03-17 16:07:20.462 Logging interval = 1 mins
2024-03-17 16:07:20.462 Real time interval:disabled, uploads:disabled, (30 secs)
2024-03-17 16:07:20.462 Interval          :enabled, uploads:disabled, (15 mins)
2024-03-17 16:07:20.462 NoSensorCheck = 0
2024-03-17 16:07:20.470 Calculating sunrise and sunset times
2024-03-17 16:07:20.472 Sunrise: 06:44:27
2024-03-17 16:07:20.472 Sunset : 18:44:38
2024-03-17 16:07:20.472 Tomorrow sunrise: 06:42:12
2024-03-17 16:07:20.472 Tomorrow sunset : 18:46:19
2024-03-17 16:07:20.472 Tomorrow length diff: 236
2024-03-17 16:07:20.480 Station type: 17 - Simulator
2024-03-17 16:07:20.480 WindUnit=km/h RainUnit=mm TempUnit=°C PressureUnit=hPa
2024-03-17 16:07:20.482 Manual rainfall: YTDRain=0,000, Correction Year=0
2024-03-17 16:07:20.482 RainDayThreshold=-1,000
2024-03-17 16:07:20.482 Roll over hour=00
2024-03-17 16:07:20.483 Offsets:
2024-03-17 16:07:20.483 P=0,000 T=0,000 H=0 WD=0 S=0,000 UV=0,000 IT=0,000 IH=0,000
2024-03-17 16:07:20.483 Multipliers:
2024-03-17 16:07:20.483 P=1,000 WS=1,000 WG=1,000 T=1,000 H=1,000 R=1,000 S=1,000 UV=1,000 IT=1,000 IH=1,000
2024-03-17 16:07:20.483 Multipliers2:
2024-03-17 16:07:20.483 P=0,000 WS=0,000 WG=0,000 T=0,000 H=0,000 S=0,000 UV=0,000 IT=0,000 IH=0,000
2024-03-17 16:07:20.483 Spike removal:
2024-03-17 16:07:20.484 TD=999,000 GD=999,000 WD=999,000 HD=999,000 PD=999,000 MR=999,000 MH=999,000 ITD=999,000 IHD=999,000
2024-03-17 16:07:20.484 Limits:
2024-03-17 16:07:20.484 TH=60,0 TL=-60,0 DH=40,0 PH=1090,0 PL=870,0 GH=324,000
2024-03-17 16:07:20.484 Primary AQ Sensor = Undefined
2024-03-17 16:07:20.510 Cumulus Starting
2024-03-17 16:07:20.513 HTML root path = /opt/CumulusMX/interface
2024-03-17 16:07:20.607 Cumulus running at: http://localhost:8998/
2024-03-17 16:07:20.608 Opening station type 17
2024-03-17 16:07:20.614 ReadTodayFile: Last update time from today.ini: 17-03-2024 16:07:20
2024-03-17 16:07:20.615 ReadTodayFile: Date = 00/00/00, LastUpdateTime = 17-03-2024 16:07:20, Month = 3
2024-03-17 16:07:20.616 ReadTodayFile: ET not initialised
2024-03-17 16:07:20.616 ReadTodayfile: set initialiseRainDayStart true
2024-03-17 16:07:20.616 ReadTodayfile: set initialiseRainCounterOnFirstData true
2024-03-17 16:07:20.616 ReadTodayfile: set initialiseMidnightRain true
2024-03-17 16:07:20.616 ReadTodayfile: Rain day start: -1,0000, midnight counter: -1,0000, last counter: -1,0000
2024-03-17 16:07:20.620 Alltime.ini file read
2024-03-17 16:07:20.622 MonthlyAlltime.ini file read
2024-03-17 16:07:20.626 LoadDayFile: Attempting to load the day file
2024-03-17 16:07:20.626 LoadDayFile: No Dayfile found - No entries added to recent daily data list
2024-03-17 16:07:20.627 Monthly log file check skipped - no file exists
2024-03-17 16:07:20.628 GetRainCounter: Finding raintoday from logfile data/202403log.txt
2024-03-17 16:07:20.628 GetRainCounter: Expecting listsep=, decimal=,
2024-03-17 16:07:20.628 GetRainCounter: Midnight rain counter not found, setting midnight count to raindaystart = -1
2024-03-17 16:07:20.628 GetRainCounter: Rain counter negative, setting to zero
2024-03-17 16:07:20.629 GetRainFallTotals: Getting rain totals, rain season start = 1
2024-03-17 16:07:20.629 GetRainFallTotals: Today = 17/03/24
2024-03-17 16:07:20.629 GetRainFallTotals: Rainthismonth from dayfile: 0
2024-03-17 16:07:20.629 GetRainFallTotals: Rainthisyear from dayfile: 0
2024-03-17 16:07:20.630 Checking SQLite integrity...
2024-03-17 16:07:20.632 SQLite integrity check OK
2024-03-17 16:07:20.643 Station type = Simulator
2024-03-17 16:07:20.643 Last update time = 17-03-2024 16:07:20
2024-03-17 16:07:20.644 Loading last N hour data from data logs: 17-03-2024 16:07:20
2024-03-17 16:07:20.645 LoadRecent: Attempting to load 7 days of entries to recent data list
2024-03-17 16:07:20.646 LoadRecent: Loaded 0 of 0 new entries to recent database
2024-03-17 16:07:20.647 LoadWindData: Attempting to reload the wind speeds array
2024-03-17 16:07:20.648 LoadWindData: Loaded 0 entries to WindRecent data list
2024-03-17 16:07:20.648 LoadLast3Hour: Attempting to load 3 hour data list
2024-03-17 16:07:20.651 LoadLast3Hour: Loaded 0 entries to last 3 hour data list
2024-03-17 16:07:20.652 InitialiseWind: gust=0,0, speed=0,0
2024-03-17 16:07:20.654 Wind settings: Calc avg speed=True, Use speed for avg=False, Gust time=10, Avg time=10
2024-03-17 16:07:20.667 890 web tags initialised
2024-03-17 16:07:20.669 Start Timers
2024-03-17 16:07:20.669 Starting 1-minute timer
2024-03-17 16:07:20.669 Data logging interval = 0 (1 mins)
2024-03-17 16:07:20.669 Realtime not enabled
2024-03-17 16:07:20.669 WUnderground catch-up list is zero length
2024-03-17 16:07:20.670 Windy catch-up list is zero length
2024-03-17 16:07:20.670 PWS catch-up list is zero length
2024-03-17 16:07:20.670 WOW catch-up list is zero length
2024-03-17 16:07:20.670 OpenWeatherMap catch-up list is zero length
2024-03-17 16:07:20.670 MySqlList is Empty
2024-03-17 16:07:20.670 Normal running
User avatar
mcrossley
Posts: 12776
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Error when starting a fresh installation in v4 beta

Post by mcrossley »

Thanks, I'll fix that
Dinant
Posts: 96
Joined: Sat 17 Aug 2013 9:11 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 2012 R2
Location: Markelo
Contact:

Re: Error when starting a fresh installation in v4 beta

Post by Dinant »

Fixed in build 4018.
User avatar
mcrossley
Posts: 12776
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Error when starting a fresh installation in v4 beta

Post by mcrossley »

:thumbsup:
Post Reply