Can be...

After 3 years the raspberry on and sending data is normal I guess.

I'll make a mirror of the microsd in a new one.

For now I have tried the solution that you propose me.

Thank you very much, regards.

El viernes, 24 de marzo de 2017, 13:04:53 (UTC+1), Tom Keffer escribió:
>
> Most likely, the SD card in your RPi is beginning to fail. Hopefully, you 
> have a backup.
>
> You may be able to save it by dumping it, then restoring, using the tool 
> sqlite3.
>
> sudo apt-get install sqlite3
> echo '.dump' | sqlite3 /var/lib/weewx/weewx.sdb | sqlite3 
> /var/tmp/weewx.sdb
> sudo mv /var/lib/weewx/weewx.sdb /var/lib/weewx/weewx.sdb.old
> sudo mv /var/tmp/weewx.sdb /var/lib/weewx/weewx.sdb
>
>
> It's a long shot, but you might get lucky.
>
> -tk
>
> On Thu, Mar 23, 2017 at 10:33 AM, Juan Antonio Mosquera <
> juananton...@juanantoniomosquera.com <javascript:>> wrote:
>
>> I have a problem after install...
>>
>>
>> Mar 23 18:23:37 raspberrypi weewx[17770]:         ****    File 
>> "/usr/share/weewx/weewx/reportengine.py", line 239, in run
>> Mar 23 18:23:37 raspberrypi weewx[17770]:         ****      obj.start()
>> Mar 23 18:23:37 raspberrypi weewx[17770]:         ****    File 
>> "/usr/share/weewx/weewx/reportengine.py", line 273, in start
>> Mar 23 18:23:37 raspberrypi weewx[17770]:         ****      self.run()
>> Mar 23 18:23:37 raspberrypi weewx[17770]:         ****    File 
>> "/usr/share/weewx/weewx/imagegenerator.py", line 31, in run
>> Mar 23 18:23:37 raspberrypi weewx[17770]:         ****     
>>  self.genImages(self.gen_ts)
>> Mar 23 18:23:37 raspberrypi weewx[17770]:         ****    File 
>> "/usr/share/weewx/weewx/imagegenerator.py", line 141, in genImages
>> Mar 23 18:23:37 raspberrypi weewx[17770]:         ****     
>>  aggregate_interval=aggregate_interval)
>> Mar 23 18:23:37 raspberrypi weewx[17770]:         ****    File 
>> "/usr/share/weewx/weewx/manager.py", line 512, in getSqlVectors
>> Mar 23 18:23:37 raspberrypi weewx[17770]:         ****     
>>  aggregate_type, aggregate_interval)
>> Mar 23 18:23:37 raspberrypi weewx[17770]:         ****    File 
>> "/usr/share/weewx/weewx/manager.py", line 739, in _getSqlVectors
>> Mar 23 18:23:37 raspberrypi weewx[17770]:         ****     
>>  _cursor.execute(sql_str, stamp)
>> Mar 23 18:23:37 raspberrypi weewx[17770]:         ****    File 
>> "/usr/share/weewx/weedb/sqlite.py", line 29, in guarded_fn
>> Mar 23 18:23:37 raspberrypi weewx[17770]:         ****      return 
>> fn(*args, **kwargs)
>> Mar 23 18:23:37 raspberrypi weewx[17770]:         ****    File 
>> "/usr/share/weewx/weedb/sqlite.py", line 211, in execute
>> Mar 23 18:23:37 raspberrypi weewx[17770]:         ****      return 
>> sqlite3.Cursor.execute(self, *args, **kwargs)
>> Mar 23 18:23:37 raspberrypi weewx[17770]:         ****  DatabaseError: 
>> database disk image is malformed
>> Mar 23 18:23:37 raspberrypi weewx[17770]: copygenerator: copied 0 files 
>> to /var/www/html/weewx/
>>
>>
>> Thanks!
>>
>> -- 
>> 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+...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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.

Reply via email to