Re: [weewx-user] Re: Move WeeWx database to external drive

2024-04-02 Thread Ben W.
I did see that, but I have a permission issue that I need to solve for now. I really appreciate all your comments/posts over the past years. I've been able to find a lot of answers from your posts. You are very patient and helpful! Thank you! On Tuesday, April 2, 2024 at 6:29:15 AM UTC-5 Tom

[weewx-user] Re: Move WeeWx database to external drive

2024-04-02 Thread Ben W.
Thanks, Jon! I changed the directory in the weewx.conf file to point to the external drive's symbolic link rather than /var/lib/weewx. The result was a critical error: CRITICAL __main__: Database OperationalError exception: unable to open database file So it seems it is a permissions issue as

Re: [weewx-user] Re: Move WeeWx database to external drive

2024-04-02 Thread Tom Keffer
It's really very simple. Just set SQLITE_ROOT to the directory where you want the database to be saved. You'll find it under [[SQLite]] [DatabaseTypes] ... [[SQLite]] ... SQLITE_ROOT = /path/to/your/sqlite/dir On Tue, Apr 2, 2024 at 4:13 AM Ben W. wrote: > Hi, John! > Yes that is

[weewx-user] Re: Move WeeWx database to external drive

2024-04-02 Thread 'Jon Fear' via weewx-user
Hi Ben I was sneaky, I moved the weewx directories to the NAS and then created the symbolic link in the place of it. I am lucky in that I have a production system on 4.10.0 whilst I build my 5.0.2 system. It is really important to get the permissions right otherwise it will be a disaster...!

[weewx-user] Re: Move WeeWx database to external drive

2024-04-02 Thread Ben W.
Hi, John! Yes that is exactly what I'm trying to do as with your NAS, but with an external drive USB-connected to the RPi. It's mounted and I can write to it. I just haven't quite figured out (or found the resource yet) to update the appropriate weewx conf file to tell weewx to use the

[weewx-user] Re: Move WeeWx database to external drive

2024-04-01 Thread 'Jon Fear' via weewx-user
I am doing something similar using my NAS. I have mounted the NAS and then created symbolic links to the appropriately named folders or directories on the NAS. When mounting the NAS, I needed to make sure that the permissions were correct for weewx which was eventually quite simple to achieve.