Hello folks.
After an update i got a home-assistant_v2.db.corrupt.2023-05-04T16:23:40.815301+00:00 file that i cant get rid of.
SQL database and i have tested to delete it through smb. Not really sure what to put in the SSH terminal.
Plz help!
You want to delete the file, right?
Use wildcards
rm home-assistant_v2.db.corrupt*
Or press tab
rm home-assistant_v2.db.corrupt
+ press tab to autocomplete
Or use quotes
rm "home-assistant_v2.db.corrupt.2023-05-04T16:23:40.815301+00:00"
1 Like
yes. i want to delete. Tested these but only got “no such file or directory”.
Are you in the directory where the file is?
Otherwise you’ve to change to there first
cd <something>
In my case
cd ~homeassistant/.homeassistant
But I’m using core so it might be different for you.
Yes that was the solution. Missed that!