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 4018) - 28 March 2024

Legacy Cumulus 1 release v1.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

[Implemented] Log updates to include database if configured

A Forum to archive Cumulus MX development suggestions that have been rejected or solved by other means.
Locked
freddie
Posts: 2434
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 22.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

[Implemented] Log updates to include database if configured

Post by freddie »

Is it possible to cause MX to update database records when log files are edited through the interface? Only if database settings are enabled, of course :)
Freddie
Image
User avatar
mcrossley
Posts: 12694
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Log updates to include database if configured

Post by mcrossley »

It's a good idea, not sure how hard it would be, and it would have to be opt in for people like me who use custom inserts.

Please reply so I can leave this unread for now.
freddie
Posts: 2434
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 22.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Log updates to include database if configured

Post by freddie »

Okay thanks for considering it. Definitely needs to be an opt-in as not everybody uses a database.
Freddie
Image
User avatar
HansR
Posts: 5871
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: Log updates to include database if configured

Post by HansR »

If you are going to consider things like that, would you then please be so kind to also again consider a catch up of a database after a lost connection.

I will be losing e.g. 4 hours because my cable provider is going through a midnight update where my database will be unreachable. It would be nice if changes like that would recover automatically when the database comes back online.
(this is a repeat of an earlier question)
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
freddie
Posts: 2434
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 22.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Log updates to include database if configured

Post by freddie »

HansR wrote: Sun 02 May 2021 1:48 pm If you are going to consider things like that, would you then please be so kind to also again consider a catch up of a database after a lost connection.
You can emulate this by using the full catch-up functionality of MX once your database is back online - i.e. stop MX, rewind to backup made before the lost connection, then restart MX.

I personally run a database locally that synchronises to the remote database. That way you let the DBMS take care of it.
Freddie
Image
User avatar
HansR
Posts: 5871
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: Log updates to include database if configured

Post by HansR »

Sure you can do everything manually. Same with your request.
I can also go out every day four times write down the observations and fill them in jn the computer. Actually i don't need a computer at all to be a meteo amateur. 2hat are we doing here anyway?

Sorry, but this request is made because sometimes you don't know when the database is down, some things need to be automated because the weather station is basically an unattended system.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
Locked