Hi!
All was working fine with uploading the weewx weather data to my website. However, this suddenly stopped a couple of weeks ago. I was realizing one day, that the website was not updated anymore.
Looking into the syslog what happens and I found the following errors:
Apr 14 17:46:03 raspberrypi weewx[27105]: ftpupload: Attempt #1. Failed uploading /home/www/
xyz.de/daywind.png to sxyz.xyzserver.host. Reason: 425 Unable to build data connection: Operation not permitted
This changes during to process into:
Apr 14 17:46:13 raspberrypi weewx[27105]: ftpupload: Attempt #3. Failed uploading /home/www/
xyz.de/neowx/daywind.png to sxyz.xyzserver.host. Reason: 200 Type set to I
or
I have tried to play around in the file weewx.conf and changed the parameters there but this only led to other error messages like 550 or 500.
My configuration looks as follows:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
# 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, uncomment and fill out the next four lines.
# Use quotes around passwords to guard against parsing errors.
user = web83
password = 'xyz'
server = sxyz.xyzserver.host
path = /home/www/
xyz.de/ # Set to True for an FTP over TLS (FTPS) 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 = /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
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Can anyone help? I am a rooky but trying hard to become better with linux and this kind of software and programming.
Thank you!