On 30 Apr, 2017, at 18:47, Thomas Keffer <[email protected] <mailto:[email protected]>> wrote: > > Most likely, it's a permission problem. > > While weewx is normally installed at /home/weewx on most computers, on a Mac, > the directory /home is reserved. So, the best place to install it is > /Users/weewx. So, your database should be in /Users/weewx/archive/weewx.sdb. > Is this where it is? If so, make sure you have the necessary permissions to > write to it. > > > On Sun, Apr 30, 2017 at 12:36 PM, Dan'l B <[email protected] > <mailto:[email protected]>> wrote: > I've gone back to using an install on OSX El Capitan for testing. Last time I > used it a month ago it worked fine. > > Now I get a Console error: > > 30/4/2017 15:36:09.116 weewx[14337]: manager: unable to add record 2017-04-22 > 04:40:00 EDT (1492850400) to database 'weewx.sdb': attempt to write a > readonly database" > > Can someone point me to how I fix this? Google didn't seem to get me there. >
Tom, It’s actually installed where your OSX install page says: /Users/Shared. I finally solved it by running ./bin/weewxd weewx.conf under sudo, which I didn’t recall having to do previously but probably had just plain forgotten! -- 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]. For more options, visit https://groups.google.com/d/optout.
