Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

Porting website to server? Removing settings/edit

Discussion of version 3 of Cumulus, which runs on Windows, Linux, and OS X. All Cumulus MX queries in here, please.
orfeo
Posts: 5
Joined: Wed Jul 08, 2015 4:13 pm
Weather Station: Davis VP2+
Operating System: Linux Mint / Windows 7
Location: Toronto Canada

Porting website to server? Removing settings/edit

Postby orfeo » Fri Jul 06, 2018 5:50 pm

Hi,

I've used Cumulus for a while at my work weather station. I've since upgraded to CumulusMX. We used to simply copy the webpage files across the network to our server which is open to the public. But this doesn't work with the CumulusMX structure. We're thinking of making a proxy for the machine that runs the CumulusMX interface. But we'd like to remove any security risks like the Setting and Edit tab on the taskbar at the top.

Can someone point me in the right direction for this? If it is possible to copy the website to a server to host it please let me know. I've been told that CumulusMX has a " partitioned front-end/back-end system where the front end is Javascript that makes API calls to a backend server" which will not allow it to be copied to a server.

many thanks
orfeo

User avatar
steve
Cumulus Author
Posts: 26558
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Porting website to server? Removing settings/edit

Postby steve » Fri Jul 06, 2018 7:02 pm

I don't recommend trying to use the Cumulus UI for a public web site unless you really know what you're doing security-wise.

I don't understand why you can't use the MX web site in the same way that you did with the Cumulus 1 web site. Most of the standard MX site is the same as the standard Cumulus 1 web site anyway, and it's just a set of files generated by Cumulus which are copied to a web server, either by FTP (the usual case for most users) or by copying (if your web server is on the same network as your Cumulus machine). The copying alternative just requires more work by yourself to add the required files to the 'extra' files in Cumulus (or you can use an external mechanism to copy the files if you wish).
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development since I have retired from my day job

orfeo
Posts: 5
Joined: Wed Jul 08, 2015 4:13 pm
Weather Station: Davis VP2+
Operating System: Linux Mint / Windows 7
Location: Toronto Canada

Re: Porting website to server? Removing settings/edit

Postby orfeo » Fri Jul 06, 2018 7:19 pm

Thanks Steve

Can you point me to any info on what files need to be copies? I copied the entire CumulusMX directory to my webserver and then loaded the interface/index.html file. The webpage appears but the stats are dead. I should probably read the FAQ ! sorry :)
orfeo

User avatar
steve
Cumulus Author
Posts: 26558
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Porting website to server? Removing settings/edit

Postby steve » Fri Jul 06, 2018 7:41 pm

That's the MX user interface that you're trying to use. It looks like a web site, but it isn't. The MX web site files are in the same directories as Cumulus 1 - i.e. the static files that you would normally copy to your web server manually just once are in the webfiles folder, and the files which Cumulus generates periodically are in the web folder. It's pretty much the same as Cumulus 1, with the addition of the json files which the graphs use.
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development since I have retired from my day job

User avatar
Toxic17
Posts: 780
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis VPro2 Plus
Operating System: Deb 9.4 Stretch
Location: Bangor, NI
Contact:

Re: Porting website to server? Removing settings/edit

Postby Toxic17 » Fri Jul 06, 2018 8:34 pm

I did try this a while back and a few people have managed to do their own thing with the CumulsMX UI thought it only works of cumulusmx is on the same server as the webserver afaik.

your better to just use either the Cumulus Webfiles site: https://www.conligwx.org/index.htm

or install your own template like so:

Saratoga Templates: https://www.conligwx.org/
Brian's PWS webfiles: https://www.conligwx.org/pws/index.php

there are a number of other ones, but the latter two are the most common Templates.
Regards Simon

https://www.conligwx.org
https://www.conligwx.org/pws/
https://twitter.com/conligwx
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image

orfeo
Posts: 5
Joined: Wed Jul 08, 2015 4:13 pm
Weather Station: Davis VP2+
Operating System: Linux Mint / Windows 7
Location: Toronto Canada

Re: Porting website to server? Removing settings/edit

Postby orfeo » Mon Jul 16, 2018 7:41 pm

Thanks Steve

My issue was i hadn't actually setup the Settings-->Internet Settings-->Web FTP Settings . If i recall i had to check the auto update box and set the interval. Then the htm files were created and like you said i just copied them to the server.

cheers
orfeo


Return to “Cumulus MX”

Who is online

Users browsing this forum: No registered users and 3 guests