Page 1 of 1

Delete RPi Database

Posted: Thu Jul 14, 2022 2:56 pm
by hymrog
Hi -

I have recently moved and I am looking to start up a new station at my new location and wondering how to delete all the data (8 years worth) that is stored in the database without needing to reinstall/reimage Meteobridge.

Platform: Raspberry Pi 3 Model B+
RAM: 941 MB total, 826 MB free (12% used)
Storage: WD SLC, 29.3 GB total, 26.9 GB free (8% used, 3766.9 yrs)
SW Version: Meteobridge 5.4 (Jul 8 2022, build 2578), FW 1.3

Thanks
g

Re: Delete RPi Database

Posted: Sun Jul 17, 2022 2:03 pm
by Gyvate
there is a radical solution:
connect to your MB via SSH (e.g. PuTTY) - user and password are the same as for your web interface.
issue the below commands
# cd /tmp/mnt
# rm dbase*
# reboot
MB will start with a new database

it will be good to save your configuration before (System--> Administration) - so in case it also loses its configuration you can simply reload that. Change of station, if necessary, will be simple.

Re: Delete RPi Database

Posted: Sun Jul 17, 2022 11:30 pm
by hymrog
Hi

I will give it a whirl..

g