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
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
Running CumulusMX on Pi with Apache Web Server
Moderator: mcrossley
-
n1iwv
- Posts: 17
- Joined: Sun 28 Jun 2015 4:17 pm
- Weather Station: Davis Vantage Vue
- Operating System: Linux / Raspberry Pi
- Location: Greenfield, NH
Running CumulusMX on Pi with Apache Web Server
I am in the process of moving my Cumulus setup off my PC and onto a Raspberry Pi.
Given that CMX is still Beta and the fact I am having trouble uploading data to my ISP, I'd like to test this out on a local website being served by Apache running on the Pi.
Firstly..I am somewhat new to Linux/Raspbian but I have been reading (until my eyes bleed) as much as I can to get somewhat knowledgeable about the basic of Raspbian.
I've moved the files from the web & webfiles directory over to directory /var/www on the pi and can get to the website from any computer on my LAN using the static IP address for the Pi (192.168.1.200). That's all good.
The question I have is:
Setting up CMX on the Pi under web/ftp. Should my host be 127.0.0.1?
Do I use my Pi logon Username: Pi ..Password RaspBerry ( all defaults?
Port 21?
Directory: /var/www?
Extra web files
local = /home/pi/CumulusMX/web/realtimegaugesT.txt
remote = /var/www/realtimegaugesT.txt
So far I am having no luck updating the website
My WX station is a Davis VantageVue with the WeatherLink TCPIP logger
Thanks for allowing me to participate in the Beta Testing
Ed
Given that CMX is still Beta and the fact I am having trouble uploading data to my ISP, I'd like to test this out on a local website being served by Apache running on the Pi.
Firstly..I am somewhat new to Linux/Raspbian but I have been reading (until my eyes bleed) as much as I can to get somewhat knowledgeable about the basic of Raspbian.
I've moved the files from the web & webfiles directory over to directory /var/www on the pi and can get to the website from any computer on my LAN using the static IP address for the Pi (192.168.1.200). That's all good.
The question I have is:
Setting up CMX on the Pi under web/ftp. Should my host be 127.0.0.1?
Do I use my Pi logon Username: Pi ..Password RaspBerry ( all defaults?
Port 21?
Directory: /var/www?
Extra web files
local = /home/pi/CumulusMX/web/realtimegaugesT.txt
remote = /var/www/realtimegaugesT.txt
So far I am having no luck updating the website
My WX station is a Davis VantageVue with the WeatherLink TCPIP logger
Thanks for allowing me to participate in the Beta Testing
Ed
-
BigOkie
- Posts: 283
- Joined: Tue 28 May 2013 1:06 am
- Weather Station: Davis VP2 Plus
- Operating System: Raspian Bookworm (RPi 3b)
- Location: Tulsa, OK
Re: Running CumulusMX on Pi with Apache Web Server
Are you running an ftp server on the Pi yet?
- mcrossley
- Posts: 14388
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Running CumulusMX on Pi with Apache Web Server
No, you don't need to bother with ftp, just use the local file name in the 'remote' field, but make sure you untick ftp.
Also your remote file name for the gauges file is incorrect, there is no 'T' in the remote file name.
Also your remote file name for the gauges file is incorrect, there is no 'T' in the remote file name.
- mcrossley
- Posts: 14388
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Running CumulusMX on Pi with Apache Web Server
Also, I think NGinX is a better matched web server for the rPi than Apache which is rather resource hungry particularly in the thread department, probably OK for the low volume sites most of us run though.
-
n1iwv
- Posts: 17
- Joined: Sun 28 Jun 2015 4:17 pm
- Weather Station: Davis Vantage Vue
- Operating System: Linux / Raspberry Pi
- Location: Greenfield, NH
Re: Running CumulusMX on Pi with Apache Web Server
Thanks for the reply.
I will try to use the file to file transfer rather than ftp and see what happens.
I added the "T" to realtimeguages because that's what was indicated in the "Simple Website Setup" instructions.
http://wiki.sandaysoft.com/a/Simple_Website_setup
--------------------------------------------------------------------------------------------
'Local filenames' column
Use Browse option to find web\realtimegaugesT.txt
---------------------------------------------------------------------------------------------
Am I missing something?
I am trying to get to a point where I can contribute to the forum rather than just ask dumb questions.
Thanks Again
Ed
I will try to use the file to file transfer rather than ftp and see what happens.
I added the "T" to realtimeguages because that's what was indicated in the "Simple Website Setup" instructions.
http://wiki.sandaysoft.com/a/Simple_Website_setup
--------------------------------------------------------------------------------------------
'Local filenames' column
Use Browse option to find web\realtimegaugesT.txt
---------------------------------------------------------------------------------------------
Am I missing something?
I am trying to get to a point where I can contribute to the forum rather than just ask dumb questions.
Thanks Again
Ed
- nitrx
- Posts: 1297
- Joined: Sun 13 Dec 2009 1:21 pm
- Weather Station: WH1080
- Operating System: Windows 10
- Location: Apeldoorn The Netherlands
- Contact:
Re: Running CumulusMX on Pi with Apache Web Server
You should not use the T on the remote site.. the realtimegauges need a parsed file on the remotesite
ergo should be
ergo
Code: Select all
remote = /var/www/realtimegaugesT.txtremote = /var/www/realtimegauges.txt
- jpsc
- Posts: 183
- Joined: Tue 23 Aug 2011 6:06 pm
- Weather Station: Davis Vantage Vue, belfryboy USB
- Operating System: Raspbian Bullseye
- Location: Wye valley, Herefordshire, UK
- Contact:
Re: Running CumulusMX on Pi with Apache Web Server
I am doing exactly what you want to do. It just works (see below).
As other replies, you do not need an ftp server, CMX can just copy the files.
If you need a copy of my config just shout (I am not at home at the moment).
As other replies, you do not need an ftp server, CMX can just copy the files.
If you need a copy of my config just shout (I am not at home at the moment).
-
n1iwv
- Posts: 17
- Joined: Sun 28 Jun 2015 4:17 pm
- Weather Station: Davis Vantage Vue
- Operating System: Linux / Raspberry Pi
- Location: Greenfield, NH
Re: Running CumulusMX on Pi with Apache Web Server
Thanks!!!
I got the guages to work and I added the index.htm file in the same manner.
Do I have to do the same thing for all the files in the web folder?
Making progress!!
Ed
I got the guages to work and I added the index.htm file in the same manner.
Do I have to do the same thing for all the files in the web folder?
Making progress!!
Ed
-
n1iwv
- Posts: 17
- Joined: Sun 28 Jun 2015 4:17 pm
- Weather Station: Davis Vantage Vue
- Operating System: Linux / Raspberry Pi
- Location: Greenfield, NH
Re: Running CumulusMX on Pi with Apache Web Server
Thanks jpsc:
Yes, if you could show me your config file, that would be great.
Ed
Yes, if you could show me your config file, that would be great.
Ed
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Running CumulusMX on Pi with Apache Web Server
Yes, if you want Cumulus to copy the standard files rather than ftp them, then at the moment you have to list them in the extra files section.
Steve
-
mzambo001
- Posts: 21
- Joined: Tue 18 Aug 2015 2:29 am
- Weather Station: Davis
- Operating System: Linux
- Location: Pittsburgh, PA
Re: Running CumulusMX on Pi with Apache Web Server
Can you use a wildcard or must you list them all one by one?steve wrote:Yes, if you want Cumulus to copy the standard files rather than ftp them, then at the moment you have to list them in the extra files section.
