ftp/sftp stop working on 4.10.2 ...

81 views
Skip to first unread message

Yves Martin

unread,
Jul 10, 2023, 5:55:40 PM7/10/23
to weewx-user
Hi

I have this error and I don't know why :

Jul 10 17:30:28 meteo-raspi weewx[1797] DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Ftp/skin.conf for report 'FTP'
Jul 10 17:30:29 meteo-raspi weewx[1797] DEBUG weewx.reportengine: ftpgenerator: FTP upload not requested. Skipped.

weewx.conf is set like this :

    [[FTP]]
        # FTP'ing the results to a webserver is treated as just another report,
        # albeit one with an unusual report generator!
        skin = Ftp
        enable = True

        # Set to True for a secure FTP (SFTP) connection. Not all servers
        # support this.
        secure_ftp = True

        # To upload files from something other than what HTML_ROOT is set
        # to above, specify a different HTML_ROOT here.
        HTML_ROOT = /web/meteo

        # Most FTP servers use port 21
        port = 22

        # Set to 1 to use passive mode, zero for active mode
        passive = 1
        path = /web/meteo/
        max_tries = 3
        user = XXXXXXXX
        password = XXXXXXXXXX
        server = 192.168.8.23

(sftp server works on a local network only. There is no NAT there ... so it is safe...)

Any idea why ftp or sftp do not work?

Regards,
Yves

Tom Keffer

unread,
Jul 11, 2023, 10:03:26 AM7/11/23
to weewx...@googlegroups.com
Make sure weewxd is using the copy of weewx.conf that you think it is using.

You provided an excerpt of the [[FTP]] section. Is it from /etc/weewx/weewx.conf? Is that what weewxd is using?

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/3795e503-4d2f-434d-9da8-a67a011f6c73n%40googlegroups.com.

Yves Martin

unread,
Jul 11, 2023, 10:32:20 PM7/11/23
to weewx-user
After a fresh install, I've reinstalled weewx, use ftp instead of sftp (not installed here) and everything works!!!

Tks.

Yves

Reply all
Reply to author
Forward
0 new messages