So overnight my provider changed settings to SFTP.
They said I would only need to enable SFTP:
the error is due to an update made on our servers due to an attack that was
made on our FTP ports all connections will need to be made through FTPS
the port username password and host name are still the same as before but
you will need to switch the protocol to FTPS to allow it to connect over TLS
I went into the conf file and enabled the secure ftp to true, now I get a
broken pipe error (this is only one of MANY):
May 1 20:02:14 raspberrypi wee_reports[832] ERROR weeutil.ftpupload:
Attempt #1. Failed uploading /yearhumin.png to ftp.mydomain.com. Reason:
[Errno 32] Broken pipe
Running a report I get the following:
$ sudo wee_reports
Using configuration file /etc/weewx/weewx.conf
Generating for all time
Traceback (most recent call last):
File "/usr/share/weewx/weewx/reportengine.py", line 326, in run
n = ftp_data.run()
File "/usr/share/weewx/weeutil/ftpupload.py", line 143, in run
self._make_remote_dir(ftp_server, remote_dir_path)
File "/usr/share/weewx/weeutil/ftpupload.py", line 240, in
_make_remote_dir
raise IOError("Unable to create remote directory %s" % remote_dir_path)
OSError: Unable to create remote directory /font
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/weewx/weewx/reportengine.py", line 197, in run
obj.start()
File "/usr/share/weewx/weewx/reportengine.py", line 280, in start
self.run()
File "/usr/share/weewx/weewx/reportengine.py", line 327, in run
except (socket.timeout, socket.gaierror, ftplib.all_errors, IOError) as
e:
TypeError: catching classes that do not inherit from BaseException is not
allowed
I have gone so far as a fresh install of Buster and weewx 4 on a different
card, still getting the error.
What am I missing?
Thanks
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/dca12922-6b68-4b56-b7d7-fcd83616df51%40googlegroups.com.