Page 1 of 1

PRO2 sshpass error of SFTP upload. **solved**

Posted: Mon Aug 21, 2023 11:09 am
by cohenwb
I just bought a meteobridge PRO2 and am trying to upload to an SFTP server.

However, the test-SFTP fails with the following error:
"Error: SFTP test upload failed: sshpass: Failed to run command: No such file or directory"
meteo_error.png
meteo_error.png (34.72 KiB) Viewed 1347 times
The event itself is configured as follows:
meteo_event.png
meteo_event.png (12.1 KiB) Viewed 1347 times
Software version is Meteobridge 5.7 (Aug 11 2023, build 4133), FW 1.3 on a PRO2
The server is running SFTPGO v2.5.4, the logging does not show any sign of a (failed) incoming connection.

Any advice?

Re: PRO2 sshpass error of SFTP upload

Posted: Tue Aug 29, 2023 9:07 pm
by cohenwb
Still looking for a solution. @admin?

Re: PRO2 sshpass error of SFTP upload

Posted: Sun Sep 03, 2023 2:11 pm
by admin
Sorry, SFTP was missing on MB PRO2 distribution. Thanks for spotting this.
Just released update should do fine now.

Re: PRO2 sshpass error of SFTP upload. **solved**

Posted: Mon Sep 04, 2023 11:34 am
by cohenwb
admin wrote: Sun Sep 03, 2023 2:11 pm Sorry, SFTP was missing on MB PRO2 distribution. Thanks for spotting this.
Just released update should do fine now.
Thank you.

I have installed: Meteobridge 5.7 (Sep 3 2023, build 4145), FW 1.3

The "test upload" now works, and the testfile is created on the server. I also see the login in the server logs.
meteo_testsucces.png
meteo_testsucces.png (6.35 KiB) Viewed 1224 times

The upload from normal data however still does not work.
If i trigger it manually it gives the following output:
meteo_manual.png
meteo_manual.png (38.14 KiB) Viewed 1224 times
meteo_error2.png
meteo_error2.png (17.64 KiB) Viewed 1224 times

I've tried different export files and different destination paths.
I see no login attempt in the server logs.
So there still might be an issue in the firmware?

Is there any logging I can provide from the terminal/SSH?

Re: PRO2 sshpass error of SFTP upload.

Posted: Sat Sep 16, 2023 12:46 pm
by admin
Yes, you are right. I overlooked a code portion that also needs to be updated. It should be fine with just released update.

Re: PRO2 sshpass error of SFTP upload. **solved**

Posted: Sun Sep 24, 2023 6:11 pm
by cohenwb
Seems to be working now. Thanks