(just copy the runtimes from the distribution into that utils/bin directory)
Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.2.0 (build 4039) - 01 October 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
Latest Cumulus MX V4 release 4.2.0 (build 4039) - 01 October 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
docker cutils recent release not updating
Moderator: HansR
- HansR
- Posts: 6282
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: docker cutils recent release not updating
btw: this is what my utils/bin directory looks like:
(just copy the runtimes from the distribution into that utils/bin directory)
(just copy the runtimes from the distribution into that utils/bin directory)
You do not have the required permissions to view the files attached to this post.
Hans
https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
-
- Posts: 397
- 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: docker cutils recent release not updating
yeah just wanted to check - I have the same files in the same place
and no - no joy
the docker container just acts like a minimalist linux install - and the full utils folder is mapped so it should be able to find the runtimes without issue.
I need to research more how this interacts with docker but from a big overview I don't think it really should.
and no - no joy
the docker container just acts like a minimalist linux install - and the full utils folder is mapped so it should be able to find the runtimes without issue.
I need to research more how this interacts with docker but from a big overview I don't think it really should.
Ian.
http://www.StewartonWeather.com
Containerised Cumulus[MX] 3.28.0 (build: 3269) ● CumulusUtils Version 6.23.0● Ecowitt 2551/WH65/T&HP/WH57/WH45/3x WH51 ● Pi 5 8GB ● Debian Bookworm ● Ubuntu Server Host
http://www.StewartonWeather.com
Containerised Cumulus[MX] 3.28.0 (build: 3269) ● CumulusUtils Version 6.23.0● Ecowitt 2551/WH65/T&HP/WH57/WH45/3x WH51 ● Pi 5 8GB ● Debian Bookworm ● Ubuntu Server Host
- HansR
- Posts: 6282
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: docker cutils recent release not updating
Hans
https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
-
- Posts: 397
- 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: docker cutils recent release not updating
haha morning - I was just zipping up a new log file when I saw this message - no joy.
So I've left it for a bit, you can see when the last update happened - I checked extra sensors and that had updated 12/09 - so I ran my run once script which goes through all the modules with a 5 second wait and the logs are below .... the diary error is back weirdest thing! extra sensors is now back up to date but I'm still no closer to narrowing down the error.
Other than the footer Hans, what else can you see is not updating?
So I've left it for a bit, you can see when the last update happened - I checked extra sensors and that had updated 12/09 - so I ran my run once script which goes through all the modules with a 5 second wait and the logs are below .... the diary error is back weirdest thing! extra sensors is now back up to date but I'm still no closer to narrowing down the error.
Other than the footer Hans, what else can you see is not updating?
You do not have the required permissions to view the files attached to this post.
Ian.
http://www.StewartonWeather.com
Containerised Cumulus[MX] 3.28.0 (build: 3269) ● CumulusUtils Version 6.23.0● Ecowitt 2551/WH65/T&HP/WH57/WH45/3x WH51 ● Pi 5 8GB ● Debian Bookworm ● Ubuntu Server Host
http://www.StewartonWeather.com
Containerised Cumulus[MX] 3.28.0 (build: 3269) ● CumulusUtils Version 6.23.0● Ecowitt 2551/WH65/T&HP/WH57/WH45/3x WH51 ● Pi 5 8GB ● Debian Bookworm ● Ubuntu Server Host
- HansR
- Posts: 6282
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: docker cutils recent release not updating
The footer does not update because the SQLite error is still there and the index.html generation breaks off on that error. The only reason the modules update is because you run those separately (see your first logfile) which should not be necessary in normal circumstances.Nossie wrote: ↑Fri 27 Sep 2024 6:44 am haha morning - I was just zipping up a new log file when I saw this message - no joy.
So I've left it for a bit, you can see when the last update happened - I checked extra sensors and that had updated 12/09 - so I ran my run once script which goes through all the modules with a 5 second wait and the logs are below .... the diary error is back weirdest thing! extra sensors is now back up to date but I'm still no closer to narrowing down the error.
Other than the footer Hans, what else can you see is not updating?
I wonder: CMX also has a runtimes directory in its bin. How come that those have no problem and the CUtils SQLite does?
Do you mixup something here? Note the CMX runtimes are different from the CUtils runtimes.
Hans
https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
-
- Posts: 397
- 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: docker cutils recent release not updating
No - the runtimes are in the utils folder as you showed the imageI wonder: CMX also has a runtimes directory in its bin. How come that those have no problem and the CUtils SQLite does?
Do you mixup something here? Note the CMX runtimes are different from the CUtils runtimes.
You do not have the required permissions to view the files attached to this post.
Ian.
http://www.StewartonWeather.com
Containerised Cumulus[MX] 3.28.0 (build: 3269) ● CumulusUtils Version 6.23.0● Ecowitt 2551/WH65/T&HP/WH57/WH45/3x WH51 ● Pi 5 8GB ● Debian Bookworm ● Ubuntu Server Host
http://www.StewartonWeather.com
Containerised Cumulus[MX] 3.28.0 (build: 3269) ● CumulusUtils Version 6.23.0● Ecowitt 2551/WH65/T&HP/WH57/WH45/3x WH51 ● Pi 5 8GB ● Debian Bookworm ● Ubuntu Server Host
-
- Posts: 397
- 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: docker cutils recent release not updating
Is there any runtime log or something that shows which architecture it selects?
I'm rebuilding the container to ubuntu to 24.04 LTS (Noble Numbat)
I'm trying that first before I consider changing to debian, not that it should be an issue.
I'm rebuilding the container to ubuntu to 24.04 LTS (Noble Numbat)
I'm trying that first before I consider changing to debian, not that it should be an issue.
Ian.
http://www.StewartonWeather.com
Containerised Cumulus[MX] 3.28.0 (build: 3269) ● CumulusUtils Version 6.23.0● Ecowitt 2551/WH65/T&HP/WH57/WH45/3x WH51 ● Pi 5 8GB ● Debian Bookworm ● Ubuntu Server Host
http://www.StewartonWeather.com
Containerised Cumulus[MX] 3.28.0 (build: 3269) ● CumulusUtils Version 6.23.0● Ecowitt 2551/WH65/T&HP/WH57/WH45/3x WH51 ● Pi 5 8GB ● Debian Bookworm ● Ubuntu Server Host
- HansR
- Posts: 6282
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: docker cutils recent release not updating
I have no idea about a runtimes log.
Maybe anybody else?
Maybe anybody else?
Hans
https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
-
- Posts: 397
- 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: docker cutils recent release not updating
updated to the latest version of ubuntu - seemed to take longer to run my run once script but nothing different - ran out of time for now
weird
weird
Ian.
http://www.StewartonWeather.com
Containerised Cumulus[MX] 3.28.0 (build: 3269) ● CumulusUtils Version 6.23.0● Ecowitt 2551/WH65/T&HP/WH57/WH45/3x WH51 ● Pi 5 8GB ● Debian Bookworm ● Ubuntu Server Host
http://www.StewartonWeather.com
Containerised Cumulus[MX] 3.28.0 (build: 3269) ● CumulusUtils Version 6.23.0● Ecowitt 2551/WH65/T&HP/WH57/WH45/3x WH51 ● Pi 5 8GB ● Debian Bookworm ● Ubuntu Server Host
-
- Posts: 397
- 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: docker cutils recent release not updating
Hi Hans,
I'm still no closer sadly - the only error I have to go on is still the diary.db - are you able to do me a favour?
Can you add a setting in utils to allow me to set the location of diary.db? I'd like to try this
I've tried changing it in the environment but it seems to be ignored - the weird thing is it's all fully accessible within the container
I'm still no closer sadly - the only error I have to go on is still the diary.db - are you able to do me a favour?
Can you add a setting in utils to allow me to set the location of diary.db? I'd like to try this
Code: Select all
Data Source=/opt/CumulusMX/data/diary.db;Mode=ReadWriteCreate;
Code: Select all
root@7c56e66757a2:/opt/CumulusMX# sqlite3 /opt/CumulusMX/data/diary.db
SQLite version 3.45.1 2024-01-30 16:01:20
Enter ".help" for usage hints.
sqlite> .schema
CREATE TABLE IF NOT EXISTS "DiaryData"(
"Timestamp" datetime primary key not null ,
"entry" varchar ,
"snowFalling" integer ,
"snowLying" integer ,
"snowDepth" float );
sqlite>
Ian.
http://www.StewartonWeather.com
Containerised Cumulus[MX] 3.28.0 (build: 3269) ● CumulusUtils Version 6.23.0● Ecowitt 2551/WH65/T&HP/WH57/WH45/3x WH51 ● Pi 5 8GB ● Debian Bookworm ● Ubuntu Server Host
http://www.StewartonWeather.com
Containerised Cumulus[MX] 3.28.0 (build: 3269) ● CumulusUtils Version 6.23.0● Ecowitt 2551/WH65/T&HP/WH57/WH45/3x WH51 ● Pi 5 8GB ● Debian Bookworm ● Ubuntu Server Host
- HansR
- Posts: 6282
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: docker cutils recent release not updating
OK, I'll make something. But in the meantime I have the following remarks:
I'll post the test release here.
- The diary is currently openend as: DataSource=data/diary.db; Mode=ReadOnly;
- I will make a parameter for the DataSource without the Mode so it will remain readonly!
- I will also make a parameter for the Mode.
- Defaults will be the current values. The user will be responsible for the values, when issues just delete the parameters and the defaults will return with the next generation of the diary module.
- Note that according to the docs the DataSource "Gets the path to the database file. Will be absolute for open connections." so in the meantime you may wonder if the diary is open somewhere (CMX? some db-browser?) if I understand things well.
I'll post the test release here.
Hans
https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
-
- Posts: 397
- 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: docker cutils recent release not updating
if all you are doing is reading existing values and generating from cmx then write may not even be required?
I was just using it my testing
I was just using it my testing
Ian.
http://www.StewartonWeather.com
Containerised Cumulus[MX] 3.28.0 (build: 3269) ● CumulusUtils Version 6.23.0● Ecowitt 2551/WH65/T&HP/WH57/WH45/3x WH51 ● Pi 5 8GB ● Debian Bookworm ● Ubuntu Server Host
http://www.StewartonWeather.com
Containerised Cumulus[MX] 3.28.0 (build: 3269) ● CumulusUtils Version 6.23.0● Ecowitt 2551/WH65/T&HP/WH57/WH45/3x WH51 ● Pi 5 8GB ● Debian Bookworm ● Ubuntu Server Host
- HansR
- Posts: 6282
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: docker cutils recent release not updating
@nossie:
Here is a special 'Nossie'-release. When run (with whatever argument but 'diary' is advised) it creates two parameters as discussed above at the end of the cumulusutils.ini. You may alter those parameters as you wish and then run CUtils again with the parameter diary.
Let me know how you get on (with logs please)
Here is a special 'Nossie'-release. When run (with whatever argument but 'diary' is advised) it creates two parameters as discussed above at the end of the cumulusutils.ini. You may alter those parameters as you wish and then run CUtils again with the parameter diary.
Let me know how you get on (with logs please)
You do not have the required permissions to view the files attached to this post.
Hans
https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
- HansR
- Posts: 6282
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: docker cutils recent release not updating
I checked the zip, the timestamps are OK, you have the correct executable.
You should see something like:It is in the constructor you see the connection string. If you see that you should see the parameters in the inifile. If you do not see those than something is seriously wrong between the executables and related files. I am sorry, but I cannot help you further on your local situation. You have the adjusted executable and it runs on my machine (note that if you run website you should see in the footer: Version 7.2.0 beta 2 Nossie Only and Diary in the Reports menu as in my site).
But apparently you are not running this new executable but still the old one. A caching issue?
I don't get it.
You should see something like:
Code: Select all
2024-10-03 21:49:52.011 Information CumulusUtils : Read dayfile.txt succesfully - 1941 records
2024-10-03 21:49:52.030 Information CumulusUtils : RecordsBeganDate used: 01-01-2020 00:00:00, Number of days removed from list: 204
2024-10-03 21:49:52.032 Information Diary constructor: starting
2024-10-03 21:49:52.045 Information Generating Diary connectionstring - DataSource=data/diary.db; Mode=ReadOnly;
2024-10-03 21:49:52.310 Information Diary constructor: stop
2024-10-03 21:49:52.311 Generating Diary - Starting
2024-10-03 21:49:52.312 Information End Generating Diary
But apparently you are not running this new executable but still the old one. A caching issue?
I don't get it.
Hans
https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
-
- Posts: 397
- 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: docker cutils recent release not updating
sorry that was the only reasoned I pm'd you - and you answered my issue - thanks.But apparently you are not running this new executable but still the old one. A caching issue?
Ian.
http://www.StewartonWeather.com
Containerised Cumulus[MX] 3.28.0 (build: 3269) ● CumulusUtils Version 6.23.0● Ecowitt 2551/WH65/T&HP/WH57/WH45/3x WH51 ● Pi 5 8GB ● Debian Bookworm ● Ubuntu Server Host
http://www.StewartonWeather.com
Containerised Cumulus[MX] 3.28.0 (build: 3269) ● CumulusUtils Version 6.23.0● Ecowitt 2551/WH65/T&HP/WH57/WH45/3x WH51 ● Pi 5 8GB ● Debian Bookworm ● Ubuntu Server Host