Created
October 3, 2024 10:44
-
-
Save FabienRCT/24c8ebc928422b54a029efa7330200fa to your computer and use it in GitHub Desktop.
"database msf has a collation version mismatch" on metasploit after a postgres database update
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo msfdb start # if the database is not already running | |
sudo -u postgres psql | |
REINDEX DATABASE msf; | |
ALTER DATABASE msf REFRESH COLLATION VERSION; | |
REINDEX DATABASE postgres; | |
ALTER DATABASE postgres REFRESH COLLATION VERSION; | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment