If you use Cumulus, please donate Image

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

Data not uploading.

Discussion of version 3 of Cumulus, which runs on Windows, Linux, and OS X. All Cumulus MX queries in here, please.
bruton
Posts: 8
Joined: Sun Mar 19, 2017 1:36 pm
Weather Station: w1080
Operating System: Jessie

Data not uploading.

Postby bruton » Mon Mar 20, 2017 5:24 pm

Ive got CumulusMX running on a pi zero. All the data is updating on the pi.
Ive got the ftp working and uploaded files.
Ive uploaded /web and /webfiles

On the internet it is like there is no data being uploaded so the dials have never updated.

Ive read about uploading reatimegaugesT.txt as realtimegauges.txt and tried all permutations of the path but still does not upload the file.
Tried:
/home/pi/CumulusMX/web/realtimegaugesT.txt
home/pi/CumulusMX/web/realtimegaugesT.txt
/pi/CumulusMX/web/realtimegaugesT.txt
pi/CumulusMX/web/realtimegaugesT.txt
/CumulusMX/web/realtimegaugesT.txt
CumulusMX/web/realtimegaugesT.txt
/web/realtimegaugesT.txt
web/realtimegaugesT.txt
/realtimegaugesT.txt
realtimegaugesT.txt

If i upload it manually i get the error- parseerror:syntaxerror: JSON.parse: unexpected character at line 72 column 17 of the JSON data

Ive read people having asame fault but not seen any resolution to this problem.

Anyone give me a pointer?

User avatar
steve
Cumulus Author
Posts: 26080
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: Davis VP2
Operating System: Raspbian
Location: Sanday, Orkney
Contact:

Re: Data not uploading.

Postby steve » Mon Mar 20, 2017 5:48 pm

You don't need to manually configure realtimegauges.txt with the latest version of MX, just make sure you have all the realtime ftp options selected. A link to your web site would help diagnosis.

You don't need the contents of the Cumulus web folder on your server. If the instructions you followed tell you to upload it, please let me know where that is so it can be corrected.
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Like Cumulus and want to support it? Please donate! Image

bruton
Posts: 8
Joined: Sun Mar 19, 2017 1:36 pm
Weather Station: w1080
Operating System: Jessie

Re: Data not uploading.

Postby bruton » Mon Mar 20, 2017 6:00 pm


User avatar
steve
Cumulus Author
Posts: 26080
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: Davis VP2
Operating System: Raspbian
Location: Sanday, Orkney
Contact:

Re: Data not uploading.

Postby steve » Mon Mar 20, 2017 6:08 pm

Do you have the following set in the internet settings?

2017-03-20 18_06_54-Cumulus MX.png


And if so, have you tried restarting Cumulus?
You do not have the required permissions to view the files attached to this post.
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Like Cumulus and want to support it? Please donate! Image

bruton
Posts: 8
Joined: Sun Mar 19, 2017 1:36 pm
Weather Station: w1080
Operating System: Jessie

Re: Data not uploading.

Postby bruton » Mon Mar 20, 2017 6:08 pm

So what do i need to upload?

User avatar
steve
Cumulus Author
Posts: 26080
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: Davis VP2
Operating System: Raspbian
Location: Sanday, Orkney
Contact:

Re: Data not uploading.

Postby steve » Mon Mar 20, 2017 6:09 pm

bruton wrote:So what do i need to upload?
The contents of the webfiles folder, as you have done.
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Like Cumulus and want to support it? Please donate! Image

bruton
Posts: 8
Joined: Sun Mar 19, 2017 1:36 pm
Weather Station: w1080
Operating System: Jessie

Re: Data not uploading.

Postby bruton » Mon Mar 20, 2017 6:12 pm

yes ive got those settings but changed upload frequency to 1 minute so i can do changes

User avatar
steve
Cumulus Author
Posts: 26080
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: Davis VP2
Operating System: Raspbian
Location: Sanday, Orkney
Contact:

Re: Data not uploading.

Postby steve » Mon Mar 20, 2017 6:15 pm

Have you tried restarting Cumulus? Many settings require a restart. Having restarted Cumulus, is the realtimegauges.txt file actually present on your web server in the 'weather' directory? Some web servers (normally with free hosting) do not allow .txt files to be served.
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Like Cumulus and want to support it? Please donate! Image

bruton
Posts: 8
Joined: Sun Mar 19, 2017 1:36 pm
Weather Station: w1080
Operating System: Jessie

Re: Data not uploading.

Postby bruton » Mon Mar 20, 2017 6:17 pm

there are a few things not working on the station at mo and i think its down to batteries being low but the wind speed works ok

bruton
Posts: 8
Joined: Sun Mar 19, 2017 1:36 pm
Weather Station: w1080
Operating System: Jessie

Re: Data not uploading.

Postby bruton » Mon Mar 20, 2017 6:22 pm

hmmmm i dont know what has happened but now i restarted the pi it uploaded the files needed. I tried that yesterday...

Seems to be working now.

beeman
Posts: 114
Joined: Sat Mar 14, 2009 1:04 pm
Weather Station: Davis Vantage Vue
Operating System: Raspbian
Location: South Oxfordshire, UK

Re: Data not uploading.

Postby beeman » Tue Apr 11, 2017 9:03 pm

Sorry for hijacking this thread but is there anything special required to get a Pi zero w to run Cumulus MX? I already have it running on a Pi 2 but want to swap it to Zero W.

Can I just pop the card from the Pi 2 into the Pi Zero?
Thanks
Image


Return to “Cumulus MX”

Who is online

Users browsing this forum: rovert and 6 guests