Why isn't sftp uploading? **solved**
Moderator: Mattk
Why isn't sftp uploading? **solved**
Looks like on or about 22/Jan/2018, MeteoBridge stopped uploading via sFTP.
Why?
A reboot had the FTP start again, but I'd prefer sFTP. Did that get broken?
Why?
A reboot had the FTP start again, but I'd prefer sFTP. Did that get broken?
- Attachments
-
- NoFTP.png (249.37 KiB) Viewed 6308 times
Re: Why isn't sftp uploading?
"no upload" tells that the service has not been started. Can you please share a screen dump of the services page, where the FTP/SFTP service is defined?
Re: Why isn't sftp uploading?
I've reverted to ftp for now. I'll try (re)-setting up sftp tonight and post (and see if things change).
That said, it had been working fine since the addition of sftp, but on January 22, 2018 at 20:05 US/CST(UTC-6) was the last upload through multiple upgrade reboots.
That said, it had been working fine since the addition of sftp, but on January 22, 2018 at 20:05 US/CST(UTC-6) was the last upload through multiple upgrade reboots.
Re: Why isn't sftp uploading?
Service #6 is defined as SFTP but it has a legacy FTP upload command in it "ftp://...". That does not fit. If it is selected as SFTP then it needs a SFTP fitting destination defined in Path field and vice versa. Did you try replacing "ftp://" by "sftp://"? You should also be able to strip the "ftp://" header, then the protocol is selected by the defined service.
Service #7 looks fine for legacy FTP execution.
Service #7 looks fine for legacy FTP execution.
Re: Why isn't sftp uploading?
I removed the ftp://un:pw@host, and it still shows no upload.admin wrote: Wed Feb 07, 2018 10:09 am Service #6 is defined as SFTP but it has a legacy FTP upload command in it "ftp://...". That does not fit. If it is selected as SFTP then it needs a SFTP fitting destination defined in Path field and vice versa. Did you try replacing "ftp://" by "sftp://"? You should also be able to strip the "ftp://" header, then the protocol is selected by the defined service.
Service #7 looks fine for legacy FTP execution.
Re: Why isn't sftp uploading?
Sorry, I don't understand the " ftp://un:pw@host" removal remark.
Which service definition do you speak of? #6 or #7 and what exactly did you change?
Which service definition do you speak of? #6 or #7 and what exactly did you change?
Re: Why isn't sftp uploading?
I removed (on #6) the ftp://username:password@hostname.domain:21/.
Re: Why isn't sftp uploading?
When you remove all SFTP services from "Services" tab then "Live Data" tab is also expected to no longer show an SFTP entry. I checked with my system and it works es expected. Please double check.
Re: Why isn't sftp uploading?
I re-added it, and I removed (per your suggestion) the ftp://user:pass@host:port/ and left the /path/file portion.
The live data tab shows sftp no upload.
The live data tab shows sftp no upload.
Re: Why isn't sftp uploading?
hm... looks like I can just get a grip on this via remote login. If you like to give me a remote login please send credentials to "info(at)meteobridge.com".
Re: Why isn't sftp uploading?
Can login. When I deselect SFTP service on "services" tab and press "save" and then switch over to "Live Data" tab the SFTP entry has vanished, as expected.
I am a bit lost why this did not work when you tried or may be I did not get your point.
I am a bit lost why this did not work when you tried or may be I did not get your point.
Re: Why isn't sftp uploading?
My concern is why doesn't SFTP work.
I'm using FTP as the backup.
Your results match mine. I'd prefer to turn off my ftp daemon on the receiving host.
I'm using FTP as the backup.
Your results match mine. I'd prefer to turn off my ftp daemon on the receiving host.
Re: Why isn't sftp uploading?
I found a bug in there. Just fixed it.
Currently this setting seems to upload fine now.
Currently this setting seems to upload fine now.