[weewx-user] Re: Install Weewx on Rpi Raspbian

2016-11-27 Thread Ken Harlan
Gary, thanks for the help.  Looks like that was the problem.  Did the dump 
and clear and it has been running for about 10 minutes.  The index.html has 
been updated and the data has uploaded to my PWS site.

I had read about the dump and clear functions but could not get them to 
work because I was not in the correct directory.  Thanks for pointing out 
where those commands were located.

Thanks again, Ken

On Sunday, November 27, 2016 at 2:18:11 AM UTC-8, gjr80 wrote:
>
> Ken,
>
> Looks like another corrupted logger, that's the second one over the last 
> few days. I would stop weewx and then use wee_device to dump the logger 
> memory and then clear the memory:
>
> $ sudo /etc/init.d/weewx stop
> $ ./wee_device --dump
> You may see a lot of duplicate primary key messages in your log - ignore 
> them.
> $ ./wee_device --clear-memory
> $ sudo /etc/init.d/weewx start
>
> Note ./wee_device assumes you are in the /home/weewx/bin or 
> /usr/share/weewx directory, depending on your install type. If not you may 
> need to prepend the appropriate path to wee_device.
>
> Check you logs and hopefully you will see some records being saved to the 
> database and reports being generated normally.
>
> Gary
>
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Install Weewx on Rpi Raspbian

2016-11-27 Thread gjr80
Ken,

Looks like another corrupted logger, that's the second one over the last few 
days. I would stop weewx and then use wee_device to dump the logger memory and 
then clear the memory:

$ sudo /etc/init.d/weewx stop
$ ./wee_device --dump
You may see a lot of duplicate primary key messages in your log - ignore them.
$ ./wee_device --clear-memory
$ sudo /etc/init.d/weewx start

Note ./wee_device assumes you are in the /home/weewx/bin or /usr/share/weewx 
directory, depending on your install type. If not you may need to prepend the 
appropriate path to wee_device.

Check you logs and hopefully you will see some records being saved to the 
database and reports being generated normally.

Gary

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Install Weewx on Rpi Raspbian

2016-11-26 Thread kenh
Thanks Gary for the response.  Here is a log of three stop/starts.  I will 
be unavailable until tomorrow afternoon.

Log:

pi@raspberrypi:/home/weewx $ sudo /etc/init.d/weewx start
[ ok ] Starting weewx (via systemctl): weewx.service.
pi@raspberrypi:/home/weewx $ sudo tail -f /var/log/syslog
Nov 26 19:10:08 raspberrypi weewx[1980]: engine: Clock error is 0.05 
seconds (positive is fast)
Nov 26 19:10:08 raspberrypi weewx[1980]: vantage: Getting archive packets 
since 2016-11-16 23:30:00 PST (1479367800)
Nov 26 19:10:08 raspberrypi weewx[1980]: vantage: gentle wake up of console 
successful
Nov 26 19:10:09 raspberrypi weewx[1980]: vantage: Retrieving 501 page(s); 
starting index= 0
Nov 26 19:10:09 raspberrypi weewx[1980]: vantage: DMPAFT complete: page 
timestamp 2016-09-24 17:00:00 PDT (1474761600) less than final timestamp 
2016-11-16 23:30:00 PST (1479367800)
Nov 26 19:10:09 raspberrypi weewx[1980]: vantage: Catch up complete.
Nov 26 19:10:09 raspberrypi weewx[1980]: engine: Starting main packet loop.
Nov 26 19:10:09 raspberrypi weewx[1980]: vantage: gentle wake up of console 
successful
Nov 26 19:10:09 raspberrypi weewx[1980]: vantage: Requesting 200 LOOP 
packets.
Nov 26 19:10:09 raspberrypi weewx[1980]: vantage: gentle wake up of console 
successful
^Cpi@raspberrypi:/home/weewx $  sudo /etc/init.d/weewx stop
[ ok ] Stopping weewx (via systemctl): weewx.service.
pi@raspberrypi:/home/weewx $ sudo /etc/init.d/weewx start
[ ok ] Starting weewx (via systemctl): weewx.service.
pi@raspberrypi:/home/weewx $ sudo tail -f /var/log/syslog
Nov 26 19:14:42 raspberrypi weewx[2097]: vantage: _setup; hardware type is 
17
Nov 26 19:14:42 raspberrypi weewx[2097]: vantage: No  received from 
console
Nov 26 19:14:42 raspberrypi weewx[2097]: vantage: No  received from 
console
Nov 26 19:14:42 raspberrypi weewx[2097]: vantage: get_data_with_crc16; try 
#1 failed
Nov 26 19:14:42 raspberrypi weewx[2097]: vantage: Unable to pass CRC16 
check while getting data
Nov 26 19:14:42 raspberrypi weewx[2097]: vantage: No  received from 
console
Nov 26 19:14:42 raspberrypi weewx[2097]: vantage: Max retries exceeded 
while getting EEPROM data at address 0x29
Nov 26 19:14:42 raspberrypi weewx[2097]: import of driver failed: While 
getting EEPROM data value at address 0x29 ()
Nov 26 19:14:42 raspberrypi weewx[2097]: engine: Unable to load driver: 
While getting EEPROM data value at address 0x29
Nov 26 19:14:42 raspberrypi weewx[2097]:   Exiting...
Nov 26 19:16:37 raspberrypi rsyslogd-2007: action 'action 17' suspended, 
next retry is Sat Nov 26 19:18:07 2016 [try http://www.rsyslog.com/e/2007 ]
Nov 26 19:17:01 raspberrypi CRON[2144]: (root) CMD (   cd / && run-parts 
--report /etc/cron.hourly)
^Cpi@raspberrypi:/home/weewx $ sudo /etc/init.d/weewx stop
[ ok ] Stopping weewx (via systemctl): weewx.service.
pi@raspberrypi:/home/weewx $ sudo /etc/init.d/weewx start
[ ok ] Starting weewx (via systemctl): weewx.service.
pi@raspberrypi:/home/weewx $ sudo tail -f /var/log/syslog
Nov 26 19:20:56 raspberrypi weewx[2237]: engine: Clock error is -0.44 
seconds (positive is fast)
Nov 26 19:20:56 raspberrypi weewx[2237]: vantage: Getting archive packets 
since 2016-11-16 23:30:00 PST (1479367800)
Nov 26 19:20:56 raspberrypi weewx[2237]: vantage: gentle wake up of console 
successful
Nov 26 19:20:58 raspberrypi weewx[2237]: vantage: Retrieving 501 page(s); 
starting index= 0
Nov 26 19:20:58 raspberrypi weewx[2237]: vantage: DMPAFT complete: page 
timestamp 2016-09-24 17:00:00 PDT (1474761600) less than final timestamp 
2016-11-16 23:30:00 PST (1479367800)
Nov 26 19:20:58 raspberrypi weewx[2237]: vantage: Catch up complete.
Nov 26 19:20:58 raspberrypi weewx[2237]: engine: Starting main packet loop.
Nov 26 19:20:58 raspberrypi weewx[2237]: vantage: gentle wake up of console 
successful
Nov 26 19:20:58 raspberrypi weewx[2237]: vantage: Requesting 200 LOOP 
packets.
Nov 26 19:20:58 raspberrypi weewx[2237]: vantage: gentle wake up of console 
successful
Nov 26 19:27:02 raspberrypi rsyslogd-2007: action 'action 17' suspended, 
next retry is Sat Nov 26 19:28:32 2016 [try http://www.rsyslog.com/e/2007 ]
Nov 26 19:27:32 raspberrypi weewx[2237]: vantage: Requesting 200 LOOP 
packets.
Nov 26 19:27:32 raspberrypi weewx[2237]: vantage: gentle wake up of console 
successful
Nov 26 19:30:16 raspberrypi weewx[2237]: vantage: Getting archive packets 
since 2016-11-16 23:30:00 PST (1479367800)
Nov 26 19:30:16 raspberrypi rsyslogd-2007: action 'action 17' suspended, 
next retry is Sat Nov 26 19:31:46 2016 [try http://www.rsyslog.com/e/2007 ]
Nov 26 19:30:16 raspberrypi weewx[2237]: vantage: gentle wake up of console 
successful
Nov 26 19:30:18 raspberrypi weewx[2237]: vantage: Retrieving 501 page(s); 
starting index= 0
Nov 26 19:30:18 raspberrypi weewx[2237]: vantage: DMPAFT complete: page 
timestamp 2016-09-24 17:00:00 PDT (1474761600) less than final timestamp 
2016-11-16 23:30:00 PST (1479367800)
Nov 26 19:30:18 raspberrypi weewx[2237]: vantage: Catch up