It would help if we could see the exact commands you were running, In particular, did you use an explicit path to a weewx.conf? What was in that configuration file?
Nothing has changed in the database file, but how it is found is different. On Sat, May 20, 2023 at 1:03 PM Steeple Ian <[email protected]> wrote: > I have been trying out 5.0.0b1 to ensure that the weewx-`weather34 skin I > maintain is compatible and have noticed an oddity when moving my existing > weewx.sdb database file across. > > I installed using the pip installer method which was impressively smooth, > ran for a while with the simulator, then installed the GW1000 Gateway > driver. I then made a copy of my existing database file, stopped the new > install and moved the copy across, restarted. > > On looking at the syslog, I noticed that there was an error writing to the > database as the database file was reported as read only. At this point, I > updated the ownership and permissions from the command line but got the > same error report. I took another copy of the database file, same result. > Eventually the only way I could get the database file into a writable > condition was to use wee_database —drop-daily and —rebuild. > > I have never had a problem of copying a mature database file across to a > new installation before. It was doubly baffling as I assume that it would > not be possible to use —drop-daily and —rebuild if the the database file > was truly read only. > > Ian > > -- > You received this message because you are subscribed to the Google Groups > "weewx-development" 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-development/6f3eb1c5-a7d7-4086-a24a-05d941812511n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-development/6f3eb1c5-a7d7-4086-a24a-05d941812511n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "weewx-development" 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-development/CAPq0zEBFLg-asRCFe91j5QW_exirMTmTEKE4bBgwdcWOEDLdAQ%40mail.gmail.com.
