I am running CumulusMX on a raspberry pi 4 and sending data to a commercial ISP by FTP.
I now wish to transfer my website to the raspberry pi's own Apache webserver.
I propose to transfer the website contents from the ISP to /var/www/html on the rapberry pi and then disable FTP on the CumulusMX internet settings.
How to I point the various datafiles (realtime, end of day .json files etc). to the /var/www/html directory?
I also have a number of Extra Web files. Again how to I re-point these to /var/www/html directory?
Any help would be appreciated.
David Anderson
Loughborough
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
Configure Cumulusmx local webserver
Moderator: mcrossley
-
- Posts: 39
- Joined: Thu 03 Dec 2009 8:33 am
- Weather Station: Davis Vantage Pro 2
- Operating System: Windows 7
- SJG1976
- Posts: 367
- Joined: Wed 21 Dec 2011 11:04 am
- Weather Station: Davis WLL, with Airlink
- Operating System: Raspberry Pi3 MX on USB Drive
- Location: Glemsford, Suffolk
- Contact:
Re: Configure Cumulusmx local webserver
Is the Raspberry Pi your going to be sending the files too, the same as the Raspberry Pi your running on.
If so I'd would just use the copy rather than an FTP Process.
I've a couple of Raspberry pi, and to send to a remote Raspberry Pi just changed the data from ftp to Sftp.
The only issue I run into was the NOAA Data but this was resolved by using the full /var/www/html/reports path rather than just /reports
However I think if your just doing it all on the one Raspberry Pi the local copy would be best.
I'm sure that is what Mark was running for a while so I'm sure he will advise as well
If so I'd would just use the copy rather than an FTP Process.
I've a couple of Raspberry pi, and to send to a remote Raspberry Pi just changed the data from ftp to Sftp.
The only issue I run into was the NOAA Data but this was resolved by using the full /var/www/html/reports path rather than just /reports
However I think if your just doing it all on the one Raspberry Pi the local copy would be best.
I'm sure that is what Mark was running for a while so I'm sure he will advise as well
Glemsford Weather
https://GlemsfordWeather.co.uk
https://GlemsfordWeather.co.uk
- dane
- Posts: 417
- Joined: Wed 10 Sep 2008 2:15 pm
- Weather Station: Rosenborg 68700
- Operating System: Win10 Ult., 64-bit, RaspberryPi
- Location: Gilleleje, Denmark
Re: Configure Cumulusmx local webserver
If all you need is what you can see and do via the CumulusMX Dashboard you can do this:
- in your router, set up port forwarding of all 8998 traffic to your Pi
- in CumulusMX Settings, send all extra files to the /interface folder
No need for Apache or anything.
This works for me:
Only snag: you need a static internet address. I don't have one, but my internet provider changes the address very rarely, so it's almost like a static...
- in your router, set up port forwarding of all 8998 traffic to your Pi
- in CumulusMX Settings, send all extra files to the /interface folder
No need for Apache or anything.
This works for me:
Only snag: you need a static internet address. I don't have one, but my internet provider changes the address very rarely, so it's almost like a static...
Ib
-
- Posts: 3343
- Joined: Sat 13 Aug 2011 9:33 am
- Weather Station: Ecowitt HP2551
- Operating System: Windows 10 64bit
- Location: Burnham-on-Sea
- Contact:
Re: Configure Cumulusmx local webserver
NO NO NO NO NO NO this is a very BAD idea as your entire CumulusMX set up is exposed to outside interference.dane wrote: ↑Tue 08 Feb 2022 8:02 pm If all you need is what you can see and do via the CumulusMX Dashboard you can do this:
- in your router, set up port forwarding of all 8998 traffic to your Pi
- in CumulusMX Settings, send all extra files to the /interface folder
No need for Apache or anything.
Only snag: you need a static internet address. I don't have one, but my internet provider changes the address very rarely, so it's almost like a static...
I have removed your links as I was able to access your CumulusMX settings and I could also edit your files!!!
- 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: Configure Cumulusmx local webserver
It would, there is an option to copy rather than FTP the standard files, just use that. Any extra files just add them as usual, specify the local path you want them sent to in the remote path, and do not tick the FTP box.
-
- Posts: 39
- Joined: Thu 03 Dec 2009 8:33 am
- Weather Station: Davis Vantage Pro 2
- Operating System: Windows 7
Re: Configure Cumulusmx local webserver
Please clarify: When adding Extra Web Files there are to 2 input fields - Local File Name and Destination File. Where do I specify the remote path?
Also, the realtimegaugesT.txt and hence the copied realtimegauges.txt is no longer updating and instead producing empty files. I have ticked the option to process it. Is there an additional setting I need to enable?
Also, the realtimegaugesT.txt and hence the copied realtimegauges.txt is no longer updating and instead producing empty files. I have ticked the option to process it. Is there an additional setting I need to enable?
-
- Posts: 39
- Joined: Thu 03 Dec 2009 8:33 am
- Weather Station: Davis Vantage Pro 2
- Operating System: Windows 7
Re: Configure Cumulusmx local webserver
I have resolved the remote location issue by prefixing the filename with its path.
I will re-submit my realtimegauges issue as a separate query.
David Anderson, Loughborough
www.eastleake-weather.org.uk
I will re-submit my realtimegauges issue as a separate query.
David Anderson, Loughborough
www.eastleake-weather.org.uk