This is probably for Matthew? Before updating to 3.6.0 tonight I thought I'd do an apt-get update and upgrade. MySQL got upgraded. While it was down WeeWX was unable to write to it and was waiting another 2 minutes. (When I was using a Fine-Offset WH3080 it was no hassle), but now I'm using the Interceptor driver I have to manually restart WeeWX as it appears to completely shutdown.
I'll post a snippet of the log, from when MySQL shutdown for a bit, until I restarted WeeWX via /etc/init.d/weewx start (there's only a gap of 4.5 minutes because that's when I hsppened to check the log). Oct 8 23:10:33 rpi3 weewx[6630]: engine: Shutting down StdReport thread Oct 8 23:10:33 rpi3 weewx[6630]: interceptor: MainThread: shutting down server thread Oct 8 23:10:33 rpi3 weewx[6630]: engine: Caught database OperationalError: (2006, 'MySQL server has gone away') Oct 8 23:10:33 rpi3 weewx[6630]: **** Waiting 2 minutes then retrying... Oct 8 23:12:33 rpi3 weewx[6630]: engine: retrying... Oct 8 23:12:33 rpi3 weewx[6630]: engine: Using configuration file /home/weewx/weewx.conf Oct 8 23:12:33 rpi3 weewx[6630]: engine: Loading station type Interceptor (user.interceptor) Oct 8 23:12:33 rpi3 weewx[6630]: interceptor: MainThread: driver version is 0.8 Oct 8 23:12:33 rpi3 weewx[6630]: interceptor: MainThread: driver will listen on :55 Oct 8 23:12:33 rpi3 weewx[6630]: interceptor: MainThread: sensor map: None Oct 8 23:12:33 rpi3 weewx[6630]: engine: Unable to load driver: [Errno 98] Address already in use Oct 8 23:12:33 rpi3 weewx[6630]: **** Exiting... Oct 8 23:17:00 rpi3 weewx[18047]: engine: Initializing weewx version 3.5.0 Oct 8 23:17:00 rpi3 weewx[18047]: engine: Using Python 2.7.9 (default, Sep 17 2016, 20:26:04) #012[GCC 4.9.2] Oct 8 23:17:00 rpi3 weewx[18047]: engine: Platform Linux-4.1.20-v7+-armv7l-with-debian-8.0 Oct 8 23:17:00 rpi3 weewx[18047]: engine: pid file is /var/run/weewx.pid Oct 8 23:17:00 rpi3 weewx[18051]: engine: Using configuration file /home/weewx/weewx.conf Oct 8 23:17:00 rpi3 weewx[18051]: engine: Loading station type Interceptor (user.interceptor) Oct 8 23:17:00 rpi3 weewx[18051]: interceptor: MainThread: driver version is 0.8 Oct 8 23:17:00 rpi3 weewx[18051]: interceptor: MainThread: driver will listen on :55 Oct 8 23:17:00 rpi3 weewx[18051]: interceptor: MainThread: sensor map: None Regards, Steve. (Oh, 3.6.0 installed without a hitch :) ) -- 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]. For more options, visit https://groups.google.com/d/optout.
