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

Helkp with (S)FTP and CumulusMX

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

Post Reply
stevendt
Posts: 85
Joined: Sat 23 May 2020 4:19 pm
Weather Station: Davis Vatnage Pro2 Plus
Operating System: Windows 7/10
Location: Aberdeen, Scotland

Helkp with (S)FTP and CumulusMX

Post by stevendt »

Hi,

I am trying to get web site updates working. My host (1&1) only supports SFTP, but I think that is now supported in CumulusMX (I am using the latest version).

I used CoreFTP to upload the contents of the distribution "webfiles" tree and that went fine, but I can't get SFTP uploads working from Cumulus itself.
I am using the same credentials and have temporarily disabled the firewall on the PC.

When I try FTPNow!, the FTP process starts, but the error log shows that Cumulus can't read the remote directory :

"Error connecting ftp - Timed out trying to read data from the socket stream!

Can anyone help resolve this please?

regards
Dave
Coomkeen
Posts: 17
Joined: Mon 25 May 2020 1:10 pm
Weather Station: Watson W-8681
Operating System: Linux Mint

Re: Helkp with (S)FTP and CumulusMX

Post by Coomkeen »

Hi Stevendt

Don't know if this is going to help, but I had similar problems.
It was down to not specifying the path properly.
My ftp account had a path direct to the cumulus folder, so didn't need anything in the 'path', just blank.
I had put in the whole path, like site/cumulus/whatever, so the Cumulus ftp was looking for that path, but it was already there.
Hope that makes sense.
stevendt
Posts: 85
Joined: Sat 23 May 2020 4:19 pm
Weather Station: Davis Vatnage Pro2 Plus
Operating System: Windows 7/10
Location: Aberdeen, Scotland

Re: Helkp with (S)FTP and CumulusMX

Post by stevendt »

Hi,

thanks for the reply - yes, it makes sense.

I was not 100% sure of what the directory settings needed to be, but eventually got to the same configuration as you I think. The host logs the username straight into the Cumulus target directory, so the Directory needs to be empty on the config page.

That does not seem to have been the problem though, as I am pretty sure that the config is correct, but it is still not working.

It seems that the Cumulus error text in the file MXDiags directory is pretty generic and does not provide any detailed help. I get exactly the same message when I deliberately enter the wrong password for the FTP account. The error tells me that the access has failed, but gives not clues as to why

regards
Dave
freddie
Posts: 2477
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 22.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Helkp with (S)FTP and CumulusMX

Post by freddie »

stevendt wrote: Mon 25 May 2020 1:58 pmIt seems that the Cumulus error text in the file MXDiags directory is pretty generic and does not provide any detailed help. I get exactly the same message when I deliberately enter the wrong password for the FTP account. The error tells me that the access has failed, but gives not clues as to why
Do you have debug logging switched on? That gives more detail.
Freddie
Image
sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

Re: Helkp with (S)FTP and CumulusMX

Post by sfws »

Just to add to what Freddie says, in case you don't know what he means by debug logging
freddie wrote: Mon 25 May 2020 2:52 pm Do you have debug logging switched on? That gives more detail.
Either start MX with -debug switch

Or follow instructions at https://cumuluswiki.org/a/Cumulus_MX#Wh ... _a_problem to see how to turn it on within the admin interface.
stevendt
Posts: 85
Joined: Sat 23 May 2020 4:19 pm
Weather Station: Davis Vatnage Pro2 Plus
Operating System: Windows 7/10
Location: Aberdeen, Scotland

Re: Helkp with (S)FTP and CumulusMX

Post by stevendt »

Hi Guys,

thanks for your input, I had FTP logging on, but it does not contain anything helpful.

I didn't have debug logging on, but turned it on. Unfortunately, it does not give any more help on the error than the Diag file

regards
Dave
water01
Posts: 3254
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: Helkp with (S)FTP and CumulusMX

Post by water01 »

You need to check with your ISP but the only way I got SFTP working with my host provider is to specify the HOST Name as its IP address and use port 3784 and also specify the complete home directory, in my case "/home/********/public_html/weatherbos" (notice the addition of /home/dmjsyste) to a normal FTP path.

If you use FileZilla configured exactly the same way it will show you the correct path.
David
Image
stevendt
Posts: 85
Joined: Sat 23 May 2020 4:19 pm
Weather Station: Davis Vatnage Pro2 Plus
Operating System: Windows 7/10
Location: Aberdeen, Scotland

Re: Helkp with (S)FTP and CumulusMX

Post by stevendt »

Hi water01, thanks for the note.

I can quite happily use SFTP with CoreFTP, using the hostname and port assigned by my ISP :

ISP : 1and1
ftp root directory : "home29xxxxxxx.1and1-data.host"
ftp target directory : assigned when ftp user is added, in my case, I created a directory for Cumulus
ftp assigned port : 990
ftp mode : pasv
ftp protocol: FTPS

Using CoreFTP and logging in with the configuration specified above, I get straight to the Cumulus directory and CoreFTP immediately displays the directory contents (after the actual port has been opened with PASV). I don't think I need to, or indeed should, assign a directory in the Cumulus setup as the ISP login in puts you there with the login.

Cumulus is correctly getting the IP address from DNS and using Port 990 to try and establish a connection, which immediately fails when trying (I think) to read the remote directory.

regards
Dave
freddie
Posts: 2477
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 22.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Helkp with (S)FTP and CumulusMX

Post by freddie »

stevendt wrote: Mon 25 May 2020 4:34 pm I can quite happily use SFTP with CoreFTP, using the hostname and port assigned by my ISP :

ISP : 1and1
ftp root directory : "home29xxxxxxx.1and1-data.host"
ftp target directory : assigned when ftp user is added, in my case, I created a directory for Cumulus
ftp assigned port : 990
ftp mode : pasv
ftp protocol: FTPS
So you should be using FTPS and not STFP. SFTP is not FTPS - they are different protocols.
Freddie
Image
stevendt
Posts: 85
Joined: Sat 23 May 2020 4:19 pm
Weather Station: Davis Vatnage Pro2 Plus
Operating System: Windows 7/10
Location: Aberdeen, Scotland

Re: Helkp with (S)FTP and CumulusMX

Post by stevendt »

Hi,

yes, that was an error in the post title. SFTP for Linux / FTPS for Windows

That is what I am using and have selected Dropdown item 1 on the config page [1 Use SSL/TLS for FTP (FTPS) ] and using FTPS with CoreFTP

regards
Dave
freddie
Posts: 2477
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 22.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Helkp with (S)FTP and CumulusMX

Post by freddie »

stevendt wrote: Mon 25 May 2020 5:10 pm Hi,

yes, that was an error in the post title. SFTP for Linux / FTPS for Windows

That is what I am using and have selected Dropdown item 1 on the config page [1 Use SSL/TLS for FTP (FTPS) ] and using FTPS with CoreFTP

regards
Dave
Have you tried the SFTP option? 1&1/Ionos support both protocols.
Freddie
Image
stevendt
Posts: 85
Joined: Sat 23 May 2020 4:19 pm
Weather Station: Davis Vatnage Pro2 Plus
Operating System: Windows 7/10
Location: Aberdeen, Scotland

Re: Helkp with (S)FTP and CumulusMX

Post by stevendt »

Hi,

thanks for the info, I have tried SFTP, but only briefly. When I looked at the 1and1 info pages on FTP, it seemed to suggest that SFTP was used with the Linux hosting package and FTPS for Windows (I am on Windows hosting). I will try it again, though I don't hold out much hope

regards
Dave
water01
Posts: 3254
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: Helkp with (S)FTP and CumulusMX

Post by water01 »

Please try the set up I mentioned in my previous post. It was the only way I got SFTP to work.
David
Image
stevendt
Posts: 85
Joined: Sat 23 May 2020 4:19 pm
Weather Station: Davis Vatnage Pro2 Plus
Operating System: Windows 7/10
Location: Aberdeen, Scotland

Re: Helkp with (S)FTP and CumulusMX

Post by stevendt »

Hi,

I tried the setup you described, it won't work for me, but I am not surprised. Port 3784 seems to be an arbitrary port number chosen by your ISP? Whereas port 990 as specified by mine is the standard port used to establish a connection with FTPS.

I can use my configured settings to connect with CoreFTP and log in to the correct directory, read the contents and copy files. I think that confirms that my FTPS setup is correct.

regards
Dave
Post Reply