May 27 13:30:36 raspberrypi weewx[899] ERROR weeutil.ftpupload: Attempt #1. Failed uploading public_html/weewx/monthtempfeel.png to ftp.tq7weather.uk. Reason: 553 Can't open that file: No such file or directory
May 27 13:30:36 raspberrypi weewx[899] ERROR weeutil.ftpupload: Attempt #2. Failed uploading public_html/weewx/monthtempfeel.png to ftp.tq7weather.uk. Reason: 553 Can't open that file: No such file or directory
May 27 13:30:37 raspberrypi weewx[899] ERROR weeutil.ftpupload: Attempt #3. Failed uploading public_html/weewx/monthtempfeel.png to ftp.tq7weather.uk. Reason: 553 Can't open that file: No such file or directory
May 27 13:30:37 raspberrypi weewx[899] ERROR weeutil.ftpupload: Failed to upload file public_html/weewx/monthtempfeel.png
May 27 13:30:37 raspberrypi weewx[899] ERROR weeutil.ftpupload: Attempt #1. Failed uploading public_html/weewx/yearwind.png to ftp.tq7weather.uk. Reason: 553 Can't open that file: No such file or directory
May 27 13:30:38 raspberrypi weewx[899] ERROR weeutil.ftpupload: Attempt #2. Failed uploading public_html/weewx/yearwind.png to ftp.tq7weather.uk. Reason: 553 Can't open that file: No such file or directory
May 27 13:30:38 raspberrypi weewx[899] ERROR weeutil.ftpupload: Attempt #3. Failed uploading public_html/weewx/yearwind.png to ftp.tq7weather.uk. Reason: 553 Can't open that file: No such file or directory
May 27 13:30:38 raspberrypi weewx[899] ERROR weeutil.ftpupload: Failed to upload file public_html/weewx/yearwind.png
May 27 13:30:39 raspberrypi weewx[899] ERROR weeutil.ftpupload: Attempt #1. Failed uploading public_html/weewx/statistics.html to ftp.tq7weather.uk. Reason: 553 Can't open that file: No such file or directory
May 27 13:30:39 raspberrypi weewx[899] ERROR weeutil.ftpupload: Attempt #2. Failed uploading public_html/weewx/statistics.html to ftp.tq7weather.uk. Reason: 553 Can't open that file: No such file or directory
May 27 13:30:40 raspberrypi weewx[899] ERROR weeutil.ftpupload: Attempt #3. Failed uploading public_html/weewx/statistics.html to ftp.tq7weather.uk. Reason: 553 Can't open that file: No such file or directory
May 27 13:30:40 raspberrypi weewx[899] ERROR weeutil.ftpupload: Failed to upload file public_html/weewx/statistics.html
May 27 13:30:41 raspberrypi weewx[899] ERROR weeutil.ftpupload: Attempt #1. Failed uploading public_html/weewx/weekbarometer.png to ftp.tq7weather.uk. Reason: 553 Can't open that file: No such file or directory
Here's the relevant bit of my weewx.conf:
[[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 passwords to guard against parsing errors.
enable = true
user =[user name]
password = [password]
server = [server name] # The ftp server name, e.g, www.myserver.org
path = public_html/weewx/ # The destination directory, e.g., /weather
# Set to True for an FTP over TLS (FTPS) connection. Not all servers
# support this.
secure_ftp = True
secure_data = 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
The connection is FTP over TLS.
My weather data is from an Aercus Weather Sleuth using interceptor on a Raspberry pi.
It's as if FTP is looking for the wrong path on my pi but maybe I misunderstand the error message. That's why I tried removing the hash before HTML_ROOT but I got the same result with the hash.
Otherwise very pleased with weewx which I can view on my pi using nginx
Any help gratefully received.
Richard
--
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/35d77ba3-e9a1-4919-9b2e-bb0680490b8a%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx...@googlegroups.com.
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/65f68c3f-31e6-4e6f-95aa-0268a0a82f78%40googlegroups.com.
May 28 17:24:35 raspberrypi weewx[723] ERROR weeutil.ftpupload: Attempt #1. Failed uploading /public_html/weewx/daytempfeel.png to polaris.servers.prgn.misp.co.uk. Reason: [Errno 32] Broken pipe
May 28 17:24:35 raspberrypi weewx[723] ERROR weeutil.ftpupload: Attempt #2. Failed uploading /public_html/weewx/daytempfeel.png to polaris.servers.prgn.misp.co.uk. Reason: [Errno 32] Broken pipe
May 28 17:24:35 raspberrypi weewx[723] ERROR weeutil.ftpupload: Attempt #3. Failed uploading /public_html/weewx/daytempfeel.png to polaris.servers.prgn.misp.co.uk. Reason: [Errno 32] Broken pipe
May 28 17:24:35 raspberrypi weewx[723] ERROR weeutil.ftpupload: Failed to upload file /public_html/weewx/daytempfeel.png
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/65f68c3f-31e6-4e6f-95aa-0268a0a82f78%40googlegroups.com.
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/cc51fa47-91a9-4a06-838b-18a3ed7b3c2f%40googlegroups.com.
May 29 12:01:40 raspberrypi weewx[2431] INFO weewx.reportengine: Copied 5 files to /var/www/html/weewx
May 29 12:01:40 raspberrypi weewx[2431] ERROR weewx.reportengine: Caught unrecoverable exception in generator 'weewx.reportengine.FtpGenerator'
May 29 12:01:40 raspberrypi weewx[2431] ERROR weewx.reportengine: **** __init__() got an unexpected keyword argument 'max_tries'
May 29 12:01:40 raspberrypi weewx[2431] ERROR weewx.reportengine: **** Traceback (most recent call last):
May 29 12:01:40 raspberrypi weewx[2431] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/reportengine.py", line 197, in run
May 29 12:01:40 raspberrypi weewx[2431] ERROR weewx.reportengine: **** obj.start()
May 29 12:01:40 raspberrypi weewx[2431] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/reportengine.py", line 280, in start
May 29 12:01:40 raspberrypi weewx[2431] ERROR weewx.reportengine: **** self.run()
May 29 12:01:40 raspberrypi weewx[2431] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/reportengine.py", line 320, in run
May 29 12:01:40 raspberrypi weewx[2431] ERROR weewx.reportengine: **** secure_data=to_bool(self.skin_dict.get('secure_data', True)))
May 29 12:01:40 raspberrypi weewx[2431] ERROR weewx.reportengine: **** TypeError: __init__() got an unexpected keyword argument 'max_tries'
May 29 12:01:40 raspberrypi weewx[2431] ERROR weewx.reportengine: **** Generator terminated
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/cc51fa47-91a9-4a06-838b-18a3ed7b3c2f%40googlegroups.com.
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/c53bbd3e-00ee-4291-872d-6de13557e08c%40googlegroups.com.
May 29 14:10:56 raspberrypi weewx[4780] ERROR weeutil.ftpupload: Attempt #1. Failed uploading /public_html/weewx/weekwind.png to polaris.servers.prgn.misp.co.uk. Reason: 521 Data connection cannot be opened with this PROT setting.
May 29 14:10:57 raspberrypi weewx[4780] ERROR weeutil.ftpupload: Attempt #2. Failed uploading /public_html/weewx/weekwind.png to polaris.servers.prgn.misp.co.uk. Reason: 521 Data connection cannot be opened with this PROT setting.
May 29 14:10:57 raspberrypi weewx[4780] ERROR weeutil.ftpupload: Attempt #3. Failed uploading /public_html/weewx/weekwind.png to polaris.servers.prgn.misp.co.uk. Reason: 521 Data connection cannot be opened with this PROT setting.
May 29 14:10:57 raspberrypi weewx[4780] ERROR weeutil.ftpupload: Failed to upload file /public_html/weewx/weekwind.png
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/c53bbd3e-00ee-4291-872d-6de13557e08c%40googlegroups.com.
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/67c65342-a58e-440b-a92a-8ed9dd6b3395%40googlegroups.com.
May 30 11:20:54 raspberrypi weewx[21515] ERROR weewx.reportengine: Caught unrecoverable exception in generator 'weewx.reportengine.FtpGenerator'
May 30 11:20:54 raspberrypi weewx[21515] ERROR weewx.reportengine: **** __init__() got an unexpected keyword argument 'max_tries'
May 30 11:20:54 raspberrypi weewx[21515] ERROR weewx.reportengine: **** Traceback (most recent call last):
May 30 11:20:54 raspberrypi weewx[21515] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/reportengine.py", line 197, in run
May 30 11:20:54 raspberrypi weewx[21515] ERROR weewx.reportengine: **** obj.start()
May 30 11:20:54 raspberrypi weewx[21515] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/reportengine.py", line 280, in start
May 30 11:20:54 raspberrypi weewx[21515] ERROR weewx.reportengine: **** self.run()
May 30 11:20:54 raspberrypi weewx[21515] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/reportengine.py", line 320, in run
May 30 11:20:54 raspberrypi weewx[21515] ERROR weewx.reportengine: **** secure_data=to_bool(self.skin_dict.get('secure_data', True)))
May 30 11:20:54 raspberrypi weewx[21515] ERROR weewx.reportengine: **** TypeError: __init__() got an unexpected keyword argument 'max_tries'
May 30 11:20:54 raspberrypi weewx[21515] ERROR weewx.reportengine: **** Generator terminated
I've double checked to make sure I've used your latest.
I've tried with secure_data set to both true and false.
Incidentally, are capital letters critical in the true/false settings?
Regards
Richard
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/67c65342-a58e-440b-a92a-8ed9dd6b3395%40googlegroups.com.
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/6dd53e7f-7f1a-434c-8d44-66b2ff6619e4%40googlegroups.com.
May 30 14:16:39 raspberrypi weewx[24128] ERROR weeutil.ftpupload: Attempt #2. Failed uploading /public_html/weewx/daywindvec.png to polaris.servers.prgn.misp.co.uk. Reason: [Errno 32] Broken pipe
May 30 14:16:39 raspberrypi weewx[24128] ERROR weeutil.ftpupload: Attempt #3. Failed uploading /public_html/weewx/daywindvec.png to polaris.servers.prgn.misp.co.uk. Reason: [Errno 32] Broken pipe
May 30 14:16:39 raspberrypi weewx[24128] ERROR weeutil.ftpupload: Failed to upload file /public_html/weewx/daywindvec.png
May 30 14:16:39 raspberrypi weewx[24128] ERROR weeutil.ftpupload: Got error while attempting to make remote directory /public_html/weewx/NOAA
May 30 14:16:39 raspberrypi weewx[24128] ERROR weeutil.ftpupload: **** Error: [Errno 32] Broken pipe
May 30 14:16:39 raspberrypi weewx[24128] ERROR weeutil.ftpupload: Got error while attempting to make remote directory /public_html/weewx/NOAA
May 30 14:16:39 raspberrypi weewx[24128] ERROR weeutil.ftpupload: **** Error: [Errno 32] Broken pipe
May 30 14:16:39 raspberrypi weewx[24128] ERROR weeutil.ftpupload: Got error while attempting to make remote directory /public_html/weewx/NOAA
May 30 14:16:39 raspberrypi weewx[24128] ERROR weeutil.ftpupload: **** Error: [Errno 32] Broken pipe
May 30 14:16:39 raspberrypi weewx[24128] ERROR weeutil.ftpupload: Unable to create remote directory /public_html/weewx/NOAA
May 30 14:16:39 raspberrypi weewx[24128] ERROR weewx.reportengine: ftpgenerator: Caught exception '<type 'exceptions.IOError'>': Unable to create remote directory /public_html/weewx/NOAA
May 30 14:16:39 raspberrypi weewx[24128] ERROR weewx.reportengine: **** Traceback (most recent call last):
May 30 14:16:39 raspberrypi weewx[24128] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/reportengine.py", line 326, in run
May 30 14:16:39 raspberrypi weewx[24128] ERROR weewx.reportengine: **** n = ftp_data.run()
May 30 14:16:39 raspberrypi weewx[24128] ERROR weewx.reportengine: **** File "/usr/share/weewx/weeutil/ftpupload.py", line 143, in run
May 30 14:16:39 raspberrypi weewx[24128] ERROR weewx.reportengine: **** self._make_remote_dir(ftp_server, remote_dir_path)
May 30 14:16:39 raspberrypi weewx[24128] ERROR weewx.reportengine: **** File "/usr/share/weewx/weeutil/ftpupload.py", line 240, in _make_remote_dir
May 30 14:16:39 raspberrypi weewx[24128] ERROR weewx.reportengine: **** raise IOError("Unable to create remote directory %s" % remote_dir_path)
May 30 14:16:39 raspberrypi weewx[24128] ERROR weewx.reportengine: **** IOError: Unable to create remote directory /public_html/weewx/NOAA
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/6dd53e7f-7f1a-434c-8d44-66b2ff6619e4%40googlegroups.com.
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/9bfd90d4-0e7c-4366-816a-4a67e069b8d4%40googlegroups.com.