WeeWX stores the time each file was FTPd to your server in a file called *#FTP.last*. This is in order to avoid unnecessary uploads. Somehow the file got corrupted.
The fix is easy enough: delete the file. It will be regenerated at the next reporting cycle. You can find it in your HTML directory (probably in /var/www/html/weewx, or thereabouts) On Fri, Nov 8, 2019 at 3:41 PM James Muirhead <[email protected]> wrote: > WeeWX FTP upload has suddenly stopped working since the latest system > update (I have it setup to run apt-get update; apt-get upgrade at 4am every > Sunday). Everything else works fine, just no FTP upload. I hadn't changed > the settings, everything was working fine before Sunday morning. > > - Orange Pi PC > - 1GB RAM > - 1.3GHz Quad Core > - Armbian > - FTP > - Lighttpd > - MQTT > - WoW > - Wunderground > > Nov 8 18:50:23 localhost weewx[807]: reportengine: Caught unrecoverable > exception in generator 'weewx.reportengine.FtpGenerator' > Nov 8 18:50:23 localhost weewx[807]: **** insecure string pickle > Nov 8 18:50:23 localhost weewx[807]: **** Traceback (most recent > call last): > Nov 8 18:50:23 localhost weewx[807]: **** File > "/usr/share/weewx/weewx/reportengine.py", line 204, in run > Nov 8 18:50:23 localhost weewx[807]: **** obj.start() > Nov 8 18:50:23 localhost weewx[807]: **** File > "/usr/share/weewx/weewx/reportengine.py", line 300, in start > Nov 8 18:50:23 localhost weewx[807]: **** self.run() > Nov 8 18:50:23 localhost weewx[807]: **** File > "/usr/share/weewx/weewx/reportengine.py", line 347, in run > Nov 8 18:50:23 localhost weewx[807]: **** n = ftp_data.run() > Nov 8 18:50:23 localhost weewx[807]: **** File > "/usr/share/weewx/weeutil/ftpupload.py", line 89, in run > Nov 8 18:50:23 localhost weewx[807]: **** (timestamp, > fileset) = self.getLastUpload() > Nov 8 18:50:23 localhost weewx[807]: **** File > "/usr/share/weewx/weeutil/ftpupload.py", line 198, in getLastUpload > Nov 8 18:50:23 localhost weewx[807]: **** fileset = > cPickle.load(f) > Nov 8 18:50:23 localhost weewx[807]: **** ValueError: insecure > string pickle > Nov 8 18:50:23 localhost weewx[807]: **** Generator terminated > > I've been wondering if the update removed a dependency. I installed FTP, > but didn't fix the issue! > > Anyone got any bright ideas on this one? > > > -- > 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/4f5b1cfe-e4a7-4296-bddc-eb4843fd9f9a%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/4f5b1cfe-e4a7-4296-bddc-eb4843fd9f9a%40googlegroups.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/CAPq0zED7NgYRbaC63jEgxYFAQMBCPeCK5bKx04DOoRpMctXcMQ%40mail.gmail.com.
