Forked from marcelmaatkamp/gist:123e8793e07a72a382d8d0e8d66bbd8f
Created
February 18, 2020 11:41
-
-
Save kestel/ba534253adbe215b7cdbb3dc3bb1959e 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