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

moon image fails to update

Discussion of the Cumulusutils tool and website generator.

Moderator: HansR

Post Reply
AndyKF650
Posts: 818
Joined: Thu 20 Aug 2020 8:35 am
Weather Station: Davis VP2 Plus
Operating System: RPiv5B 64bit Linux 12 Bookworm
Location: Jersey Channel Islands
Contact:

moon image fails to update

Post by AndyKF650 »

Hi Hans

I have been trying to puzzle this one out over the past few days. As usual I use the CMX moon image on my web site but it has stopped updating.

By way of background, I have changed my web host recently but I do not think that should cause a problem.

When I first noticed the problem I could see that the moon pic showed about 25% but should have been more like 50%.

When I look at the image on the web host in images/moon.png and that shows the correct current position at about 50% rather than the on site value of 25%. Yes I have cleared the caches with F5

Next I tried using the standard CUtils moon image which seemed to work just fine with the correct amount of obscuration and this I used for a day or so.

Currently I am on the latest beta's for CMX and CUtils but I have reverted to the last full iterations to see if that would sort the problem but no change either.

Now I am at a loss to sort the issue, everything else on the website seems to work OK.

What have I missed??
water01
Posts: 3669
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: moon image fails to update

Post by water01 »

Well it is loading the image from https://lalouettegoreyweather.uk/images/moon.png so I presume that the default upload is putting the image there i.e. upload folder = images/moon.png and there is a tick in Generate Moon image?
David
Image
AndyKF650
Posts: 818
Joined: Thu 20 Aug 2020 8:35 am
Weather Station: Davis VP2 Plus
Operating System: RPiv5B 64bit Linux 12 Bookworm
Location: Jersey Channel Islands
Contact:

Re: moon image fails to update

Post by AndyKF650 »

That is a yes on both counts for CMX and also in the CUtils.ini file.
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: moon image fails to update

Post by HansR »

Hi Andy,

To me your site looks OK, including the moon. I checked the code and the moon should update every hour (if you leave the site open) so it all depends on CMX uploading the image to the correct location. You specify the location in the cumulusutils.ini file.

I assume you checked all that and that the location is OK and that is where CMX uploads?
If you start the website anew, you get the correct image I assume or is it already in error then?
Did you run the website command without thrifty when using the new beta?

Could you post the definition of the moon image upload in CMX and the path in the utils ini file?

I will start using the CMX moon image myself and check it. It may take some time, I'll be leaving over the weekend and be back Monday.

[EDIT:]I see the answers on Davids questions.
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
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: moon image fails to update

Post by HansR »

I can add that the moon image only updates when refreshing the index.html

The rise and set times are updated hourly, the sun disc is updated hourly for the minute hand, but the discs themselves are not updated. I did assume users would not leave the site open for more than a day. So a new disc or image is only loaded when the website is started. Could that be the cause of you experience?
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
AndyKF650
Posts: 818
Joined: Thu 20 Aug 2020 8:35 am
Weather Station: Davis VP2 Plus
Operating System: RPiv5B 64bit Linux 12 Bookworm
Location: Jersey Channel Islands
Contact:

Re: moon image fails to update

Post by AndyKF650 »

Hi Hans

I just checked the site on another pc and as you say it looks just fine, the moon image is at 50% as expected.

So my issue is on my main pc and not CUtils, something I need to address :bash:

Edit I just checked on a different browser ,Edge, on my main pc and all looks just fine. A problem with Opera browser!
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: moon image fails to update

Post by HansR »

Ok. Let me know how you get on and if I can do anything.
Be aware the moon disc does not update automatically, it needs a website refresh in the browser.
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
AndyKF650
Posts: 818
Joined: Thu 20 Aug 2020 8:35 am
Weather Station: Davis VP2 Plus
Operating System: RPiv5B 64bit Linux 12 Bookworm
Location: Jersey Channel Islands
Contact:

Re: moon image fails to update

Post by AndyKF650 »

Hi Hans

All sorted now, I properly cleared the Opera browser cache and it all looks good to me.

Thanks for your help as ever.
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: moon image fails to update

Post by HansR »

Great :D
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
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: moon image fails to update

Post by HansR »

@Andy: I must say that I did find a glitch, similar to the Reports issue I reported recently: the location to upload the moon image to must - in my case - be relative to the webroot. So:

Code: Select all

./images/moon.png
is required i.s.o.

Code: Select all

/httpdocs/images/moon/png
This change only recently took place at my provider but it may be a general thing caused by PHP or by Apache. My provider explained it being a relative path but they could not indicate when a change had taken place.

It is provider dependent I guess.
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