Forked from marcelmaatkamp/gist:123e8793e07a72a382d8d0e8d66bbd8f
Created
March 26, 2024 10:13
-
-
Save alanland/c6af209a1a40a25c034d29f2df01253d to your computer and use it in GitHub Desktop.
Fix Sonatype Nexus OrientDB
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
$ ls /opt/sonatype/sonatype-work/nexus3/db/ | |
OSystem accesslog analytics audit component config model.properties security | |
$ docker-compose exec nexus java -jar ./lib/support/nexus-orient-console.jar | |
CONNECT PLOCAL:/opt/sonatype/sonatype-work/nexus3/db/component admin admin | |
REBUILD INDEX * | |
REPAIR DATABASE --fix-graph | |
REPAIR DATABASE --fix-links | |
REPAIR DATABASE --fix-ridbags | |
REPAIR DATABASE --fix-bonsai | |
DISCONNECT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment