Thanks Gary. I upgraded to 3.9.1. Now it runs, but complains about writing
to readonly database.
pi@raspberrypi:~ $ sudo /etc/init.d/weewx stop
[ ok ] Stopping weewx (via systemctl): weewx.service.
pi@raspberrypi:~ $ wee_database --rebuild-daily --date=2018-12-06
Using configuration file /etc/weewx/weewx.conf
Using database binding 'wx_binding', which is bound to database
'archive_sqlite'
Daily summary for date 2018-12-06 will be rebuilt
Proceed (y/n)? y
Rebuilding daily summaries in database 'weewx.sdb' ...
Traceback (most recent call last):
File "/usr/bin/wee_database", line 794, in <module>
main()
File "/usr/bin/wee_database", line 153, in main
rebuildDaily(config_dict, db_binding, options)
File "/usr/bin/wee_database", line 263, in rebuildDaily
trans_days=20)
File "/usr/share/weewx/weewx/manager.py", line 1496, in
backfill_day_summary
self._write_metadata('lastUpdate', str(int(lastUpdate)), cursor)
File "/usr/share/weewx/weewx/manager.py", line 1606, in _write_metadata
(key, value))
File "/usr/share/weewx/weedb/sqlite.py", line 43, in guarded_fn
raise weedb.OperationalError(e)
weedb.OperationalError: attempt to write a readonly database
On Sunday, 10 March 2019 13:27:24 UTC+2, gjr80 wrote:
>
> Hi Bernard,
>
> --backfill-daily was renamed --rebuild-daily a few release back, as far as
> I can tell the change occurred in v3.7.0. I think it was at the same time
> that --date support was added (--backfill-daily never supported --date).
>
> You will be seeing --rebuild-daily on the web site as the web site
> reflects the current released version (3.9.1). The wee_database output in
> your 3rd post shows --backfill-daily rather than rebuild-daily.
>
> Not an expert on package upgrades but everything you are seeing indicates
> any upgrade you did do did not take and you are still running 3.6.2.
>
> Gary
>
> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.