> feb 24 12:00:17 raspberrypi weewxd[22153]: ERROR weewx.manager: Unable to 
add record 2025-02-24 12:00:00 CET (1740394800) to database 'weewx.sdb': 
attempt to write a readonly database

WeeWX cannot write to the database file

My best guess because of insufficient permissions: the user WeeWX is 
running must have write access to the database file as well as the folder 
containing the database. Maybe while modifying the database when importing 
data you have accidentally changed the ownership/permissions. This can 
happen when you copy and modify the database and put in back into place 
using another user than the user for WeeWX. 
Artvd schrieb am Montag, 24. Februar 2025 um 13:01:31 UTC+1:

> I have attached the log. I am using a Davis Vantage Pro 2 plus with Weewx 
> 5.1 Debian installed on RPI 3b with Bookworm 64 bit OS.  
>
> I had big problems with importing historical data from WU. I recently 
> posted another conversation about that but it was not resolved and i did 
> not get much reaction. I wonder if it could have to do with required root 
> priviliges at some  point  during import. In any event, after many 
> unsuccesfull attemps I finally decided to import using root priviliges. It 
> seems i could import 2021-2024 this way.  
>
> On Monday, February 24, 2025 at 3:16:22 AM UTC+1 Tom Keffer wrote:
>
>> You're not giving us much information. May we please see the log? Here's 
>> how to get a useful log: 
>> https://github.com/weewx/weewx/wiki/view-logs#how-to-produce-a-useful-log-report
>>
>> On Sun, Feb 23, 2025 at 11:29 AM Artvd <[email protected]> wrote:
>>
>>> I have imported old year data from weather underground. Now the current 
>>> time gets stuck at the last time and date of the imported data and  new 
>>> observations are not shown. I am using a skin, but with the standard 
>>> seasons skin the problem also exists.  I am still publishing the data on WU 
>>> in a normal order. Is there a way to reactivate/ refresh the data on my 
>>> website?
>>>
>>> -- 
>>> 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 visit 
>>> https://groups.google.com/d/msgid/weewx-user/2a57634b-7809-47dd-ad0c-6dbe2f44916en%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/weewx-user/2a57634b-7809-47dd-ad0c-6dbe2f44916en%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 visit 
https://groups.google.com/d/msgid/weewx-user/f05f7ed3-32bc-41fa-8061-3036d42e64cdn%40googlegroups.com.

Reply via email to