after import historical years no more updates on website

117 views
Skip to first unread message

Artvd

unread,
Feb 23, 2025, 2:29:50 PM2/23/25
to weewx-user
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?

Tom Keffer

unread,
Feb 23, 2025, 9:16:22 PM2/23/25
to weewx...@googlegroups.com
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 <artva...@gmail.com> 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 weewx-user+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/weewx-user/2a57634b-7809-47dd-ad0c-6dbe2f44916en%40googlegroups.com.

Artvd

unread,
Feb 24, 2025, 7:01:31 AM2/24/25
to weewx-user
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.  

mylog

michael.k...@gmx.at

unread,
Feb 24, 2025, 7:45:56 AM2/24/25
to weewx-user

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

vince

unread,
Feb 24, 2025, 12:58:31 PM2/24/25
to weewx-user
Weewx 5.x does not run as root and you should never need to even sudo after it has been initially installed.  It runs as user 'weewx'.  My guess is your permissions have been altered somehow in your import process.    /var/lib/weewx/weewx.sdb should be user=weewx group=weewx.

$ ls -ld /var/lib/weewx/weewx.sdb
-rw-r--r-- 1 weewx weewx 983040 Feb 24 17:56 /var/lib/weewx/weewx.sdb

Artvd

unread,
Feb 25, 2025, 4:44:33 AM2/25/25
to weewx-user
Thanks for looking into it.
Next week I plan to make a copy of the database on an usb and then a fresh install of my rpi, debian weewx, weatherlink live driver with and neowx skin .
The Python requests module and python3-ephem may still have to be installed.  Then  I reimport the historical years from WU.
Op maandag 24 februari 2025 om 18:58:31 UTC+1 schreef vince:
Reply all
Reply to author
Forward
0 new messages