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 weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/6f3eb1c5-a7d7-4086-a24a-05d941812511n%40googlegroups.com.

Reply via email to