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

v7.2.0 b1

Discussion of the Cumulusutils tool and website generator.

Moderator: HansR

Nossie
Posts: 424
Joined: Tue 16 Aug 2022 8:01 pm
Weather Station: Ecowitt 2551
Operating System: Raspberry Pi5 Debian Bookworm
Location: Stewarton, East Ayrshire UK
Contact:

Re: v7.2.0 b1

Post by Nossie »

Code: Select all

2024-09-10 08:14:04.940 Information Diary constructor: starting
2024-09-10 08:14:04.952 Error Exception Unknown : The type initializer for 'Microsoft.Data.Sqlite.SqliteConnection' threw an exception.
2024-09-10 08:14:04.954 Error Data (cont): Microsoft.Data.Sqlite
2024-09-10 08:14:04.982 Error Data:    at Microsoft.Data.Sqlite.SqliteConnection..ctor(String connectionString)
   at CumulusUtils.Diary.GetDiaryDatabase() in C:\Users\hansr\Documents\GitHub\CutilsFramework\CUtilsNET8\Diary.cs:line 99
   at CumulusUtils.Diary..ctor(CuSupport s) in C:\Users\hansr\Documents\GitHub\CutilsFramework\CUtilsNET8\Diary.cs:line 61
   at CumulusUtils.CUtils.RealMainAsync(String[] args) in C:\Users\hansr\Documents\GitHub\CutilsFramework\CUtilsNET8\Main.cs:line 609
   at CumulusUtils.CUtils.Main(String[] args) in C:\Users\hansr\Documents\GitHub\CutilsFramework\CUtilsNET8\Main.cs:line 343
2024-09-10 08:14:04.984 Error Exiting - check log file
hmmmm - nope I don't have a user account called hansr...... :D

I've just uploaded the whole folder - I was messing about with a few of them there are some lsb errors too related to the sqlite, something to do with your bin stuff?
You do not have the required permissions to view the files attached to this post.
Ian.

http://www.StewartonWeather.com
Containerised Cumulus[MX] 4.2.1 (build: 4040) ● CumulusUtils Version 7.1.1● Ecowitt 2551/WH65/T&HP/WH57/WH45/3x WH51 ● Pi 5 8GB ● Debian Bookworm ● Ubuntu Server Host
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: v7.2.0 b1

Post by HansR »

Hmmm... Back home tonight, i'll come back to this.
Does anybody else have an issue here?
@nossie: do you have a diary.db at all?
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
Nossie
Posts: 424
Joined: Tue 16 Aug 2022 8:01 pm
Weather Station: Ecowitt 2551
Operating System: Raspberry Pi5 Debian Bookworm
Location: Stewarton, East Ayrshire UK
Contact:

Re: v7.2.0 b1

Post by Nossie »

working quite late - will check when I can -thanks
Ian.

http://www.StewartonWeather.com
Containerised Cumulus[MX] 4.2.1 (build: 4040) ● CumulusUtils Version 7.1.1● Ecowitt 2551/WH65/T&HP/WH57/WH45/3x WH51 ● Pi 5 8GB ● Debian Bookworm ● Ubuntu Server Host
User avatar
PaulMy
Posts: 4355
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: v7.2.0 b1

Post by PaulMy »

Hi Hans,
Does anybody else have an issue here?
@nossie: do you have a diary.db at all?
Everything seems ok here. The only thing in my diary.db is my snow reporting, which I have not updated since end of March.
Not sure if this is helpful, from utilslog at the midnight "website" run

Code: Select all

2024-09-10 00:00:06.355 Information Diary constructor: starting
2024-09-10 00:00:06.713 Information Diary constructor: stop
2024-09-10 00:00:06.713 Generating Diary - Starting
2024-09-10 00:00:06.714 Information End Generating Diary

Code: Select all

2024-09-10 00:00:54.770 Information UploadFile: Starting utils/diary.txt => diary.txt
2024-09-10 00:00:54.770 Information Upload File values: URL: 198.12.220.99
2024-09-10 00:00:54.770 Information Upload File values: CMX Dir: public_html/cumulusmxwll
2024-09-10 00:00:54.770 Information Upload File values: UtilsDir: 
2024-09-10 00:00:54.770 Information Upload File values: remotefile: diary.txt
2024-09-10 00:00:54.770 Information Upload File values: requestname: public_html/cumulusmxwll/diary.txt
2024-09-10 00:00:55.436 Information FTP/FTPS UploadFile: Done
https://www.komokaweather.com/cumulusmxwll/index.html

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
Image
weatherbee
Posts: 35
Joined: Sat 16 Mar 2024 7:02 pm
Weather Station: WS-5000
Operating System: Windows 11
Contact:

Re: v7.2.0 b1

Post by weatherbee »

It seems to be working well for me. I use the diary.db for snow only.
It can be seen at https://www.shermanctweather.org/cmv4/index.html
Tom
EDIT: I fixed web address.
Last edited by weatherbee on Tue 10 Sep 2024 9:07 pm, edited 2 times in total.
Image
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: v7.2.0 b1

Post by HansR »

Thanks @Paul and @Tom

@Tom: your link does not lead to anything
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
Nossie
Posts: 424
Joined: Tue 16 Aug 2022 8:01 pm
Weather Station: Ecowitt 2551
Operating System: Raspberry Pi5 Debian Bookworm
Location: Stewarton, East Ayrshire UK
Contact:

Re: v7.2.0 b1

Post by Nossie »

HansR wrote: Tue 10 Sep 2024 10:30 am @nossie: do you have a diary.db at all?
Hi Hans,

Can confirm I don't use the diary feature - don't have that file on the website.
Ian.

http://www.StewartonWeather.com
Containerised Cumulus[MX] 4.2.1 (build: 4040) ● CumulusUtils Version 7.1.1● Ecowitt 2551/WH65/T&HP/WH57/WH45/3x WH51 ● Pi 5 8GB ● Debian Bookworm ● Ubuntu Server Host
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: v7.2.0 b1

Post by HansR »

Mmm... I think CMX should Create that file no matter what at initialisation. It is part of the data even if empty.

Try editing the diary and save without adding data.

@Mark (@anybody) : how can the file be added later?
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
Nossie
Posts: 424
Joined: Tue 16 Aug 2022 8:01 pm
Weather Station: Ecowitt 2551
Operating System: Raspberry Pi5 Debian Bookworm
Location: Stewarton, East Ayrshire UK
Contact:

Re: v7.2.0 b1

Post by Nossie »

sorry hans misunderstanding - it exists in the data folder locally
Ian.

http://www.StewartonWeather.com
Containerised Cumulus[MX] 4.2.1 (build: 4040) ● CumulusUtils Version 7.1.1● Ecowitt 2551/WH65/T&HP/WH57/WH45/3x WH51 ● Pi 5 8GB ● Debian Bookworm ● Ubuntu Server Host
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: v7.2.0 b1

Post by HansR »

Mmm... Which permissions does it have (unix bitwise).
Could you post it please?
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
Nossie
Posts: 424
Joined: Tue 16 Aug 2022 8:01 pm
Weather Station: Ecowitt 2551
Operating System: Raspberry Pi5 Debian Bookworm
Location: Stewarton, East Ayrshire UK
Contact:

Re: v7.2.0 b1

Post by Nossie »

-rw-r--r-- 1 pi pi 12288 Sep 10 20:47 diary.db
You do not have the required permissions to view the files attached to this post.
Ian.

http://www.StewartonWeather.com
Containerised Cumulus[MX] 4.2.1 (build: 4040) ● CumulusUtils Version 7.1.1● Ecowitt 2551/WH65/T&HP/WH57/WH45/3x WH51 ● Pi 5 8GB ● Debian Bookworm ● Ubuntu Server Host
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: v7.2.0 b1

Post by HansR »

Thanks.
The diary itself is OK and it has the correct permissions.

Are you aware - I am thinking of Docker implications - that there are new libraries in the distribution notably the SQLite libs and the runtimes. Do they need to be registered somewhere? It is very unclear to me how a path from my distribution can get into the database path where the code only says:

Code: Select all

new( $"DataSource=data/diary.db; Mode=ReadOnly;" )
so it is relative to your path. I am lost :?

EDIT: Oh wait the path is only in the error messages. Still: it has a problem with the path so you need to check the path of diary.db in the data directory.
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
Nossie
Posts: 424
Joined: Tue 16 Aug 2022 8:01 pm
Weather Station: Ecowitt 2551
Operating System: Raspberry Pi5 Debian Bookworm
Location: Stewarton, East Ayrshire UK
Contact:

Re: v7.2.0 b1

Post by Nossie »

What I was wondering is - it using the right distribution?

I'm questioning 2 things -- should hansr still be a location in your code once compiled and why is it showing a windows path? is that mono related?

I run Debian on arm, with an ubuntu container running dotnet.
Ian.

http://www.StewartonWeather.com
Containerised Cumulus[MX] 4.2.1 (build: 4040) ● CumulusUtils Version 7.1.1● Ecowitt 2551/WH65/T&HP/WH57/WH45/3x WH51 ● Pi 5 8GB ● Debian Bookworm ● Ubuntu Server Host
User avatar
mcrossley
Posts: 14382
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: v7.2.0 b1

Post by mcrossley »

Nossie wrote: Wed 11 Sep 2024 7:22 am I'm questioning 2 things -- should hansr still be a location in your code once compiled and why is it showing a windows path? is that mono related?
It is debug information showing the source file and line number where the error occurred. The source file is on Hans' computer and so shows the path on his computer when the program was compiled, this is normal.
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: v7.2.0 b1

Post by HansR »

Thanks @Mark.

@Ian: I would say you have to revisit the installation with the delivered libraries as nobody else has your problem. So it seems to have to do with the docker installation.
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
Post Reply