In vitashell there’s an option to rebuild, I think press start when in root directory. Also I think if power on from full power off holding power, ps button and R shoulder button will bring up recovery menu and should be a rebuild database option in there