Your database is in a protected area. Precede the command you used with 'sudo'. For example,
*sudo wee_device --dump* On Wed, Apr 20, 2022 at 9:52 AM [email protected] <[email protected]> wrote: > Thanks for that. It certainly does look like my problem. > > Resetting the Vantage Pro by removing power (and batteries) did not help, > so I am trying the memory dump. However, when I stopped weewx and did a > memory dump, I get a nothing but errors like this: > ERROR weewx.manager: Unable to add record 2022-04-17 07:55:00 PDT > (1650207300) to database 'weewx.sdb': attempt to write a readonly database > > Before I wipe the memory, I wanted to check that this is expected (the > troubleshooting page only mentions a 'duplicate primary keys' error, which > I don't see. > > Is there something else I need to do to the DB file before performing the > memory dump? > > Thanks! > > > On Tuesday, April 19, 2022 at 9:18:00 PM UTC-7 gjr80 wrote: > >> Looks like a clear case of corrupt station memory, not unusual in a >> vantage station after a power loss. See the wiki article WeeWX generates >> HTML pages, but it does not update them >> <https://github.com/weewx/weewx/wiki/Troubleshooting-the-Davis-Vantage-station#weewx-generates-html-pages-but-it-does-not-update-them>. >> >> >> Gary >> >> On Wednesday, 20 April 2022 at 13:34:09 UTC+10 [email protected] wrote: >> >>> I have been using weewx 4.5.1 more or less continuously since late 2019, >>> running on a Pi zero. I have had occasional problems, but they always seem >>> to be resolved by a restart or a system reboot. There was a power outage >>> yesterday that shut down the power for several hours. After the power came >>> back, I have had no new data stored or displayed. Data during the power >>> outage was recovered though. Syslog indicates that weewx was very busy >>> after power was restored uploading the missing data to Wunderground, but >>> once that was done, it stopped creating new data. Every 5 minutes, it >>> creates a new report, but there is no new data in the database, no data >>> upload to Wundergound and no change to the images used to create the report >>> locally. >>> >>> It is as if the Vantage Pro weather station has stopped working, but as >>> far as I can tell, it is fine. I had the server in debug mode before this >>> happened, so it seems like there should be a smoking gun in Syslog, but I >>> don't see it. >>> >>> Any ideas on what I should try to get back up and running? See below for >>> a Google drive link to the syslog file. Thanks! >>> >>> >>> https://drive.google.com/file/d/1uRIm29J9T8Dv2tAg7M1G6P7fKmaXpaCy/view?usp=sharing >>> >> -- > 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]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/62e9d375-1d8a-430a-ae17-c39b27419d90n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/62e9d375-1d8a-430a-ae17-c39b27419d90n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEDKQ_P6aDuSGoPwaBSJ%3D5m0u4kbg%3DFqxc03%3Dz1EhjpFKA%40mail.gmail.com.
