Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024
(Note that 4.1.0 (build 4024) - 05 June 2024 remains available, but usage of this version is not recommended - particularly for Davis stations - and the included utility in this distribution for migrating to v4 is known to contain errors affecting conversion of dayfile.txt)
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.0.1 (build 4023) - 16 May 2024
(Note that 4.1.0 (build 4024) - 05 June 2024 remains available, but usage of this version is not recommended - particularly for Davis stations - and the included utility in this distribution for migrating to v4 is known to contain errors affecting conversion of dayfile.txt)
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
Utils 6171 directory problems
Moderator: HansR
-
- Posts: 37
- Joined: Wed 21 Dec 2011 3:40 pm
- Weather Station: Davis Vantage Pro2
- Operating System: Windows 10
- Location: Fyn, Denmark
- Contact:
Utils 6171 directory problems
Hi!
I have installed the new version of CUMX and C utils, but I have a problem uploading to the right place. It seems all files go to to CUMX directory where I am using a separate directory under CUMX named utils, whitch I have put in cumulusutils.ini as upload directory.
Help needet
I have installed the new version of CUMX and C utils, but I have a problem uploading to the right place. It seems all files go to to CUMX directory where I am using a separate directory under CUMX named utils, whitch I have put in cumulusutils.ini as upload directory.
Help needet
- HansR
- Posts: 6084
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: Utils 6171 directory problems
mingjen wrote: ↑Mon 13 Mar 2023 8:34 am Hi!
I have installed the new version of CUMX and C utils, but I have a problem uploading to the right place. It seems all files go to to CUMX directory where I am using a separate directory under CUMX named utils, whitch I have put in cumulusutils.ini as upload directory.
Help needet
- Which upload protocol do you use (did you switch to PHP?)
- Could you please post your logfile for the website command?
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: 37
- Joined: Wed 21 Dec 2011 3:40 pm
- Weather Station: Davis Vantage Pro2
- Operating System: Windows 10
- Location: Fyn, Denmark
- Contact:
Re: Utils 6171 directory problems
Hi!
Yes, I changed to PHP and have CUMX 3234 running.
It is as if the utils overlook the "upload to" in the inifile.
Attached inifile and logfile
Yes, I changed to PHP and have CUMX 3234 running.
It is as if the utils overlook the "upload to" in the inifile.
Attached inifile and logfile
You do not have the required permissions to view the files attached to this post.
- HansR
- Posts: 6084
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: Utils 6171 directory problems
Hi,
I attach a patch 2 which should solve that any directory relative to the CMX defined upload.php location can be used now to upload. Hope no errors introduced. Note that you still have to adjust your Extra Webfiles destination just as the NOAA reports destination.
Please let me know if it works.
Actually it indeed did overlook deeper directories. It assumes the upload.php location as the upload base.
I attach a patch 2 which should solve that any directory relative to the CMX defined upload.php location can be used now to upload. Hope no errors introduced. Note that you still have to adjust your Extra Webfiles destination just as the NOAA reports destination.
Please let me know if it works.
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: 37
- Joined: Wed 21 Dec 2011 3:40 pm
- Weather Station: Davis Vantage Pro2
- Operating System: Windows 10
- Location: Fyn, Denmark
- Contact:
Re: Utils 6171 directory problems
Hi Hans.
I think it did the trick. It now finds the right places for all the files.
Only one thing that I cannot get to work is use of the CUMX moon.
I used to copy the moon.png in CUMX extra files, but after changing to PHP the file copies but it makes the file bigger (ca 30kb against 17kb when I use FTP)
But I am very happy that you fixed problem with directory structure.
Thank you wery much.
I think it did the trick. It now finds the right places for all the files.
Only one thing that I cannot get to work is use of the CUMX moon.
I used to copy the moon.png in CUMX extra files, but after changing to PHP the file copies but it makes the file bigger (ca 30kb against 17kb when I use FTP)
But I am very happy that you fixed problem with directory structure.
Thank you wery much.
- HansR
- Posts: 6084
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: Utils 6171 directory problems
Good
That is strange.... I'll look into that, or actually I'll ask Mark how this is possible
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
- mcrossley
- Posts: 12966
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Utils 6171 directory problems
It is strange, you should get out on the web server what goes in at CMX. It just zips, transfers, then unzips the file.
On my systems the file in the CMX folder is exactly the same size as the one on my web server - 11982 bytes at present.
- HansR
- Posts: 6084
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: Utils 6171 directory problems
So... no explanation.
I'll start experimenting and see if I can reproduce.
I'll start experimenting and see if I can reproduce.
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
- PaulMy
- Posts: 3907
- 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: Utils 6171 directory problems
I can confirm like Mark, moon.png updates and uploads at each hour. CMX b3234 install had 11,982 size at 11:00 and 11,987 at 12:00. The same in a b3212 install and in a CMX test.
Enjoy,
Paul
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
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
-
- Posts: 37
- Joined: Wed 21 Dec 2011 3:40 pm
- Weather Station: Davis Vantage Pro2
- Operating System: Windows 10
- Location: Fyn, Denmark
- Contact:
Re: Utils 6171 directory problems
I have adjusted moon size to 120. Purhaps it's there. I'll try to go back to 100 and see what happens.
-
- Posts: 37
- Joined: Wed 21 Dec 2011 3:40 pm
- Weather Station: Davis Vantage Pro2
- Operating System: Windows 10
- Location: Fyn, Denmark
- Contact:
Re: Utils 6171 directory problems
No, the size did not change anything.
But strangely, if I tick realtime when transferring file it goes right with the original size about 11kb
Is there a way that cumulus utils can use the CUMX moon from the original place (by me ...CMX/images) in stead of CMX/utils/images?
But strangely, if I tick realtime when transferring file it goes right with the original size about 11kb
Is there a way that cumulus utils can use the CUMX moon from the original place (by me ...CMX/images) in stead of CMX/utils/images?
- HansR
- Posts: 6084
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: Utils 6171 directory problems
I did not observe a change in size either so I suggest we skip that issue.
Actually, the location CUtils gets the moon image from is the one where CMX uploads it: it takes the value from the CMX inifile parameter MoonImageFtpDest. So wherever you upload the image, the location is in Cumulus.ini. Can't go wrong I'd say.
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: 725
- Joined: Thu 20 Aug 2020 8:35 am
- Weather Station: Davis VP2 Plus
- Operating System: RPiv4 64bit Linux 12 Bookworm
- Location: Jersey Channel Islands
- Contact:
Re: Utils 6171 directory problems
From my experience the moon.pg image does work in CUtils but you need to send it to ./images/moon.png. This is addressed though the internet settings in CMX.
- HansR
- Posts: 6084
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: Utils 6171 directory problems
If you change that in CMX it will upload to its new destination.
If you then regenerate the CUtils website it will pick up on that change. It really takes the CMX location I mentioned above. But it is a configuration, you need to regenerate the website.
It is as if you change a colour. You need to regenerate as well.
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