Just as a test, I ran wee_reports (using a different skin) for a recent point in the database and again for an older point. Both times, the HTML files were produced but the only image produced was daybarometer.png and that was 0 bytes in size. Very strange.
On Sunday, 26 November 2017 19:31:42 UTC, David Watts wrote: > > Hi > > Please see below the section of the log file from when I restarted weewx > to shortly after the HTML files were produced at 18:05. There's nothing > later in the log relating to weewx - no crashes or anything. > > The only files that were recreated by weewx after I deleted them are > index.html, week.html, month.html, year.html, mobile.html and the NOAA > files. > > daybarometer.png was also created but it's 0 bytes in size - it seems > weewx is starting to generate the images but then stopping and doing > nothing else. > > Nothing's changed apart from me restarting the Pi earlier - it was all > working fine beforehand so this problem's a bit odd. > > Thanks! > > Nov 26 17:58:53 gosigweather systemd[1]: Stopping LSB: weewx weather > system... > Nov 26 17:58:53 gosigweather systemd[1]: Stopped LSB: weewx weather system. > Nov 26 17:58:54 gosigweather systemd[1]: Starting LSB: weewx weather > system... > Nov 26 17:58:55 gosigweather weewx[10578]: engine: Initializing weewx > version 3.6.2 > Nov 26 17:58:55 gosigweather weewx[10578]: engine: Using Python 2.7.9 > (default, Sep 17 2016, 20:26:04) #012[GCC 4.9.2] > Nov 26 17:58:55 gosigweather weewx[10578]: engine: Platform > Linux-4.4.26-v7+-armv7l-with-debian-8.0 > Nov 26 17:58:55 gosigweather weewx[10578]: engine: pid file is > /var/run/weewx.pid > Nov 26 17:58:55 gosigweather weewx[10582]: engine: Using configuration > file /etc/weewx/weewx.conf > Nov 26 17:58:55 gosigweather weewx[10582]: engine: Loading station type > FineOffsetUSB (weewx.drivers.fousb) > Nov 26 17:58:55 gosigweather weewx[10582]: fousb: driver version is 1.9 > Nov 26 17:58:55 gosigweather weewx[10582]: fousb: polling mode is PERIODIC > Nov 26 17:58:55 gosigweather weewx[10582]: fousb: polling interval is 40 > Nov 26 17:58:55 gosigweather weewx[10582]: fousb: found station on USB > bus=001 device=005 > Nov 26 17:58:55 gosigweather weewx[10582]: engine: StdConvert target unit > is 0x1 > Nov 26 17:58:55 gosigweather systemd[1]: Started LSB: weewx weather system. > Nov 26 17:58:55 gosigweather weewx[10567]: Starting weewx weather system: > weewx. > Nov 26 17:58:55 gosigweather weewx[10582]: wxcalculate: The following > values will be calculated: barometer=prefer_hardware, > windchill=prefer_hardware, dewpoint=prefer_hardware, > appTemp=prefer_hardware, rainRate=prefer_hardware, windrun=prefer_hardware, > heatindex=prefer_hardware, maxSolarRad=prefer_hardware, > humidex=prefer_hardware, pressure=prefer_hardware, > inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, > cloudbase=prefer_hardware > Nov 26 17:58:55 gosigweather weewx[10582]: wxcalculate: The following > algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS > Nov 26 17:58:55 gosigweather weewx[10582]: engine: Archive will use data > binding wx_binding > Nov 26 17:58:55 gosigweather weewx[10582]: engine: Record generation will > be attempted in 'software' > Nov 26 17:58:56 gosigweather weewx[10582]: engine: Using archive interval > of 300 seconds (specified by hardware) > Nov 26 17:58:56 gosigweather weewx[10582]: engine: Using binding > 'wx_binding' to database 'weewx.sdb' > Nov 26 17:58:56 gosigweather weewx[10582]: manager: Starting backfill of > daily summaries > Nov 26 17:58:56 gosigweather weewx[10582]: manager: Daily summaries up to > date > Nov 26 17:58:56 gosigweather weewx[10582]: restx: StationRegistry: > Registration not requested. > Nov 26 17:58:56 gosigweather weewx[10582]: restx: Wunderground-PWS: Data > for station ILITTLEW5 will be posted > Nov 26 17:58:56 gosigweather weewx[10582]: restx: PWSweather: Posting not > enabled. > Nov 26 17:58:56 gosigweather weewx[10582]: restx: CWOP: Posting not > enabled. > Nov 26 17:58:56 gosigweather weewx[10582]: restx: WOW: Data for station > 76000035 will be posted > Nov 26 17:58:56 gosigweather weewx[10582]: restx: AWEKAS: Posting not > enabled. > Nov 26 17:58:56 gosigweather weewx[10582]: engine: Starting up weewx > version 3.6.2 > Nov 26 17:58:56 gosigweather weewx[10582]: fousb: synchronising to the > weather station (quality=1) > Nov 26 17:59:08 gosigweather weewx[10582]: fousb: unstable read: blocks > differ for ptr 0x000380 > Nov 26 17:59:59 gosigweather weewx[10582]: fousb: unstable read: blocks > differ for ptr 0x000380 > Nov 26 18:00:06 gosigweather rsyslogd-2007: action 'action 17' suspended, > next retry is Sun Nov 26 18:01:36 2017 [try http://www.rsyslog.com/e/2007 > ] > Nov 26 18:00:12 gosigweather CRON[10936]: (CRON) info (No MTA installed, > discarding output) > Nov 26 18:00:19 gosigweather CRON[10932]: (CRON) info (No MTA installed, > discarding output) > Nov 26 18:00:21 gosigweather CRON[10933]: (CRON) info (No MTA installed, > discarding output) > Nov 26 18:01:01 gosigweather CRON[11383]: (CRON) info (No MTA installed, > discarding output) > Nov 26 18:01:01 gosigweather CRON[11385]: (CRON) info (No MTA installed, > discarding output) > Nov 26 18:02:01 gosigweather rsyslogd-2007: action 'action 17' suspended, > next retry is Sun Nov 26 18:03:31 2017 [try http://www.rsyslog.com/e/2007 > ] > Nov 26 18:02:01 gosigweather CRON[11788]: (root) CMD (sh > /usr/share/nginx/www/usb2.sh) > Nov 26 18:02:01 gosigweather CRON[11789]: (root) CMD (sh /etc/ip.sh) > Nov 26 18:02:01 gosigweather CRON[11792]: (root) CMD (sh /etc/lockup.sh) > Nov 26 18:02:01 gosigweather CRON[11796]: (root) CMD (sh /etc/lcd.sh) > Nov 26 18:02:01 gosigweather CRON[11800]: (root) CMD (sh /etc/copy_db.sh) > Nov 26 18:02:01 gosigweather CRON[11772]: (CRON) info (No MTA installed, > discarding output) > Nov 26 18:02:01 gosigweather CRON[11770]: (CRON) info (No MTA installed, > discarding output) > Nov 26 18:04:40 gosigweather weewx[10582]: manager: added record > 2017-11-26 18:00:00 GMT (1511717400) to database 'weewx.sdb' > Nov 26 18:04:40 gosigweather weewx[10582]: manager: added record > 2017-11-26 18:00:00 GMT (1511717400) to daily summary in 'weewx.sdb' > Nov 26 18:04:40 gosigweather weewx[10582]: engine: Starting main packet > loop. > Nov 26 18:04:41 gosigweather weewx[10582]: fousb: station status > {'unknown': 0, 'lost_connection': 0, 'rain_overflow': 0} (0) > Nov 26 18:05:21 gosigweather CRON[12930]: (CRON) info (No MTA installed, > discarding output) > Nov 26 18:05:21 gosigweather CRON[12929]: (CRON) info (No MTA installed, > discarding output) > Nov 26 18:05:24 gosigweather weewx[10582]: manager: added record > 2017-11-26 18:05:00 GMT (1511719500) to database 'weewx.sdb' > Nov 26 18:05:24 gosigweather weewx[10582]: manager: added record > 2017-11-26 18:05:00 GMT (1511719500) to daily summary in 'weewx.sdb' > Nov 26 18:05:25 gosigweather weewx[10582]: restx: Wunderground-PWS: > Published record 2017-11-26 18:05:00 GMT (1511719500) > *Nov 26 18:05:29 gosigweather weewx[10582]: cheetahgenerator: Generated 14 > files for report StandardReport in 4.40 seconds* > Nov 26 18:05:40 gosigweather CRON[10934]: (CRON) info (No MTA installed, > discarding output) > Nov 26 18:05:41 gosigweather CRON[12931]: (CRON) info (No MTA installed, > discarding output) > Nov 26 18:05:42 gosigweather CRON[7313]: (CRON) info (No MTA installed, > discarding output) > Nov 26 18:05:42 gosigweather CRON[8072]: (CRON) info (No MTA installed, > discarding output) > Nov 26 18:05:42 gosigweather CRON[9249]: (CRON) info (No MTA installed, > discarding output) > Nov 26 18:06:01 gosigweather CRON[13392]: (root) CMD (sh /etc/ip.sh) > Nov 26 18:06:01 gosigweather CRON[13397]: (root) CMD (sh > /usr/share/nginx/www/usb2.sh) > Nov 26 18:06:01 gosigweather CRON[13399]: (root) CMD (sh /etc/lockup.sh) > Nov 26 18:06:01 gosigweather CRON[13401]: (root) CMD (sh /etc/copy_db.sh) > Nov 26 18:06:01 gosigweather CRON[13406]: (root) CMD (sh /etc/lcd.sh) > Nov 26 18:06:01 gosigweather CRON[13378]: (CRON) info (No MTA installed, > discarding output) > Nov 26 18:06:01 gosigweather CRON[13376]: (CRON) info (No MTA installed, > discarding output) > Nov 26 18:07:01 gosigweather rsyslogd-2007: action 'action 17' suspended, > next retry is Sun Nov 26 18:08:31 2017 [try http://www.rsyslog.com/e/2007 > ] > Nov 26 18:07:02 gosigweather CRON[13458]: (root) CMD (sh /etc/copy_db.sh) > > On Sunday, 26 November 2017 18:39:45 UTC, Andrew Milner wrote: >> >> What came before the section of log you posted, and what came after?? >> >> Attaching the full log file or at least from startup to end of second >> archive period is more helpful to finding what is happening on your system >> than just posting a small snippet of the log. >> >> can you give a listing of which .png and .html files which have been >> created since you deleted them?? >> >> >> >> >> On Sunday, 26 November 2017 19:34:14 UTC+2, David Watts wrote: >> >>> The problem seemed to rectify itself thankfully! >>> >>> However I had to restart my Pi today and now weewx is generating the >>> HTML files but not the images upon starting up, then it's seemingly doing >>> nothing else. This is the entry from the syslog shortly after restarting: >>> >>> Nov 26 17:20:48 gosigweather weewx[833]: manager: added record >>> 2017-11-26 17:20:00 GMT (1511716800) to database 'weewx.sdb' >>> Nov 26 17:20:48 gosigweather weewx[833]: manager: added record >>> 2017-11-26 17:20:00 GMT (1511716800) to daily summary in 'weewx.sdb' >>> Nov 26 17:20:50 gosigweather weewx[833]: restx: Wunderground-PWS: >>> Published record 2017-11-26 17:20:00 GMT (1511716800) >>> Nov 26 17:20:55 gosigweather weewx[833]: cheetahgenerator: Generated 14 >>> files for report StandardReport in 4.82 seconds >>> >>> Then after that weewx does nothing else. I've tried stopping and >>> starting weewx, as well as deleting all the images and html files but >>> nothing solves this. Any ideas? >>> >>> Thanks! >>> >>> >>> On Sunday, 19 November 2017 17:52:04 UTC, Andrew Milner wrote: >>>> >>>> Some graphs are only created every 3 hrs or even once per day in the >>>> case of the yearly ones >>>> >>>> To guarantee regeneration of all graphs just delete the .png files and >>>> weewx will recreate them (with the missing data hopefully) >>>> To guarantee regeneration of html pages delete the html files >>>> To guarantee regeneration of the NOAA pages just delete the NOAA files >>>> >>>> Weewx does a good job of creating/recreating whatever is missing >>>> >>>> On Sunday, 19 November 2017 16:49:22 UTC+2, David Watts wrote: >>>> >>>>> Hi >>>>> >>>>> I last took a periodic backup of my entire Raspberry Pi image file on >>>>> 28 October. This morning my Pi crashed and it was obviously corrupted, so >>>>> I >>>>> restored the image file from October. >>>>> >>>>> I take nightly backups of my weewx database so I restored the one from >>>>> last night. This seemed to work fine, and it's adding new data downloaded >>>>> from my station today, but the graphs produced by weewx are not showing >>>>> any >>>>> data for the period of 28 October to today. Data downloaded today is, >>>>> however showing fine. However, all the data for this 'missing' period is >>>>> sitting in the database fine. >>>>> >>>>> Do you have any ideas what may be wrong? I've had to restore a Pi >>>>> image file before and use a weewx databse backup and there have been no >>>>> problems previously. >>>>> >>>>> Thanks >>>>> David >>>>> >>>> -- 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.
