Author Topic: Cumulus uploading blank realtime.txt file  (Read 4992 times)

0 Members and 1 Guest are viewing this topic.

Offline ch8ch

  • ***ch8ch***
  • Senior Member
  • **
  • Posts: 70
Cumulus uploading blank realtime.txt file
« on: February 23, 2016, 09:05:57 PM »
Jachym was kind enough to donate his time to helping me setup a weather site. I was working well for an hour or so after his initial configs. We are both puzzled by the fact that my Cumulus is uploading a blank realtime.txt file and now the station is offline. Initially on setup we saw the same issue until I played with the internet settings and got it to work. Now it's doing this again and the site hasn't updated since 7:13 PM EST....  FTP settings are correct and it is being uploaded to the directory. 0 bytes....
Has anyone using CUmulus 1.9.4 seen this issue before?

Offline mkutche

  • Forecaster
  • *****
  • Posts: 1041
    • GosportWx.com
Re: Cumulus uploading blank realtime.txt file
« Reply #1 on: July 14, 2016, 08:12:04 PM »
Jachym was kind enough to donate his time to helping me setup a weather site. I was working well for an hour or so after his initial configs. We are both puzzled by the fact that my Cumulus is uploading a blank realtime.txt file and now the station is offline. Initially on setup we saw the same issue until I played with the internet settings and got it to work. Now it's doing this again and the site hasn't updated since 7:13 PM EST....  FTP settings are correct and it is being uploaded to the directory. 0 bytes....
Has anyone using CUmulus 1.9.4 seen this issue before?

mine uploads for a few hours and then quits and goes to 0 kb i have to delete the realtime.txt from server and reupload one from cumulus directory on my desktop and then restart cumulus program.. very annoying.. Idk how to fix it hope someone can weigh in
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Offline PaulMy

  • Forecaster
  • *****
  • Posts: 5509
    • KomokaWeather
Re: Cumulus uploading blank realtime.txt file
« Reply #2 on: July 14, 2016, 09:54:11 PM »
I have not had any issue with uploading Cumulus realtime.txt to my webserver.

Is the realtime.txt file that is saved in the Cumulus root folder valid?

You could try by making a duplicate realtime file (realtimeT.txt) to be processed and uploaded by Cumulus through the extra files process at realtime interval.  That is what I do and upload that to a separate webserver folder for another specific template set.  So in fact I have 2 realtime.txt files but in separate webserver folders.

Paul

Offline mkutche

  • Forecaster
  • *****
  • Posts: 1041
    • GosportWx.com
Re: Cumulus uploading blank realtime.txt file
« Reply #3 on: July 15, 2016, 04:18:29 AM »
I have not had any issue with uploading Cumulus realtime.txt to my webserver.

Is the realtime.txt file that is saved in the Cumulus root folder valid?

You could try by making a duplicate realtime file (realtimeT.txt) to be processed and uploaded by Cumulus through the extra files process at realtime interval.  That is what I do and upload that to a separate webserver folder for another specific template set.  So in fact I have 2 realtime.txt files but in separate webserver folders.

Paul

Before my server crash it was uploading fine and I haven't touched a thing on it.. Weird and the FTP logs don't give an error it just uploads a blank realtime.txt hmm. And its uploading the same way before I had to reup everything.
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Offline ericfynne

  • Contributor
  • ***
  • Posts: 139
Re: Cumulus uploading blank realtime.txt file
« Reply #4 on: July 15, 2016, 04:36:39 AM »
I have seen cases where blank files are caused by firewall changes somewhere between the PC and the ftp server, and the solution is to to switch from active to passive ftp mode or vice versa. You could try that, it may help.

Offline mkutche

  • Forecaster
  • *****
  • Posts: 1041
    • GosportWx.com
Re: Cumulus uploading blank realtime.txt file
« Reply #5 on: July 15, 2016, 04:51:56 AM »
I have seen cases where blank files are caused by firewall changes somewhere between the PC and the ftp server, and the solution is to to switch from active to passive ftp mode or vice versa. You could try that, it may help.
I don't see passive mode on cumulus
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Offline mcrossley

  • Forecaster
  • *****
  • Posts: 1132
    • Wilmslow Astro
Re: Cumulus uploading blank realtime.txt file
« Reply #6 on: July 15, 2016, 04:53:05 AM »
Another cause is a zero length file on your web server created by some transient failure. This causes subsequent FTP process to fail, simply delete the empty file from your web server and Cumulus should start working again (usually it doesn't even need a Cumulus restart - but if it still doesn't work then restart Cumulus).
Mark

Offline mkutche

  • Forecaster
  • *****
  • Posts: 1041
    • GosportWx.com
Re: Cumulus uploading blank realtime.txt file
« Reply #7 on: July 15, 2016, 04:54:13 AM »
Another cause is a zero length file on your web server created by some transient failure. This causes subsequent FTP process to fail, simply delete the empty file from your web server and Cumulus should start working again (usually it doesn't even need a Cumulus restart - but if it still doesn't work then restart Cumulus).

Yep done that a thousand times aday lol
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Offline mcrossley

  • Forecaster
  • *****
  • Posts: 1132
    • Wilmslow Astro
Re: Cumulus uploading blank realtime.txt file
« Reply #8 on: July 15, 2016, 05:00:40 AM »
Yep done that a thousand times aday lol
Ah! A bit more than my 2 or 3 times in ten years then!

From what I remember Cumulus attempts to keep the realtime FTP session open permanently. Do you have access to the server FTP error logs?
Mark

Offline mkutche

  • Forecaster
  • *****
  • Posts: 1041
    • GosportWx.com
Re: Cumulus uploading blank realtime.txt file
« Reply #9 on: July 15, 2016, 05:39:01 AM »
Yep done that a thousand times aday lol
Ah! A bit more than my 2 or 3 times in ten years then!

From what I remember Cumulus attempts to keep the realtime FTP session open permanently. Do you have access to the server FTP error logs?
I think my dad does I will look at that.
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Offline ericfynne

  • Contributor
  • ***
  • Posts: 139
Re: Cumulus uploading blank realtime.txt file
« Reply #10 on: July 15, 2016, 06:16:00 AM »
I don't see passive mode on cumulus

"Use Active FTP Mode"

Set = Active mode
Unset = Passive mode

as described in the help.

Offline PaulMy

  • Forecaster
  • *****
  • Posts: 5509
    • KomokaWeather
Re: Cumulus uploading blank realtime.txt file
« Reply #11 on: July 15, 2016, 09:17:50 AM »
Quote
Before my server crash it was uploading fine and I haven't touched a thing on it.. Weird and the FTP logs don't give an error it just uploads a blank realtime.txt hmm. And its uploading the same way before I had to reup everything.
Did you confirm that the realtime.txt in your Cumulus folder is blank?
Can you try by having Cumulus process and upload a realtimeT.txt (http://wiki.sandaysoft.com/a/Realtime.txt) to realtime.txt.
 
Paul

Offline mkutche

  • Forecaster
  • *****
  • Posts: 1041
    • GosportWx.com
Re: Cumulus uploading blank realtime.txt file
« Reply #12 on: July 15, 2016, 10:16:18 AM »
Quote
Before my server crash it was uploading fine and I haven't touched a thing on it.. Weird and the FTP logs don't give an error it just uploads a blank realtime.txt hmm. And its uploading the same way before I had to reup everything.
Did you confirm that the realtime.txt in your Cumulus folder is blank?
Can you try by having Cumulus process and upload a realtimeT.txt (http://wiki.sandaysoft.com/a/Realtime.txt) to realtime.txt.
 
Paul

Its not working again.. Its in passive mode and I have cumulus processing realtime.txt this is crazy.. Does it need to be chmodd 775 on websever??
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Offline ericfynne

  • Contributor
  • ***
  • Posts: 139
Re: Cumulus uploading blank realtime.txt file
« Reply #13 on: July 15, 2016, 10:20:37 AM »
Its in passive mode
And you get the same problem in active mode?

Offline mkutche

  • Forecaster
  • *****
  • Posts: 1041
    • GosportWx.com
Re: Cumulus uploading blank realtime.txt file
« Reply #14 on: July 15, 2016, 10:26:12 AM »
Its in passive mode
And you get the same problem in active mode?
Yep. I just have to delete realtime wait 5 minutes for it to reupload. Grr
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Offline ericfynne

  • Contributor
  • ***
  • Posts: 139
Re: Cumulus uploading blank realtime.txt file
« Reply #15 on: July 15, 2016, 10:27:47 AM »
Ah, OK. Looks like a problem with the ftp server to me, but I'm no expert.

Offline ericfynne

  • Contributor
  • ***
  • Posts: 139
Re: Cumulus uploading blank realtime.txt file
« Reply #16 on: July 15, 2016, 10:29:26 AM »
Wait.. 5 minutes? You have your realtime update interval set to 5 minutes?

Offline mkutche

  • Forecaster
  • *****
  • Posts: 1041
    • GosportWx.com
Re: Cumulus uploading blank realtime.txt file
« Reply #17 on: July 15, 2016, 02:07:59 PM »
5 seconds I mean.
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Offline PaulMy

  • Forecaster
  • *****
  • Posts: 5509
    • KomokaWeather
Re: Cumulus uploading blank realtime.txt file
« Reply #18 on: July 15, 2016, 03:10:08 PM »
Quote
Did you confirm that the realtime.txt in your Cumulus folder is blank?
I am still unclear if the realtime.txt in your desktop Cumulus folder contains data or not.


If it is FTP issue then this will likely not do anything for you, but since you are on build 1097 you could update to the most recent build 1099 and that may eliminate Cumulus as the cause.  However, reading the release notes the changes from build 1097 to 1099 does not include anything re FTP.

Paul

Offline mkutche

  • Forecaster
  • *****
  • Posts: 1041
    • GosportWx.com
Re: Cumulus uploading blank realtime.txt file
« Reply #19 on: July 15, 2016, 04:53:09 PM »
Quote
Did you confirm that the realtime.txt in your Cumulus folder is blank?
I am still unclear if the realtime.txt in your desktop Cumulus folder contains data or not.


If it is FTP issue then this will likely not do anything for you, but since you are on build 1097 you could update to the most recent build 1099 and that may eliminate Cumulus as the cause.  However, reading the release notes the changes from build 1097 to 1099 does not include anything re FTP.

Paul
I just never had this problem before..
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Offline Maumelle Weather

  • Forecaster
  • *****
  • Posts: 1824
    • Maumelle Weather
Re: Cumulus uploading blank realtime.txt file
« Reply #20 on: July 15, 2016, 08:42:25 PM »
Mike,

I'm currently looking at your realtime.txt and it looks normal to me.

John

Edit: It was working, now I can't connect to his site.
« Last Edit: July 15, 2016, 08:54:23 PM by sacreyweather »
GR2AE, GR3, Cumulus

Offline PaulMy

  • Forecaster
  • *****
  • Posts: 5509
    • KomokaWeather
Re: Cumulus uploading blank realtime.txt file
« Reply #21 on: July 15, 2016, 10:10:04 PM »
It is now updating every 5 sec.


Paul