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 4017) - 17 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

Moon Phases

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Moon Phases

Post by steve »

Contents of previous post from richard_newberry posted as an image to avoid false security alert.
2015-12-11 09_15_36-_new 0 - Notepad++.png
You do not have the required permissions to view the files attached to this post.
Steve
richard_newberry
Posts: 481
Joined: Tue 12 Apr 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Raspbian Bookworm & Debian 12
Location: Leicester
Contact:

Re: Moon Phases

Post by richard_newberry »

Is that because i posted alot of lines with the permissions i got instead of using an attachment?

Sorry Steve.
Desford Weather (at parents)
https://desford-weather.co.uk

Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Moon Phases

Post by steve »

It's not your fault, the web server's security module seems to be somewhat over-zealous, it seems to block anything containing shell script. I have had words with it - :bash: - and hopefully this won't happen again.
Steve
richard_newberry
Posts: 481
Joined: Tue 12 Apr 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Raspbian Bookworm & Debian 12
Location: Leicester
Contact:

Re: Moon Phases

Post by richard_newberry »

Any ideas why i cant show new.jpg picture its on chmod 666 and still doesnt display and its still on moon.jpg
Desford Weather (at parents)
https://desford-weather.co.uk

Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
water01
Posts: 3215
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: Moon Phases

Post by water01 »

Are you processing moonphasetagT.txt and uploading it as moonphasetag.php because that is needed to provide the information that the moonphase.php requires in order to load the correct picture?
David
Image
richard_newberry
Posts: 481
Joined: Tue 12 Apr 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Raspbian Bookworm & Debian 12
Location: Leicester
Contact:

Re: Moon Phases

Post by richard_newberry »

Yes i have all done this still no change.
Desford Weather (at parents)
https://desford-weather.co.uk

Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
water01
Posts: 3215
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: Moon Phases

Post by water01 »

What exactly is your web site running on i.e. is it your own server? If it is you have got PHP installed on it have you?
David
Image
richard_newberry
Posts: 481
Joined: Tue 12 Apr 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Raspbian Bookworm & Debian 12
Location: Leicester
Contact:

Re: Moon Phases

Post by richard_newberry »

Its apache2 based on debian jessie i have php installed http://kirbymuxloe-weather.dyndns.org/phpsysinfo

So php is installed if you access the moonphasetag.php it works
Desford Weather (at parents)
https://desford-weather.co.uk

Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
richard_newberry
Posts: 481
Joined: Tue 12 Apr 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Raspbian Bookworm & Debian 12
Location: Leicester
Contact:

Re: Moon Phases

Post by richard_newberry »

Desford Weather (at parents)
https://desford-weather.co.uk

Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
water01
Posts: 3215
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: Moon Phases

Post by water01 »

Well actually it doesn't because that is the wrong moon phase!! :D OK so that means that the phase is not being set which means it must be a problem with moonphasetagT.txt being processed by cumulus and "uploaded" as moonphasetag.php(or in your case copied to the correct place in /var/www).
David
Image
richard_newberry
Posts: 481
Joined: Tue 12 Apr 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Raspbian Bookworm & Debian 12
Location: Leicester
Contact:

Re: Moon Phases

Post by richard_newberry »

LOCAL FILENAME /home/cumulus/CumulusMX/web/moonphasetagT.txt REMOTE FILENAME /var/www/moonphasetag.php

is this correct?
Desford Weather (at parents)
https://desford-weather.co.uk

Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
Grimers
Posts: 240
Joined: Tue 24 Nov 2015 9:07 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 64-bit
Location: Newton Poppleford, Devon, UK
Contact:

Re: Moon Phases

Post by Grimers »

richard_newberry wrote:LOCAL FILENAME /home/cumulus/CumulusMX/web/moonphasetagT.txt REMOTE FILENAME /var/www/moonphasetag.php

is this correct?
Yep, that's correct.
richard_newberry
Posts: 481
Joined: Tue 12 Apr 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Raspbian Bookworm & Debian 12
Location: Leicester
Contact:

Re: Moon Phases

Post by richard_newberry »

Don't know why it's not showing the correct moon then.

in /var/www I have moon directory with pictures in and in /var/www I have moonphase.php and moonphasetag.php

Which all seems fine.
Desford Weather (at parents)
https://desford-weather.co.uk

Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
richard_newberry
Posts: 481
Joined: Tue 12 Apr 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Raspbian Bookworm & Debian 12
Location: Leicester
Contact:

Re: Moon Phases

Post by richard_newberry »

I think there's a bug in extra web files. I just deleted the moon phase files from /var/www and it wont copy it back over via extra web files.

/var/www/moonphasetag.php to /var/www/moonphasetag.php and process is ticked and nothing is being copied over. I'm sure there's a bug in it.

Should copy over if you've deleted it and want to re copy it over via extra web files and it doesn't very odd!!!
Desford Weather (at parents)
https://desford-weather.co.uk

Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
User avatar
mcrossley
Posts: 12686
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Moon Phases

Post by mcrossley »

richard_newberry wrote:/var/www/moonphasetag.php to /var/www/moonphasetag.php
I hope that is a typo?
Post Reply