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

Running CumulusMX on Pi with Apache Web Server

Topics about the Beta trials up to Build 3043, the last build by Cumulus's founder Steve Loft. It was by this time way out of Beta but Steve wanted to keep it that way until he made a decision on his and Cumulus's future.

Moderator: mcrossley

Locked
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

Post by n1iwv »

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
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

Post by BigOkie »

Are you running an ftp server on the Pi yet?
User avatar
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

Post by mcrossley »

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.
User avatar
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

Post by mcrossley »

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

Post by n1iwv »

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
User avatar
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

Post by nitrx »

You should not use the T on the remote site.. the realtimegauges need a parsed file on the remotesite

ergo

Code: Select all

remote = /var/www/realtimegaugesT.txt
should be
remote = /var/www/realtimegauges.txt
User avatar
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

Post by jpsc »

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).
John Cooper

Cumulus MX v4 on RPi3 with SSD

http://weather.mountpleasanthouse.uk

Image
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

Post by n1iwv »

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
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

Post by n1iwv »

Thanks jpsc:

Yes, if you could show me your config file, that would be great.

Ed
User avatar
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

Post by steve »

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

Post by mzambo001 »

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.
Can you use a wildcard or must you list them all one by one?
User avatar
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

Post by steve »

You have to list them all.
Steve
Locked