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 On Monday, February 24, 2025 at 4:01:31 AM UTC-8 Artvd wrote: > 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 <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 >>> >>> <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 weewx-user+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/weewx-user/a563f02b-e76a-4e84-9285-ab464fb674bcn%40googlegroups.com.