Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024

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

Cumulus MX build 3257 SQLite check on startup

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: 179
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:

Cumulus MX build 3257 SQLite check on startup

Post by jpsc »

I have never used SQLite and the new build hangs at this step

Code: Select all

2023-10-30 09:44:36.023 Checking SQLite integrity...
2023-10-30 09:44:37.204 SQLite integrity check result: *** in database main ***
    On tree page 1252 cell 40: 2nd reference to page 77
    On tree page 1252 cell 38: 2nd reference to page 180
.
.
.
    Page 309: btreeInitPage() returns error code 11
2023-10-30 09:44:37.208 SQLite integrity check Failed, trying to compact database
2023-10-30 09:44:37.216 !!! Unhandled Exception !!!
SQLite.SQLiteException: database disk image is malformed
  at SQLite.SQLiteCommand.ExecuteNonQuery () [0x000cd] in <b9f88366af0e413e8a5d7e0ce3ae1233>:0 
  at SQLite.SQLiteConnection.Execute (System.String query, System.Object[] args) [0x00039] in <b9f88366af0e413e8a5d7e0ce3ae1233>:0 
  at CumulusMX.WeatherStation.CheckSqliteDatabase (System.Boolean giveup) [0x00162] in <b9f88366af0e413e8a5d7e0ce3ae1233>:0 
  at CumulusMX.WeatherStation..ctor (CumulusMX.Cumulus cumulus) [0x00576] in <b9f88366af0e413e8a5d7e0ce3ae1233>:0 
  at CumulusMX.DavisStation..ctor (CumulusMX.Cumulus cumulus) [0x00031] in <b9f88366af0e413e8a5d7e0ce3ae1233>:0 
  at CumulusMX.Cumulus..ctor (System.Int32 HTTPport, System.Boolean DebugEnabled, System.String startParms) [0x0268c] in <b9f88366af0e413e8a5d7e0ce3ae1233>:0 
  at CumulusMX.Program.RunAsAConsole (System.Int32 port, System.Boolean debug) [0x00048] in <b9f88366af0e413e8a5d7e0ce3ae1233>:0 
  at CumulusMX.Program.Main (System.String[] args) [0x00552] in <b9f88366af0e413e8a5d7e0ce3ae1233>:0 
2023-10-30 09:44:46.037 api/tags: Unexpected Error, Description: "Cannot access a disposed object."
2023-10-30 09:44:46.160 WS Client Connect: ::ffff:192.168.111.22, Total clients: 1
2023-10-30 09:46:31.379 api/tags: Unexpected Error, Description: "Cannot access a disposed object."
2023-10-30 09:46:31.448 WS Client Connect: ::ffff:192.168.111.22, Total clients: 1
2023-10-30 09:46:31.455 WS Client Disconnected: ::ffff:192.168.111.22, Total clients: 1
2023-10-30 09:48:31.293 Ctrl+C pressed
John Cooper

Cumulus 3 on RPi3 with SSD

http://weather.mountpleasanthouse.uk

Image
User avatar
HansR
Posts: 6028
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Cumulus MX build 3257 SQLite check on startup

Post by HansR »

It is CMX which uses SQLite for some databases.
Just remove the file data/cumulusmx.db and try again.
NOTE: your RECENT charts will restart to build up so you will have little data after the file removal. Some patience required.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
mcrossley
Posts: 12905
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Cumulus MX build 3257 SQLite check on startup

Post by mcrossley »

Thanks for the report, I'll put in a catch for that error...
Post Reply