Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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

ISP has 'UPGRADED' hosting - FTP no longer works

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

User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: ISP has 'UPGRADED' hosting - FTP no longer works

Post by mcrossley »

I have seen several times, that FTP fails when it has managed to create a zero length file at some point. All further uploads to that file fail until you manually delete the zero length file on the server. I have no idea why this is!
Vegit8
Posts: 127
Joined: Fri 27 Sep 2013 2:11 pm
Weather Station: Davis Vantage Pro2
Operating System: Win 10
Location: Dorset
Contact:

Re: ISP has 'UPGRADED' hosting - FTP no longer works

Post by Vegit8 »

mcrossley wrote: Wed 03 Feb 2021 10:22 am I have seen several times, that FTP fails when it has managed to create a zero length file at some point. All further uploads to that file fail until you manually delete the zero length file on the server. I have no idea why this is!
Hi Mark
Have deleted the 0 byte files - next round of updates puts them back.
I have checked the file size at my end and it is as expected.

extract from ftp log for relevant set of uploads.
Still confused why there are // in the path.
Beginning to think my webhost just wont work with MX FTP

Response: 550 Can't check for file existence - what does this mean?

Code: Select all

2021-02-03 10:35:13.077 Realtime[32]: Uploading - realtime.txt

2021-02-03 10:35:13.077 FTP[32]: Deleting /public_html/weather//realtime.txt

# DeleteFile("/public_html/weather//realtime.txt")
Command:  DELE /public_html/weather/realtime.txt
Response: 250 Deleted /public_html/weather/realtime.txt
2021-02-03 10:35:13.123 FTP[32]: Uploading realtime.txt to /public_html/weather//realtime.txt

# OpenWrite("/public_html/weather//realtime.txt", Binary)
Command:  TYPE I
Response: 200 TYPE is now 8-bit binary

# GetFileSize("/public_html/weather//realtime.txt")
Command:  SIZE /public_html/weather/realtime.txt
Response: 550 Can't check for file existence[/b] - what does this mean?

# OpenPassiveDataStream(AutoPassive, "STOR /public_html/weather/realtime.txt", 0)
Command:  EPSV
Response: 229 Extended Passive mode OK (|||50625|)
Status:   Connecting to 92.204.223.27:50625
Command:  STOR /public_html/weather/realtime.txt
Response: 150 Accepted data connection
Status:   FTPS Authentication Successful
Status:   Time to activate encryption: 0h 0m 0s.  Total Seconds: 0.1069567.
2021-02-03 10:35:13.458 FTP[32]: Uploaded realtime.txt
Status:   Disposing FtpSocketStream...
Status:   Disposing FtpSocketStream...
2021-02-03 10:35:13.474 Realtime[32]: Uploading - realtimegauges.txt

2021-02-03 10:35:13.474 FTP[32]: Deleting /public_html/weather//realtimegauges.txt

# DeleteFile("/public_html/weather//realtimegauges.txt")
Command:  DELE /public_html/weather/realtimegauges.txt
2021-02-03 10:35:13.475 FTP[32]: Error deleting /public_html/weather//realtimegauges.txt : 
2021-02-03 10:35:13.475 FTP[32]: Uploading web\realtimegauges.txt to /public_html/weather//realtimegauges.txt

# OpenWrite("/public_html/weather//realtimegauges.txt", Binary)

# GetFileSize("/public_html/weather//realtimegauges.txt")
Command:  SIZE /public_html/weather/realtimegauges.txt
2021-02-03 10:35:13.476 FTP[32]: Error uploading web\realtimegauges.txt to /public_html/weather//realtimegauges.txt : Object reference not set to an instance of an object.
2021-02-03 10:35:13.476 Realtime[32]: Uploading extra web file[0] C:\CumulusMX\web\realtimegauges.txttmp to public_html/weather/realtimegauges.txt

2021-02-03 10:35:13.476 FTP[32]: Deleting public_html/weather/realtimegauges.txt

# DeleteFile("public_html/weather/realtimegauges.txt")
Command:  DELE public_html/weather/realtimegauges.txt
2021-02-03 10:35:13.477 FTP[32]: Error deleting public_html/weather/realtimegauges.txt : 
2021-02-03 10:35:13.477 FTP[32]: Uploading C:\CumulusMX\web\realtimegauges.txttmp to public_html/weather/realtimegauges.txt

# OpenWrite("public_html/weather/realtimegauges.txt", Binary)

# GetFileSize("public_html/weather/realtimegauges.txt")
Command:  SIZE public_html/weather/realtimegauges.txt

User avatar
HansR
Posts: 5963
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: ISP has 'UPGRADED' hosting - FTP no longer works

Post by HansR »

Btw: did you also try 'good old plain text' FTP?
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
HansR
Posts: 5963
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: ISP has 'UPGRADED' hosting - FTP no longer works

Post by HansR »

And while you're at it: as binary is used, do you have utf-8 set to on?
If not, do so.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: ISP has 'UPGRADED' hosting - FTP no longer works

Post by mcrossley »

I think the 550 error is just saying the file does not exist, which is correct - it's just checking.

There are two FTPS compatibility settings you could try (FTPS can be tricky!). This will be trial and error though...

So the usual stop Cumulus, edit Cumulus.ini, restart Cumulus caveat.

1. Add the the following entry to the [FTP site] block...
DisableEPSV=1

See if that improves things.

If not then...

2. Reset the first entry...
DisableEPSV=0
add another entry...
DisableFtpsExplicit=1

See if that improves things.

If not then try enabling both of them!

If that doesn't work I'm coming to the end of my ideas. :(
Vegit8
Posts: 127
Joined: Fri 27 Sep 2013 2:11 pm
Weather Station: Davis Vantage Pro2
Operating System: Win 10
Location: Dorset
Contact:

Re: ISP has 'UPGRADED' hosting - FTP no longer works

Post by Vegit8 »

Thanks for everyones suggestions, afer fiddling with various FTP settings and talking to my hosts, I now have a working system again.
User avatar
HansR
Posts: 5963
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: ISP has 'UPGRADED' hosting - FTP no longer works

Post by HansR »

Great. :clap:

But could you elaborate a bit so that we know too what the problem was? Thnx!
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
Vegit8
Posts: 127
Joined: Fri 27 Sep 2013 2:11 pm
Weather Station: Davis Vantage Pro2
Operating System: Win 10
Location: Dorset
Contact:

Re: ISP has 'UPGRADED' hosting - FTP no longer works

Post by Vegit8 »

HansR wrote: Wed 03 Feb 2021 5:18 pm Great. :clap:

But could you elaborate a bit so that we know too what the problem was? Thnx!
Yes; apologies
It transpired that I had been given wrong information by the support people.
as you suggested plain FTP worked, but SFTP doesnt - so I have gone back to them again asking how I can use SFTP
So not a total success
User avatar
HansR
Posts: 5963
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: ISP has 'UPGRADED' hosting - FTP no longer works

Post by HansR »

Thanks.

If the support has found the solution could you please communicate here.
And NOTE: you are using SFTP while according to the logfiles you tried FTPS. Those are two very different things! Both in settings as in execution. So be sure what you are asking and what you are aiming at.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
water01
Posts: 3251
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: ISP has 'UPGRADED' hosting - FTP no longer works

Post by water01 »

You might try asking them if SFTP requires a specific port to work. My ISP required I use port 3784 and once set it worked perfectly.
David
Image
Vegit8
Posts: 127
Joined: Fri 27 Sep 2013 2:11 pm
Weather Station: Davis Vantage Pro2
Operating System: Win 10
Location: Dorset
Contact:

Re: ISP has 'UPGRADED' hosting - FTP no longer works

Post by Vegit8 »

HansR wrote: Thu 04 Feb 2021 11:10 am Thanks.
And NOTE: you are using SFTP while according to the logfiles you tried FTPS. Those are two very different things! Both in settings as in execution. So be sure what you are asking and what you are aiming at.
On the old hosting platform I was using SFTP/22
I was advised to use FTPS - which didnt work for MX
On your suggestion I used plain old FTP - which of course is unsatisfactory.

I am now pressing my host for an SFTP/22 solution
User avatar
HansR
Posts: 5963
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: ISP has 'UPGRADED' hosting - FTP no longer works

Post by HansR »

Ok. Thnx.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
Vegit8
Posts: 127
Joined: Fri 27 Sep 2013 2:11 pm
Weather Station: Davis Vantage Pro2
Operating System: Win 10
Location: Dorset
Contact:

Re: ISP has 'UPGRADED' hosting - FTP no longer works

Post by Vegit8 »

The saga continues
After discussions with the Hosting Co.
I can connect with SFTP / 22 using Filezilla, but when using the same credentials and settings in MX I cannot.

I suspect this is because I had to accept a new certificate from their server, I cannot see a way of doing this in the FTP config section of MX.

So i am still stuck using plain FTP... grrr
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: ISP has 'UPGRADED' hosting - FTP no longer works

Post by mcrossley »

MX is configured to accept any certificate.
Vegit8
Posts: 127
Joined: Fri 27 Sep 2013 2:11 pm
Weather Station: Davis Vantage Pro2
Operating System: Win 10
Location: Dorset
Contact:

Re: ISP has 'UPGRADED' hosting - FTP no longer works

Post by Vegit8 »

Hi Mark
Then I am at a loss as to why MX wont communicate.
It has worked perfectly up until now.

I'll have to consider changing host it would seem
Post Reply