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
Confused about CumulusMX and web server on same Raspberry Pi
Moderator: mcrossley
-
BigJeffIE
- Posts: 16
- Joined: Sat 02 Apr 2016 8:56 pm
- Weather Station: Instromet
- Operating System: Rasp Pi
- Location: Ireland
Confused about CumulusMX and web server on same Raspberry Pi
Hi folks,
I'm confused about how to go about setting up the transfer process of web files if your also using your raspberry pi as the webserver (Apache2)
I've set it up so that it ftp's the files to itself but there's mention that this doesn't need to be done if the web server is on the same host.
I just can't figure it out so any pointers in the right direction would be most helpful.
Thanks,
CJ
I'm confused about how to go about setting up the transfer process of web files if your also using your raspberry pi as the webserver (Apache2)
I've set it up so that it ftp's the files to itself but there's mention that this doesn't need to be done if the web server is on the same host.
I just can't figure it out so any pointers in the right direction would be most helpful.
Thanks,
CJ
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Confused about CumulusMX and web server on same Raspberr
There's currently no automatic way to get the standard files copied rather than ftp'd, so all of the files need to be listed on the 'extra files' page, with 'ftp' not ticked. I'm not sure whether there's a full list of the required files anywhere, but basically it's all of the .htm files plus all of the .json files (for the graphs) plus realtimegauges.txt for the gauges page.
Then just remove the host/user/password from the ftp details so it doesn't try making an ftp connection.
People who are actually doing this may be able to offer further/better advice.
Then just remove the host/user/password from the ftp details so it doesn't try making an ftp connection.
People who are actually doing this may be able to offer further/better advice.
Steve
-
BigJeffIE
- Posts: 16
- Joined: Sat 02 Apr 2016 8:56 pm
- Weather Station: Instromet
- Operating System: Rasp Pi
- Location: Ireland
Re: Confused about CumulusMX and web server on same Raspberr
OK, thanks for the reply Steve.
If you set it up like that, which folder do those files end up in?
Thanks,
CJ
If you set it up like that, which folder do those files end up in?
Thanks,
CJ
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Confused about CumulusMX and web server on same Raspberr
They end up wherever you tell Cumulus to put them (in the remote file column).
Steve
-
BigJeffIE
- Posts: 16
- Joined: Sat 02 Apr 2016 8:56 pm
- Weather Station: Instromet
- Operating System: Rasp Pi
- Location: Ireland
Re: Confused about CumulusMX and web server on same Raspberr
Hi Steve,
Of course!! that makes sense now.
OK, thanks for the help.
Of course!! that makes sense now.
OK, thanks for the help.
-
sfws
- Posts: 1183
- Joined: Fri 27 Jul 2012 11:29 am
- Weather Station: Chas O, Maplin N96FY, N25FR
- Operating System: rPi 3B+ with Buster (full)
Re: Confused about CumulusMX and web server on same Raspberr
A MX user needs to update this for MX as it does not mention realtimegauges.txt: http://wiki.sandaysoft.com/a/Simple_Web ... up#Testingsteve wrote: I'm not sure whether there's a full list of the required files anywhere, but basically it's all of the .htm files plus all of the .json files (for the graphs) plus realtimegauges.txt for the gauges page.
-
BigJeffIE
- Posts: 16
- Joined: Sat 02 Apr 2016 8:56 pm
- Weather Station: Instromet
- Operating System: Rasp Pi
- Location: Ireland
Re: Confused about CumulusMX and web server on same Raspberr
OK, thanks for the info SFWS.
For now I have another problem in that I don't seem to be getting anything from my Instromet data logger so I'll open a separate post for that.
For now I have another problem in that I don't seem to be getting anything from my Instromet data logger so I'll open a separate post for that.
-
Dan
- Posts: 10
- Joined: Fri 22 May 2015 10:06 pm
- Weather Station: Aercus WS3083
- Operating System: Raspbian Jessie
- Location: Wellington, New Zealand
- Contact:
Re: Confused about CumulusMX and web server on same Raspberr
Hi guys,
Have got a Pi3 running with Cumulus MX after my laptop died. This was Win 7 with Cumulus 1 and had no issues with XAMMP LAMP and using as a web server.
Cumulus MX running well and I am updating Met Office WOW and Wunderground, but am having real problems hosting my webserver locally on the Pi (running Apache). It was relatively easy on the old software, but I'm having no luck on MX with the Pi. I'm a bit stumped!
Worked through the simple website wiki but still no joy (http://wiki.sandaysoft.com/a/Simple_Web ... up#Testing)
Has anybody got a full instructable on how to do this?
Thanks
Dan
Have got a Pi3 running with Cumulus MX after my laptop died. This was Win 7 with Cumulus 1 and had no issues with XAMMP LAMP and using as a web server.
Cumulus MX running well and I am updating Met Office WOW and Wunderground, but am having real problems hosting my webserver locally on the Pi (running Apache). It was relatively easy on the old software, but I'm having no luck on MX with the Pi. I'm a bit stumped!
Worked through the simple website wiki but still no joy (http://wiki.sandaysoft.com/a/Simple_Web ... up#Testing)
Has anybody got a full instructable on how to do this?
Thanks
Dan
- philpugh
- Posts: 428
- Joined: Tue 24 May 2011 8:34 am
- Weather Station: See Signature
- Operating System: Debian 12 (RPi5)
- Location: Antrobus, Cheshire, UK
- Contact:
Re: Confused about CumulusMX and web server on same Raspberr
Can you access anything on your pi webserver?
I run Apache alongside CumulusMX on my bananapi under Debian. I don't use the basic web pages supplied with Cumulus but use my own php derived pages. IIRC the installation of Apache leaves a test 'page' in /var/www - you should be able to access that from another system to check basic operation. After that it should be as described in the wiki / guide. Copy to /var/www ..... Again if you have also installed PHP this leaves a test page.
I run Apache alongside CumulusMX on my bananapi under Debian. I don't use the basic web pages supplied with Cumulus but use my own php derived pages. IIRC the installation of Apache leaves a test 'page' in /var/www - you should be able to access that from another system to check basic operation. After that it should be as described in the wiki / guide. Copy to /var/www ..... Again if you have also installed PHP this leaves a test page.
Phil Pugh
GW1100 + WH65/WH57/WH31;GW1100 + WS68/WH40A (also with HP25xx console); GW2001 WittBoy
CumulusMX V4 / CUtils V7
Raspberry Pi 5 64bit
https://goosegate.uk/
GW1100 + WH65/WH57/WH31;GW1100 + WS68/WH40A (also with HP25xx console); GW2001 WittBoy
CumulusMX V4 / CUtils V7
Raspberry Pi 5 64bit
https://goosegate.uk/
-
BigJeffIE
- Posts: 16
- Joined: Sat 02 Apr 2016 8:56 pm
- Weather Station: Instromet
- Operating System: Rasp Pi
- Location: Ireland
Re: Confused about CumulusMX and web server on same Raspberr
If you're using Raspbian Jessie on your pi3 the files are now in /var/www/html.
Maybe that's the problem.
Maybe that's the problem.
- philpugh
- Posts: 428
- Joined: Tue 24 May 2011 8:34 am
- Weather Station: See Signature
- Operating System: Debian 12 (RPi5)
- Location: Antrobus, Cheshire, UK
- Contact:
Re: Confused about CumulusMX and web server on same Raspberr
Irrespective of where the root of the web pages are, the same principle applies.
You need to set up the files in CumulusMX/web to be 'converted' by CumulusMX and the result placed into the web root directory.
From the :8998 page use the Settings/Extra web files tab.
The Local File Name should be something like /home/pi/CumulusMX/web/filenameT.htm
The Remote file name should be webroot/filename.ext where webroot is /var/www or /var/www/root and filename is the original filename without the trailing T. The extension can be .htm or .html or whatever is recognised by Apache as HTML. I would stick to one of the two mentioned!
You should then select the Process tick box, optionally the Realtime tick box if you want to update at your realtime interval, leave the FTP box unchecked and I leave the UTF-8 set.
Try it with the indexT.htm file first - then you can add the others when this is working. This should process the file every station polling setting (usually 10/15 minutes) - whatever you set it to.
If you want to 'speed' up the process ensure you have selected the Realtime checkbox and set a sensible value for realtime update in Settings/Internet Settings/Web FTP from the :8998 page. I would suggest a 30 second interval.
After the appropriate interval the file (eg index.htm) should appear in the web root directory and you should then be able to access this from a browser on another machine.
Good luck!
You need to set up the files in CumulusMX/web to be 'converted' by CumulusMX and the result placed into the web root directory.
From the :8998 page use the Settings/Extra web files tab.
The Local File Name should be something like /home/pi/CumulusMX/web/filenameT.htm
The Remote file name should be webroot/filename.ext where webroot is /var/www or /var/www/root and filename is the original filename without the trailing T. The extension can be .htm or .html or whatever is recognised by Apache as HTML. I would stick to one of the two mentioned!
You should then select the Process tick box, optionally the Realtime tick box if you want to update at your realtime interval, leave the FTP box unchecked and I leave the UTF-8 set.
Try it with the indexT.htm file first - then you can add the others when this is working. This should process the file every station polling setting (usually 10/15 minutes) - whatever you set it to.
If you want to 'speed' up the process ensure you have selected the Realtime checkbox and set a sensible value for realtime update in Settings/Internet Settings/Web FTP from the :8998 page. I would suggest a 30 second interval.
After the appropriate interval the file (eg index.htm) should appear in the web root directory and you should then be able to access this from a browser on another machine.
Good luck!
Phil Pugh
GW1100 + WH65/WH57/WH31;GW1100 + WS68/WH40A (also with HP25xx console); GW2001 WittBoy
CumulusMX V4 / CUtils V7
Raspberry Pi 5 64bit
https://goosegate.uk/
GW1100 + WH65/WH57/WH31;GW1100 + WS68/WH40A (also with HP25xx console); GW2001 WittBoy
CumulusMX V4 / CUtils V7
Raspberry Pi 5 64bit
https://goosegate.uk/
- philpugh
- Posts: 428
- Joined: Tue 24 May 2011 8:34 am
- Weather Station: See Signature
- Operating System: Debian 12 (RPi5)
- Location: Antrobus, Cheshire, UK
- Contact:
Re: Confused about CumulusMX and web server on same Raspberr
Another thought - it's been a while since I set up my system and I can't remember if Apache installation creates a .htaccess file in the web root directory but I have one there and it contains the lines:

I am still on Debian Wheezy - haven't needed anything from the later release - so I am leaving it alone for nowAddType application/x-httpd-php .htm .html
# This prevents web browsers or spiders from seeing your .htaccess directives:
<Files .htaccess>
deny from all
</Files>
Phil Pugh
GW1100 + WH65/WH57/WH31;GW1100 + WS68/WH40A (also with HP25xx console); GW2001 WittBoy
CumulusMX V4 / CUtils V7
Raspberry Pi 5 64bit
https://goosegate.uk/
GW1100 + WH65/WH57/WH31;GW1100 + WS68/WH40A (also with HP25xx console); GW2001 WittBoy
CumulusMX V4 / CUtils V7
Raspberry Pi 5 64bit
https://goosegate.uk/
-
Dan
- Posts: 10
- Joined: Fri 22 May 2015 10:06 pm
- Weather Station: Aercus WS3083
- Operating System: Raspbian Jessie
- Location: Wellington, New Zealand
- Contact:
Re: Confused about CumulusMX and web server on same Raspberr
Hi Phil,
Thanks for the prompt response
The default :8998 looks to be working fine. Likewise, browsing to :80 brings up the default Apache pages.
I have followed the Wiki instruction (http://wiki.sandaysoft.com/a/Simple_Website_setup) plus a few tweaks as it is wrong in places (doesn't mention dropping the T from the destination extra web file destination file for example)
I have copied the below folders and stylesheet from my MX location (mx/Cumulus/CumulusMX/web) to default Apache folder (/var/www/html):
/images
/js
/lib
weatherstyle.css
I have also created an entry in the Settings/ Extra web files tab for every filenameT entry in source file mx/Cumulus/CumulusMX/webfiles/filenameT to /var/www/html/filename
I've done this for all the files (http://wiki.sandaysoft.com/a/Customised ... _Templates)
I've ticked the Process box and the UTF-8 foreach (note no tick in FTP or Realtime)
So I've done all this but no files seem to pop into the /var/www/html folder from MX
When i get home I'll upload some screen shots from MX and ls -al outputs to show my access permissions.
I'm no Linux guru and I'm a bit stuck. I'm sure it is something simple though!
Thanks
Dan
Thanks for the prompt response
The default :8998 looks to be working fine. Likewise, browsing to :80 brings up the default Apache pages.
I have followed the Wiki instruction (http://wiki.sandaysoft.com/a/Simple_Website_setup) plus a few tweaks as it is wrong in places (doesn't mention dropping the T from the destination extra web file destination file for example)
I have copied the below folders and stylesheet from my MX location (mx/Cumulus/CumulusMX/web) to default Apache folder (/var/www/html):
/images
/js
/lib
weatherstyle.css
I have also created an entry in the Settings/ Extra web files tab for every filenameT entry in source file mx/Cumulus/CumulusMX/webfiles/filenameT to /var/www/html/filename
I've done this for all the files (http://wiki.sandaysoft.com/a/Customised ... _Templates)
I've ticked the Process box and the UTF-8 foreach (note no tick in FTP or Realtime)
So I've done all this but no files seem to pop into the /var/www/html folder from MX
When i get home I'll upload some screen shots from MX and ls -al outputs to show my access permissions.
I'm no Linux guru and I'm a bit stuck. I'm sure it is something simple though!
Thanks
Dan
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Confused about CumulusMX and web server on same Raspberr
Can you be more specific about the places where that page is wrong, please, so it can be corrected? The only place it mentions the extra web files is for the realtimegauges.txt file, and I can't see where it is wrong.Dan wrote:I have followed the Wiki instruction (http://wiki.sandaysoft.com/a/Simple_Website_setup) plus a few tweaks as it is wrong in places (doesn't mention dropping the T from the destination extra web file destination file for example)
Steve
-
Dan
- Posts: 10
- Joined: Fri 22 May 2015 10:06 pm
- Weather Station: Aercus WS3083
- Operating System: Raspbian Jessie
- Location: Wellington, New Zealand
- Contact:
Re: Confused about CumulusMX and web server on same Raspberr
Got it working. Did a complete purge of NginX and Apache, then reloaded Apache.
Changed owner of var/www/html to mx and set it to 777. Probably overkill but it's working now which is all that matters.
Hey Steve - my bad about the instructions being wrong in the Wiki. I was just me being a dick and reading it wrong so apologies for that. It's all good mate.
Thanks
Dan
Changed owner of var/www/html to mx and set it to 777. Probably overkill but it's working now which is all that matters.
Hey Steve - my bad about the instructions being wrong in the Wiki. I was just me being a dick and reading it wrong so apologies for that. It's all good mate.
Thanks
Dan