Page 1 of 1

Website Not Updating.

Posted: Mon 27 Apr 2020 8:11 pm
by Phil23
Hi All,

My site has been down since 6:21pm yesterday & I'm at a loss as to why.

The MX Diags are basically showing this repeatedly....
(Below log was after I restarted everything before 8pm).

Other services are working Ok & I can access my site with Filezilla & upload & download.

I notice the zero byte files below, and if I delete them with FileZilla, they recreate at the next upload.
(deleted them just before beginning this post).
They will remain there with that 5:50am time stamp unless I delete them again.
Any thoughts?

Thanks

Phil.
Capture.JPG

Code: Select all

2020-04-27 19:51:02.031 Attempting realtime FTP connect to host ftp.inverellit.com on port 21
2020-04-27 19:51:02.859 Realtime FTP connected
2020-04-27 19:51:02.859 Starting Realtime timer, interval = 5 seconds
2020-04-27 19:51:02.875 Uploading WU archive #1
2020-04-27 19:51:02.890 Uploading WOW archive #1
2020-04-27 19:51:02.890 Normal running
2020-04-27 19:51:03.250 WU Response: OK: OK
2020-04-27 19:51:03.250 End of WU archive upload
2020-04-27 19:51:03.422 WOW Response: OK: {}
2020-04-27 19:51:03.422 End of WOW archive upload
2020-04-27 19:51:10.140 Error uploading realtime.txt to public_html/weather/realtime.txt : Could not open data connection to port 51302: Connection refused
2020-04-27 19:51:11.265 Error uploading web\realtimegauges.txt to public_html/weather/realtimegauges.txt : Could not open data connection to port 51303: Connection refused
2020-04-27 19:51:12.312 Error uploading \CumulusMX\web\realtimeT.xmltmp to /public_html/weather/realtime.xml : Could not open data connection to port 51304: Connection refused
2020-04-27 19:51:12.859 Warning, previous realtime ftp still in progress, skipping this period.
2020-04-27 19:51:13.359 Error uploading \CumulusMX\web\sunbirdT.txttmp to /public_html/weather/sunbird.txt : Could not open data connection to port 51305: Connection refused
2020-04-27 19:51:14.437 Error uploading \CumulusMX\web\indexnewT.htmtmp to /public_html/weather/index2.htm : Could not open data connection to port 51306: Connection refused
2020-04-27 19:51:15.484 Error uploading \CumulusMX\web\davcon24T.txttmp to /public_html/weather/davcon24.txt : Could not open data connection to port 51307: Connection refused
2020-04-27 19:51:16.546 Error uploading \CumulusMX\Cumulus.xmltmp to /public_html/weather/pocket.xml : Could not open data connection to port 51308: Connection refused
2020-04-27 19:51:19.047 Error uploading realtime.txt to public_html/weather/realtime.txt : Could not open data connection to port 51309: Connection refused
2020-04-27 19:51:20.109 Error uploading web\realtimegauges.txt to public_html/weather/realtimegauges.txt : Could not open data connection to port 51310: Connection refused
2020-04-27 19:51:21.328 Error uploading \CumulusMX\web\realtimeT.xmltmp to /public_html/weather/realtime.xml : Could not open data connection to port 51311: Connection refused
2020-04-27 19:51:22.375 Error uploading \CumulusMX\web\sunbirdT.txttmp to /public_html/weather/sunbird.txt : Could not open data connection to port 51312: Connection refused
2020-04-27 19:51:22.859 Warning, previous realtime ftp still in progress, skipping this period.
2020-04-27 19:51:23.437 Error uploading \CumulusMX\web\indexnewT.htmtmp to /public_html/weather/index2.htm : Could not open data connection to port 51313: Connection refused
2020-04-27 19:51:24.500 Error uploading \CumulusMX\web\davcon24T.txttmp to /public_html/weather/davcon24.txt : Could not open data connection to port 51314: Connection refused
2020-04-27 19:51:25.562 Error uploading \CumulusMX\Cumulus.xmltmp to /public_html/weather/pocket.xml : Could not open data connection to port 51315: Connection refused
2020-04-27 19:51:29.000 Error uploading realtime.txt to public_html/weather/realtime.txt : Could not open data connection to port 51316: Connection refused
2020-04-27 19:51:30.062 Error uploading web\realtimegauges.txt to public_html/weather/realtimegauges.txt : Could not open data connection to port 51317: Connection refused
2020-04-27 19:51:31.109 Error uploading \CumulusMX\web\realtimeT.xmltmp to /public_html/weather/realtime.xml : Could not open data connection to port 51318: Connection refused
2020-04-27 19:51:32.187 Error uploading \CumulusMX\web\sunbirdT.txttmp to /public_html/weather/sunbird.txt : Could not open data connection to port 51319: Connection refused
2020-04-27 19:51:32.859 Warning, previous realtime ftp still in progress, skipping this period.
2020-04-27 19:51:33.250 Error uploading \CumulusMX\web\indexnewT.htmtmp to /public_html/weather/index2.htm : Could not open data connection to port 51320: Connection refused

Re: Website Not Updating.

Posted: Mon 27 Apr 2020 8:15 pm
by Mapantz
Have you got 'Active FTP Mode' enabled?

Re: Website Not Updating.

Posted: Mon 27 Apr 2020 8:20 pm
by Phil23
Will further add this update,

I just now (6:15am) updated it successfully by uploading all the HTM & JSON file from the local C:\CumulusMX\Web to /public_html/weather with FileZilla.

That pretty much eliminates it being a Hosting Issue I'd assume.

Re: Website Not Updating.

Posted: Mon 27 Apr 2020 8:26 pm
by sfws
Mapantz wrote: Mon 27 Apr 2020 8:15 pm Have you got 'Active FTP Mode' enabled?
That is main suggestion at FAQ: https://cumuluswiki.org/a/FAQ#My_web_pages_are_empty although Steve did not write that for json files, the other suggestions there talks about encoding, but you have eliminated that by
Phil23 wrote: Mon 27 Apr 2020 8:20 pm updated it successfully by uploading all the HTM & JSON file from the local C:\CumulusMX\Web to /public_html/weather with FileZilla.
So it is definitely something about the FTP settings in Cumulus. The Active is most likely, but you can also try removing rename that you must have enabled and enabling delete before upload.

Re: Website Not Updating.

Posted: Mon 27 Apr 2020 8:51 pm
by Phil23
Mapantz wrote: Mon 27 Apr 2020 8:15 pm Have you got 'Active FTP Mode' enabled?
Well normally I'd say no,

But on checking the settings it was turned on; not sure how it got that way.
6:01pm it did a scheduled restart & all the pages updated up at 6:20pm, & Realtime.txt kept going a few minutes after it.

Then Just stopped.

Turned off Active FTP mode & now it's running as usual.
Mystery is as to how it got turned on.

Thanks all,

It's back up & my stress levels are now lowering.....

Cheers

Phil.

Re: Website Not Updating.

Posted: Tue 28 Apr 2020 4:20 am
by Phil23
I have also just noticed that my Cumulus Utils files are not uploading either.

I do them with Win's FTP & a batch file.
But even just trying to upload from the prompt fails as well (FTP prompt that is).

Any thoughts on this?

Thanks

Phil.

Code: Select all

C:\Windows\system32>ftp
ftp> open weather.inverellit.com
Connected to weather.inverellit.com.
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 2 of 50 allowed.
220-Local time is now 15:08. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
User (weather.inverellit.com:(none)): username@inverellit.com
331 User username@inverellit.com OK. Password required
Password: password
230 OK. Current restricted directory is /
ftp> cd /public_html/weather/historic
250 OK. Current directory is /public_html/weather/historic
ftp> put \\WEATHER-PC\CumulusMX\Scripts\dayfile-merged.txt dayfile.txt
200 PORT command successful
425 Could not open data connection to port 61942: Connection refused
ftp> ?
Commands may be abbreviated.  Commands are:

!               delete          literal         prompt          send
?               debug           ls              put             status
append          dir             mdelete         pwd             trace
ascii           disconnect      mdir            quit            type
bell            get             mget            quote           user
binary          glob            mkdir           recv            verbose
bye             hash            mls             remotehelp
cd              help            mput            rename
close           lcd             open            rmdir
ftp> put \\WEATHER-PC\CumulusMX\Scripts\dayfile-merged.txt dayfile.txt
200 PORT command successful
425 Could not open data connection to port 61950: Connection refused
Edit:- And as was the case earlier I have no issue uploading the files required with FileZilla.

Re: Website Not Updating.

Posted: Tue 28 Apr 2020 6:18 am
by freddie
Phil23 wrote: Tue 28 Apr 2020 4:20 amAny thoughts on this?
Yes, it's the same problem. Microsoft command line ftp client only uses active mode. It doesn't do passive mode. Has the company that hosts your site started enforcing passive mode FTP recently?
Phil23 wrote: Tue 28 Apr 2020 4:20 amas was the case earlier I have no issue uploading the files required with FileZilla.
That is because FileZilla can use passive mode FTP.

Re: Website Not Updating.

Posted: Tue 28 Apr 2020 8:21 am
by Phil23
freddie wrote: Tue 28 Apr 2020 6:18 am Has the company that hosts your site started enforcing passive mode FTP recently?
Who would know???

Support with them can be painful; They rarely read emails properly.

Might look at redoing my script with WinSCP, I recall it's got a very good CLI for doing the same sort of stuff.

Cheers.

Re: Website Not Updating.

Posted: Tue 28 Apr 2020 8:33 am
by freddie
Yep, winscp definitely the way to go :-)

Re: Website Not Updating.

Posted: Tue 28 Apr 2020 2:02 pm
by laulau
You may also look at FreeFileSync which allows to create batch!