CumulusMX Raspberry PI and nginx
Posted: Tue 10 May 2016 9:21 pm
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.
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.