Recently I attempted to update my OpenSuse Leap from 15.2 to 15.4. Somewhere along the upgrade, my previous Rockstor install got fudged and was no longer starting up.
As it was a src based install (sitting in /opt/rockstor), I first tried just rebuilding. But I believe the build system has switched over and changed due to python 2 vs 3. So I just deleted the whole directory, and did a fresh git pull, and then built everything.
The issue I’ve run into is my database appears to be hanging over from the last install, which was a few version behind. So all the data on past scrubs and snapshots are there. But if I try and run a scrub I get errors about IDs already existing. Same if I try and change a Share or add a pool. It’s almost as if the identity keys were reset on the database, but since I still have data it’s trying to do inserts and the primary key is failing.
At this point, I really just want to reset everything (db, code base, etc), to get back to a clean state. What is the best way to do this? Is it safe to delete the database (where is this located?) I’m assuming I’ll need to resetup various pieces, but some things should import (pools and shares mainly).
Thanks for any help.
1 post - 1 participant