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

In Index.html file isn't uploading via FTP.

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Bristolian
Posts: 50
Joined: Sun 29 May 2011 4:23 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Location: Huntingdon, Cambridgeshire

In Index.html file isn't uploading via FTP.

Post by Bristolian »

Good afternoon,

Can someone please till me why when the option to upload the supplied / default website is chosen, an index.html file isn't uploaded?.
Several .json files are, but not the main web page.

Very Best Wishes,
Bob.
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: In Index.html file isn't uploading via FTP.

Post by freddie »

This is because the default web site is now data driven. The json files are uploaded regularly. The html files are uploaded once (manually) and read their data from the json files using javascript. So as long as you are uploading the json files then your website will keep updating. The Wiki article explains this.
Freddie
Image
Bristolian
Posts: 50
Joined: Sun 29 May 2011 4:23 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Location: Huntingdon, Cambridgeshire

Re: In Index.html file isn't uploading via FTP.

Post by Bristolian »

Thanks Freddie, I've now uploaded all of the .htm files, but they do not show any data whatsoever!.

Am I meant to edit those .htm files too?.

Very Best Wishes,
Bob.
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: In Index.html file isn't uploading via FTP.

Post by freddie »

Bristolian wrote: Thu 04 Mar 2021 2:19 pmAm I meant to edit those .htm files too?.
Did you upload all files and folders from the webfiles folder in your CumulusMX distribution to your website?
Freddie
Image
water01
Posts: 3670
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: In Index.html file isn't uploading via FTP.

Post by water01 »

And are they from the very latest build or at least from Build 3115 at the latest?
David
Image
Bristolian
Posts: 50
Joined: Sun 29 May 2011 4:23 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Location: Huntingdon, Cambridgeshire

Re: In Index.html file isn't uploading via FTP.

Post by Bristolian »

Hello,

Thank you - yes, I have uploaded everything from the webfiles-legacy folder, after trying the webfiles folder. I have been using the latest build of MX, 3117.

I've attached a screenshot of the index page.

Very Best Wishes,
Bob.
You do not have the required permissions to view the files attached to this post.
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: In Index.html file isn't uploading via FTP.

Post by freddie »

That page can't see the data file (websitedata.json). Is that file being uploaded?
Freddie
Image
Bristolian
Posts: 50
Joined: Sun 29 May 2011 4:23 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Location: Huntingdon, Cambridgeshire

Re: In Index.html file isn't uploading via FTP.

Post by Bristolian »

It says that it is under Standard File Settings.
User avatar
ConligWX
Posts: 1835
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 24.04.1 LTS
Location: Bangor, NI
Contact:

Re: In Index.html file isn't uploading via FTP.

Post by ConligWX »

https://cumuluswiki.org/a/New_Default_W ... o_MX_v3.10
I want to keep the old web site completely, but also update to MX v3.10
It that case you will have to keep the indexT.htm, gaugesT.htm etc. files from a previous release and make sure they are still in your local /web folder.

Then you will have to add every web page template file (indexT.htm, gaugesT.htm etc) to your Cumulus MX Extra Files list; the remote filenames should all drop the 'T' - indexT.htm becomes index.htm. Ensure you tick process, FTP and add your web site FTP folder in remote files
Old templates must now be processed by adding them to the Extra Files list. they are not automatically processed and uploaded any longer.
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: In Index.html file isn't uploading via FTP.

Post by freddie »

I thought @Bristolian wanted to use the data-driven version of the old web template. @Bristolian: do you have a link to your web site, please?
Freddie
Image
Bristolian
Posts: 50
Joined: Sun 29 May 2011 4:23 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Location: Huntingdon, Cambridgeshire

Re: In Index.html file isn't uploading via FTP.

Post by Bristolian »

ConligWX wrote: Thu 04 Mar 2021 3:05 pm https://cumuluswiki.org/a/New_Default_W ... o_MX_v3.10
I want to keep the old web site completely, but also update to MX v3.10
It that case you will have to keep the indexT.htm, gaugesT.htm etc. files from a previous release and make sure they are still in your local /web folder.

Then you will have to add every web page template file (indexT.htm, gaugesT.htm etc) to your Cumulus MX Extra Files list; the remote filenames should all drop the 'T' - indexT.htm becomes index.htm. Ensure you tick process, FTP and add your web site FTP folder in remote files
Old templates must now be processed by adding them to the Extra Files list. they are not automatically processed and uploaded any longer.
In my Cumulus folder, I have the following folders:-
web
webfiles
webfiles-legacy

I have copied the contents of webfiles-legacy to my root folder online. The websitedata.json file is uploading automatically via the FTP feature of MX, as are all the json files.
From reading the above, do I have to manually add those htm files from the original web folder, and rename them in the next box along in the Extra Files list?.

Very Best Wishes,
Bob.
Bristolian
Posts: 50
Joined: Sun 29 May 2011 4:23 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Location: Huntingdon, Cambridgeshire

Re: In Index.html file isn't uploading via FTP.

Post by Bristolian »

freddie wrote: Thu 04 Mar 2021 3:11 pm I thought @Bristolian wanted to use the data-driven version of the old web template. @Bristolian: do you have a link to your web site, please?
Hello, yes, it's here:-
http://huntsweather.byethost7.com

I want the best version that will work!.

Very Best Wishes,
Bob.
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: In Index.html file isn't uploading via FTP.

Post by freddie »

Worked it out for myself: http://huntsweather.byethost7.com/

Your data file is being uploaded, as you said.

The css folder is missing, but all other folders appear to be present.
Scratch that - you are using the legacy folder.
Freddie
Image
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: In Index.html file isn't uploading via FTP.

Post by freddie »

Bristolian wrote: Thu 04 Mar 2021 3:15 pmI want the best version that will work!
Have you considered trying the new website then?
Freddie
Image
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: In Index.html file isn't uploading via FTP.

Post by mcrossley »

Ah! The legacy-webfiles have fallen victim to changes implemented in the new web site.

Please try putting this version of the script in the web server "/js" folder.
You do not have the required permissions to view the files attached to this post.
Post Reply