WXforum.net
Weather Software => WeeWX Software => Topic started by: flyingvranch on July 18, 2021, 11:56:44 AM
-
I have Weewx installed and everything is running well. Because I was experimenting with the Davis Iss sensors and such I have a bunch of erroneous data that I need to get rid of. Now that everything is stable and running properly, how can I just delete the weewx database and start over fresh for my actual live weather data? I would prefer to clear out the old database and start fresh. Is there a proceedure or Linux command to accomplish this? Thanks!
-
If using debian or ubuntu, these commands should do it (this will remove both WeeWX and your user data but should retain your configuration):
sudo apt-get remove weewx
sudo rm -r /var/lib/weewx
sudo rm -r /var/www/html/weewx
Docs (search for uninstall): http://weewx.com/docs/debian.htm
-
If you installed using setup.py and you want to just delete the database then
sudo rm /home/weewx/archive/weewx.sdb
-
Thanks for the suggestions. As it turned out, I ended up just removing weewx and re-installing as it only takes just a minute to do so. As of now, everything is running smooth and stable and it sure is great to just have a completely quiet Pi running instead of the big desktop.
Thanks everyone!