V4.8: repair after failed installation of PySFTP

56 views
Skip to first unread message

Ton vanN

unread,
Mar 12, 2025, 9:53:43 AM3/12/25
to weewx-user
Running WeeWX v4.80 at a Raspberry_3B on RaspianBuster:
Reliable & sufficient and therefore not inclined for an upgrade, except that my providers desire SFTP to be used for upload.

However, after a botched installation of PySFTP for related repair now 3 (probably linked) questions arise:
1. Reboot is no longer possible by PuttySSH-CLI with 'sudo reboot'.
Brute software remedy is 'sudo reboot -f'
Alternative is hard reboot by cycling off&on the power supply.
Is for this aspect a repair or softer approach possible?
2. If installation of PySFTP into WeeWX is not possible,
what alternative setup is possible to get a working SFTP inside WeeWX?
3. As result of this botched installation WeeWX-v4.8 'on own intiative' for unclear reasons changed  /home/weewx/public_html/index.html for the Standard skin into a script only producing battery-status en wind-extremes.
In WeeWX-v4.8 the Seasons-skins is still OK (and therefore WeeWX-display in practise not really a problem), but would like to restore the mentioned index.html as basis for experiments separate from 'production' running with Seasons-skin.
For restore, where to find the original index.html for Standard-skin v4.8?

As written, botched installation in combination caused these problems and therefore presented in combination.
Because answers might be separate, absolutely no objections that moderation splits reactions to this message.

Regards, Anton

Ton vanN

unread,
Mar 12, 2025, 9:58:57 AM3/12/25
to weewx-user
In addition to previous message.:
Have tried this way of correction without success:
https://forums.raspberrypi.com/viewtopic.php?t=346172

Op woensdag 12 maart 2025 om 14:53:43 UTC+1 schreef Ton vanN:

vince

unread,
Mar 12, 2025, 12:00:25 PM3/12/25
to weewx-user
  1. Weewx has in need for, nor interaction with, putty at all
  2. I would skip this until all other issues are fixed
  3. I suspect you have multiple skins overwriting the same file and one of them failed. Check your logs. Disable all skins and uploaders except the Seasons and Standard skin and see if it resolves itself.

Ton vanN

unread,
Mar 12, 2025, 12:49:53 PM3/12/25
to weewx-user
Vince,

Re1. Agreed that reboot-issue might be result of the failed installation of PySFTP directed at WeeWX, but WeeWX itself not directly involved.
Re2. Have meanwhile found a pragmatic remedy for SFTP-datatransfer in form of LFTP
Re3. Will try the suggested path.
Meanwhile also found an old index.html for the Standard-skin:
now reference how it should look like, and only question is 'how to generate from present WeeWX?'

Op woensdag 12 maart 2025 om 17:00:25 UTC+1 schreef vince:
Reply all
Reply to author
Forward
0 new messages