Page 1 of 1
Graph and WD Live uploads not working
Posted: Sun Mar 04, 2012 1:14 pm
by jameslavery
Hi all,
I've got my MeteoHub working nicely with my new iConnect, but am having problems with the FTP WD Live and graph uploads.
I've got ftp set up with username/password, and the test file is appearing on the FTP destination - so the credentials etc. must be OK.
When I save the 'Graph Uploads' settings (sending WD-live every minute and my graphs every 5 minutes), the message 'Scheduler for upload of graphs has been setup' appears at the top of the screen. However, my graphs do not appear on the destination.
Looking in the log files, I can't see any FTP taking place. From memory (with my previous NSLU2 installation) I should see logging of the FTP activity. Therefore it seems to me that the software isn't performing the FTP.
Any thoughts anyone, please? I'm running MeteoHub 4.9 build 929
Thanks,
James
Re: Graph and WD Live uploads not working
Posted: Sun Mar 11, 2012 6:13 pm
by markhiseman
On the 'Graph Uploads' screen, have you tried ticking the 'Store local copy' box to see if the clientraw etc files are being created OK?
Mark.
Re: Graph and WD Live uploads not working
Posted: Sun Mar 11, 2012 10:19 pm
by jameslavery
Hi Mark,
Good suggestion -thanks, I'll try it.
James
Re: Graph and WD Live uploads not working
Posted: Sun Mar 11, 2012 10:51 pm
by jameslavery
Mark,
I can see the files being created in 'uploads' on the MeteoHub - it just seems that they're not bein FTP'd up to my website.
The test FTP file gets up there, so my connection looks OK. Looks like the FTP isn't taking place - i.e. MeteoHub is not actually trying to FTP the files.
Any ideas?
Re: Graph and WD Live uploads not working
Posted: Mon Mar 12, 2012 2:13 pm
by markhiseman
James,
It's an odd one. I too am running Meteohub (4.9e) on Iconnect, and uploading to WD Live on my website
http://www.markhiseman.plus.com/Weather.
Whilst it should update every minute, sometimes the Iconnect goes half an hour or more between updates. Other times it's fine and updates every minute. My old NSLU2 never had this problem.
I wonder if the Iconnect is more sensitive to the response time from the ISP's FTP connection (mine is Plusnet), and maybe times out quicker than the NSLU2 did? Sometimes when uploads to WD Live are delayed, I've tried logging into Plusnet to view the files in the online folder and it can be slow at times. However for me the problem always resolves itself, so I've not reported it. Maybe the timing with your ISP is more marginal?
I also upload to Weather Underground at
http://www.wunderground.com/weatherstat ... =IKENTEAS3 and that never seems to be delayed (though that is not an FTP upload as I understand) so it seems to be an issue with WDL FTP uploads only.
Mark.
Re: Graph and WD Live uploads not working
Posted: Tue Mar 20, 2012 10:31 pm
by jameslavery
Hi Mark,
Sorry for the delay in replying - real life and work got in the way!
Back looking at this and I'm still stumped.
I've updated to 4.9e, which made no difference.
We're also with Plusnet for ISP, but the destination of the FTP is not on Plusnet.
The interesting thing is that the test FTP file gets there fine. It's just the scheduled FTP which doesn't seem to be working.
Do you see FTP activity logged in your logs (assuming your FTP is successful)?
What I
do see are the following, which may be relevant.
System Log
Code: Select all
2012-03-20T20:13:02.773306+00:00 localhost rsyslogd: WARNING: rsyslogd is running in compatibility mode. Automatically generated config directives may interfer with your rsyslog.conf settings. We suggest upgrading your config and adding -c3 as the first rsyslogd option.
2012-03-20T20:13:02.773361+00:00 localhost rsyslogd: Warning: backward compatibility layer added to following directive to rsyslog.conf: ModLoad immark
2012-03-20T20:13:02.773379+00:00 localhost rsyslogd: Warning: backward compatibility layer added to following directive to rsyslog.conf: MarkMessagePeriod 1200
2012-03-20T20:13:02.773394+00:00 localhost rsyslogd: Warning: backward compatibility layer added to following directive to rsyslog.conf: ModLoad imuxsock
Meteohub Log
Code: Select all
logger (20.03.2012 20:13:24): station 0 (Vantage), eeprom request sent.
logger (20.03.2012 20:13:24): station 0 (Vantage), rain collector size 0.01 inch per tick.
logger (20.03.2012 20:13:24): station 0 (Vantage), transmitter 1 active as station type (#0) "ISS".
logger (20.03.2012 20:13:24): station 0 (Vantage), no reading of Vantage's internal logger because of too large time gap.
wmr928fulleval(20.03.2012 20:15:02): recomputation of weather data started.
wmr928fulleval(20.03.2012 20:27:24): recomputation of weather data finished: 445676 records processed in 741 seconds (601 records per second)
I don't think the 'too large time gap' is relevant.
Any thoughts anyone? I'm convinced the ftp cron job isn't running. Note, however, that the Wunderground data upload
is working.
James
Re: Graph and WD Live uploads not working
Posted: Mon Mar 26, 2012 4:47 pm
by markhiseman
James,
I checked my logs, but I could not see any FTP activity logged so I guess it isn't logged.
Since you are on Plusnet, have you tried sending the files to your Plusnet webspace? You wouldn't need to set up all the other WD Live stuff, just see if the WD Live data files get uploaded OK. This would rule out an ISP issue with wheover is hosting your WD Live page, since we know Plusnet works (at least most of the time).
The FTP settings you need are here:
http://www.plus.net/support/hosting/web ... ails.shtml.
Mark.
Re: Graph and WD Live uploads not working
Posted: Mon Mar 26, 2012 8:14 pm
by jameslavery
Mark,
Thanks for the suggestion - however I think FTP is working (the test file arrives fine) but not actually being called by the cron job. I'll have to dig further.
Regards,
James