Having run Cumulus 1 for a number of years on a pc feeding an apache web server on a linux (Fedora) box (http://www.craythorneweather.info) from a Fine Offset weather station, I have changed to running MX on a raspberry pi 3. This has enabled me to get the wireless receiver and raspberry pi far closer to the weather station than was possible with my pc and eliminate the high level of signal drop outs that were occurring.
My templates are modified versions of the standard templates and the installation of the latest versions of MX and mono on the RPI went without a hitch.
At the moment I am feeding two systems from MX on the RPI, my original apache server by ftp on the fedora system which is exposed to the outside world and a nginx web server on the RPI with files copied using the 'extra web files' facility which I can browse on the local network.
As both systems use the same files they are identical with the exception of the moon graphic. The PHP coding for this works perfectly on the apache server but not on the nginx one. It's not a question of PHP not working on nginx as I can run a test PHP file and get the correct result. As it is the same file that sent to both servers I am at a loss to isolate the cause.
Any suggestion on how to narrow down my search for the error would be most welcome.
Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 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.0.1 (build 4023) - 16 May 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
CumulusMX Raspberry PI and nginx
Moderator: mcrossley
-
- Posts: 35
- Joined: Sun 07 Jun 2009 2:07 pm
- Weather Station: W-8681
- Operating System: RPI Buster MX 3117
- Contact:
CumulusMX Raspberry PI and nginx
Joe Curtis
- mcrossley
- Posts: 12953
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: CumulusMX Raspberry PI and nginx
Do you have the PHP GD package installed?
Which moon graphic code are you using?
Which moon graphic code are you using?
-
- Posts: 35
- Joined: Sun 07 Jun 2009 2:07 pm
- Weather Station: W-8681
- Operating System: RPI Buster MX 3117
- Contact:
Re: CumulusMX Raspberry PI and nginx
I am using files (and instructions) out of the moonphase.zip file from David at djmsystems. The version of PHP I have on the RPI is PHP5-FPM which is the version shown in most of the nginx configuration examples I have seen.
I'll read up on GD and substitute that. Many thanks for the pointer.
I'll read up on GD and substitute that. Many thanks for the pointer.
Joe Curtis
-
- Posts: 35
- Joined: Sun 07 Jun 2009 2:07 pm
- Weather Station: W-8681
- Operating System: RPI Buster MX 3117
- Contact:
Re: CumulusMX Raspberry PI and nginx
That solved it. Many thanks. I can now get on with my life!
Joe Curtis