See my other note about getting a better log. However, instead of debug=1, use debug=2. This will give additional FTP information.
On Thu, Jan 28, 2021 at 2:38 PM <[email protected]> wrote: > Hi > > The file weekbarometer.png shows up in the right place as an empty file. > Have tried > > > > > > > > > > > > enable = true > > user = [email protected] > > password = "xxxxxxxxxxxx" > > server = www.billandcorena.com # The ftp server name, e.g, > www.myserver.org > > path = /public_html/weather/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 > > > > # 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 > > > > > > > > > > > > > > Jan 28 14:30:22 raspberrypi weewx[10448] INFO weewx.reportengine: > > Copied 37 files to /var/www/html/weewx/belchertown Jan 28 14:30:24 > raspberrypi weewx[10448] ERROR weeutil.ftpupload: Failed uploading > /var/www/html/weewx/weekbarometer.png to server www.billandcorena.com. > Reason: '[Errno 0] Error' Jan 28 14:30:24 raspberrypi weewx[10448] ERROR > weewx.reportengine: ftpgenerator: (0): > > caught exception '<class 'OSError'>': [Errno 0] Error Jan 28 14:30:24 > > raspberrypi weewx[10448] ERROR weewx.reportengine: **** > > Traceback (most recent call last): Jan 28 14:30:24 raspberrypi > > weewx[10448] ERROR weewx.reportengine: **** File > > "/usr/share/weewx/weewx/reportengine.py", line 331, in run Jan 28 > > 14:30:24 raspberrypi weewx[10448] ERROR weewx.reportengine: > > **** n = ftp_data.run() Jan 28 14:30:24 raspberrypi weewx[10448] > > ERROR weewx.reportengine: **** File > > "/usr/share/weewx/weeutil/ftpupload.py", line 163, in run Jan 28 > > 14:30:24 raspberrypi weewx[10448] ERROR weewx.reportengine: > > **** ftp_server.storbinary(stor_cmd, fd) Jan 28 14:30:24 > > raspberrypi weewx[10448] ERROR weewx.reportengine: **** File > > "/usr/lib/python3.7/ftplib.py", line 514, in storbinary Jan 28 14:30:24 > > raspberrypi weewx[10448] ERROR weewx.reportengine: **** > > conn.unwrap() Jan 28 14:30:24 raspberrypi weewx[10448] ERROR > > weewx.reportengine: **** File "/usr/lib/python3.7/ssl.py", > > line 1094, in unwrap Jan 28 14:30:24 raspberrypi weewx[10448] ERROR > > weewx.reportengine: **** s = self._sslobj.shutdown() Jan > > 28 14:30:24 raspberrypi weewx[10448] ERROR weewx.reportengine: > > **** OSError: [Errno 0] Error Jan 28 14:30:25 raspberrypi weewx[10448] > ERROR weeutil.ftpupload: Failed uploading > /var/www/html/weewx/weekbarometer.png to server www.billandcorena.com. > Reason: '[Errno 0] Error' > > > > -- > 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/008201d6f5be%2496172960%24c2457c20%24%40billandcorena.com > <https://groups.google.com/d/msgid/weewx-user/008201d6f5be%2496172960%24c2457c20%24%40billandcorena.com?utm_medium=email&utm_source=footer> > . > -- 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/CAPq0zEABatqxktuNWsA1qS%3Dt7zuFE3RaaDtRD5_uRqUKEa0W_g%40mail.gmail.com.
