Heute habe ich die Weewx Version 5.02 auf einem neuen Raspberry Pi5 installiert.
Weewx funktioniert auch problemlos mit meiner Ecowitt W90 Station, aber
beim FTP bekomme ich leider Fehlermeldungen.
Wenn ich mich mit den Loggindaten manuell einlogge, klappt es.
Code: Alles auswählen
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: ftpgenerator: (0): caught exception '<class 'ftplib.error_perm'>': 530 Login incorrect.
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** Traceback (most recent call last):
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/reportengine.py", line 461, in run
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** n = ftp_data.run()
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** ^^^^^^^^^^^^^^
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** File "/usr/share/weewx/weeutil/ftpupload.py", line 167, in run
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** ftp_server.login(self.user, self.password)
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** File "/usr/lib/python3.11/ftplib.py", line 414, in login
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** resp = self.sendcmd('PASS ' + passwd)
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** File "/usr/lib/python3.11/ftplib.py", line 281, in sendcmd
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** return self.getresp()
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** ^^^^^^^^^^^^^^
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** File "/usr/lib/python3.11/ftplib.py", line 254, in getresp
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** raise error_perm(resp)
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** ftplib.error_perm: 530 Login incorrect.
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: ftpgenerator: (1): caught exception '<class 'ftplib.error_perm'>': 530 Login incorrect.
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** Traceback (most recent call last):
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/reportengine.py", line 461, in run
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** n = ftp_data.run()
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** ^^^^^^^^^^^^^^
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** File "/usr/share/weewx/weeutil/ftpupload.py", line 167, in run
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** ftp_server.login(self.user, self.password)
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** File "/usr/lib/python3.11/ftplib.py", line 414, in login
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** resp = self.sendcmd('PASS ' + passwd)
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** File "/usr/lib/python3.11/ftplib.py", line 281, in sendcmd
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** return self.getresp()
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** ^^^^^^^^^^^^^^
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** File "/usr/lib/python3.11/ftplib.py", line 254, in getresp
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** raise error_perm(resp)
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** ftplib.error_perm: 530 Login incorrect.
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: ftpgenerator: (2): caught exception '<class 'ftplib.error_perm'>': 530 Login incorrect.
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** Traceback (most recent call last):
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/reportengine.py", line 461, in run
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** n = ftp_data.run()
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** ^^^^^^^^^^^^^^
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** File "/usr/share/weewx/weeutil/ftpupload.py", line 167, in run
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** ftp_server.login(self.user, self.password)
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** File "/usr/lib/python3.11/ftplib.py", line 414, in login
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** resp = self.sendcmd('PASS ' + passwd)
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** File "/usr/lib/python3.11/ftplib.py", line 281, in sendcmd
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** return self.getresp()
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** ^^^^^^^^^^^^^^
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** File "/usr/lib/python3.11/ftplib.py", line 254, in getresp
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** raise error_perm(resp)
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: **** ftplib.error_perm: 530 Login incorrect.
May 31 20:05:30 raspberrypi weewxd[2192]: ERROR weewx.reportengine: ftpgenerator: Upload failed
Code: Alles auswählen
[[FTP]]
# FTP'ing the results to a webserver is treated as just another report,
# albeit one with an unusual report generator!
skin = Ftp
# If you wish to use FTP, set "enable" to "true", then fill out the
# next four lines.
# Use quotes around the password to guard against parsing errors.
enable = true
user = ********
password = "*****************"
server = w01cde9f.kasserver.com # The ftp server name, e.g, www.myserver.org w01cde9f.kasserver.com
path = / # The destination directory, e.g., /weather
# Set to True for an FTP over TLS (FTPS) connection. Not all servers
# support this.
secure_ftp = False
# To upload files from something other than what HTML_ROOT is set
# to above, specify a different HTML_ROOT here.
HTML_ROOT = /var/www/html/weewx
# Most FTP servers use port 21.
port = 21
# Set to 1 to use passive mode, zero for active mode
passive = 1