[weewx-user] Re: weewx stop reporting (or crash?) few time per day ????

2016-12-25 Thread mwall
On Sunday, December 25, 2016 at 8:20:16 PM UTC-5, Marc Aubry wrote: > > hi > i though i got it last night after having removed the ip v6 part of the > rpi and hardcoding the ip address of the mysql server, the weewx did not > crash for 12 hours. but this morning at 07:12 the weewx had crashed

[weewx-user] Re: Acurite 01536 (Costco)

2016-12-25 Thread mwall
On Sunday, December 25, 2016 at 2:17:58 PM UTC-5, Marcus Watkins wrote: > > For Christmas today I received an Acurite 01536 5-in-1 weather station > with USB connection (from Costco). I set it up with weewx and was excited > to see it works out of the box for the most part. > > One difference

[weewx-user] Re: weewx stop reporting (or crash?) few time per day ????

2016-12-25 Thread Marc Aubry
hi i though i got it last night after having removed the ip v6 part of the rpi and hardcoding the ip address of the mysql server, the weewx did not crash for 12 hours. but this morning at 07:12 the weewx had crashed again the last line of the syslog regarding weather station is : *Dec 26

[weewx-user] Re: weewx stop reporting (or crash?) few time per day ????

2016-12-25 Thread mwall
On Saturday, December 24, 2016 at 1:27:01 AM UTC-5, Marc Aubry wrote: > > this morning crash syslog (see attachfile)ed > the weewx has stop working from 8:37 to 1:30 until i reboot the rpi. > maybe i have a network issue... > i'll try to use a fix ip instead of static address delivered by my

[weewx-user] Acurite 01536 (Costco)

2016-12-25 Thread Marcus Watkins
For Christmas today I received an Acurite 01536 5-in-1 weather station with USB connection (from Costco). I set it up with weewx and was excited to see it works out of the box for the most part. One difference from the docs is there's no 'USB Mode' switch on this base, so I'm interested to see

Re: [weewx-user] Recover corrupt DB

2016-12-25 Thread Thomas Keffer
If you can dump from the old sqlite file, it's pretty easy to restore into a new one: sqlite3 weewx.sdb < dumpfile -tk On Sun, Dec 25, 2016 at 1:29 AM, Per Edström wrote: > I was lazy and did not make any backup or image of my installation. (Yes - > Bad sysadmin!)

Re: [weewx-user] Re: weewx stop reporting (or crash?) few time per day ????

2016-12-25 Thread Marc Aubry
hi andrew. Thanks for your reply, You are probably right i should start again from a fresh install and slowly put it on load by adding functionalities. The problem of that approach is the time it's going to take to achieve my goal. i have sometime 1 crash per day, sometime two crashes per day.

Re: [weewx-user] Re: weewx stop reporting (or crash?) few time per day ????

2016-12-25 Thread Marc Aubry
Hi thanks for your help. i have desactivate ipv6 on the rapsberry by adding net.ipv6.conf.all.disable_ipv6=1 in /etc/sysctl.conf i hope it will be enough. i don't see any ip6 address on ifconfig but can still see something in sudo netstat -lntp tcp6 0 0 :::80 :::*

[weewx-user] Create backup image of the running system

2016-12-25 Thread Per Edström
I run my Weewx on Raspberry Pi and on a "PC" (Ebox 3350 and Ubuntu 10). Both have the OS on an SD/SDHC-card. Now, I find it messy to create a backup image: 1. Halt system 2. Power down 3. Remove SD-card 4. Put in laptop and create an image to file (5-10 min) 5. Insert SD-card in taget again and

[weewx-user] Recover corrupt DB

2016-12-25 Thread Per Edström
I was lazy and did not make any backup or image of my installation. (Yes - Bad sysadmin!) Last week my SD-card gave up and very few files are not affected (and can be copied). The weewx.sdb-file is only readable by 80% and the rest is zeros now. Is it possible to recover the first 80% and