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

This section covers the Meteobridge PRO, PRO2, NANO SD, Raspberry Pi and VM platforms exclusively

Moderator: Mattk

Post Reply
cohenwb
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: Mon Aug 21, 2023 10:47 am

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

Post 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 1345 times
The event itself is configured as follows:
meteo_event.png
meteo_event.png (12.1 KiB) Viewed 1345 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?
Last edited by cohenwb on Mon Sep 04, 2023 12:54 pm, edited 1 time in total.
cohenwb
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: Mon Aug 21, 2023 10:47 am

Re: PRO2 sshpass error of SFTP upload

Post by cohenwb »

Still looking for a solution. @admin?
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: PRO2 sshpass error of SFTP upload

Post by admin »

Sorry, SFTP was missing on MB PRO2 distribution. Thanks for spotting this.
Just released update should do fine now.
cohenwb
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: Mon Aug 21, 2023 10:47 am

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

Post 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 1222 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 1222 times
meteo_error2.png
meteo_error2.png (17.64 KiB) Viewed 1222 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?
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: PRO2 sshpass error of SFTP upload.

Post 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.
cohenwb
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: Mon Aug 21, 2023 10:47 am

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

Post by cohenwb »

Seems to be working now. Thanks
Post Reply