nexus-repository-conan
nexus-repository-conan copied to clipboard
Rebuild index from a blob which used fo conan repository
-
What are you trying to do? I am trying to run a nexus admin task to rebuild index from a blob which named conan. This blob is used for our conan repository(type: hosted), but it doesn't seems to rebuild the index, I can't see my previous conan packages in nexus UI.
-
What feature or behavior is this required for? It would be appreciated that if there is a method can solve my issue. we lost all previous conan packages index because of some problem happend to our nexus database.
-
How could we solve this issue? (Not knowing is okay!)
-
Anything else? I also try to test rebuilding index from a blob which is used for a raw repository(type: hosted), and it works. This is a part of my
nexus.log
:
2019-12-24 16:44:43,030+0800 INFO [qtp1472535463-272] admin org.sonatype.nexus.rapture.internal.security.SessionServlet - Created session for user: admin
2019-12-24 16:45:05,335+0800 INFO [qtp1472535463-270] admin org.sonatype.nexus.quartz.internal.task.QuartzTaskInfo - Task 'rebuild' [blobstore.rebuildComponentDB] runNow
2019-12-24 16:45:05,335+0800 INFO [qtp1472535463-270] admin org.sonatype.nexus.quartz.internal.task.QuartzTaskInfo - Task 'rebuild' [blobstore.rebuildComponentDB] state change WAITING -> RUNNING
2019-12-24 16:45:05,369+0800 INFO [quartz-3-thread-3] *SYSTEM org.sonatype.nexus.blobstore.restore.RestoreMetadataTask - Task log: /nexus/sonatype-work/nexus3/log/tasks/blobstore.rebuildComponentDB-20191224164505367.log
2019-12-24 16:45:05,445+0800 INFO [quartz-3-thread-3] *SYSTEM org.sonatype.nexus.blobstore.restore.RestoreMetadataTask - ---- Elapsed time: 72.70 ms, processed: 43, un-deleted: 0 ----
2019-12-24 16:45:05,449+0800 INFO [quartz-3-thread-3] *SYSTEM org.sonatype.nexus.blobstore.restore.DefaultIntegrityCheckStrategy - Checking integrity of assets in repository 'conan-repo' with blob store 'conan'
2019-12-24 16:45:05,462+0800 INFO [quartz-3-thread-3] *SYSTEM org.sonatype.nexus.blobstore.restore.DefaultIntegrityCheckStrategy - ---- Elapsed time: 12.20 ms, processed: 3, failed integrity check: 0 ----
2019-12-24 16:45:05,464+0800 INFO [quartz-3-thread-3] *SYSTEM org.sonatype.nexus.quartz.internal.task.QuartzTaskInfo - Task 'rebuild' [blobstore.rebuildComponentDB] state change RUNNING -> WAITING (OK)
2019-12-24 16:45:33,682+0800 INFO [qtp1472535463-273] admin org.sonatype.nexus.scheduling.internal.TaskSchedulerImpl - Task 'rebuild' [blobstore.rebuildComponentDB] scheduled: manual
2019-12-24 16:45:38,195+0800 INFO [qtp1472535463-273] admin org.sonatype.nexus.quartz.internal.task.QuartzTaskInfo - Task 'rebuild' [blobstore.rebuildComponentDB] runNow
2019-12-24 16:45:38,195+0800 INFO [qtp1472535463-273] admin org.sonatype.nexus.quartz.internal.task.QuartzTaskInfo - Task 'rebuild' [blobstore.rebuildComponentDB] state change WAITING -> RUNNING
2019-12-24 16:45:38,224+0800 INFO [quartz-3-thread-4] *SYSTEM org.sonatype.nexus.blobstore.restore.RestoreMetadataTask - Task log: /nexus/sonatype-work/nexus3/log/tasks/blobstore.rebuildComponentDB-20191224164538222.log
2019-12-24 16:45:38,300+0800 INFO [quartz-3-thread-4] *SYSTEM org.sonatype.nexus.blobstore.restore.raw.internal.RawRestoreBlobStrategy - Restored asset, blob store: raw, repository: raw, path: testpath/testfile.txt, blob name: testpath/testfile.txt, blob id: 47fafad3-a316-4123-bbe2-c82837da0d01
2019-12-24 16:45:38,300+0800 INFO [quartz-3-thread-4] *SYSTEM org.sonatype.nexus.blobstore.restore.RestoreMetadataTask - ---- Elapsed time: 76.10 ms, processed: 4, un-deleted: 0 ----
2019-12-24 16:45:38,300+0800 INFO [quartz-3-thread-4] *SYSTEM org.sonatype.nexus.blobstore.restore.DefaultIntegrityCheckStrategy - Checking integrity of assets in repository 'raw' with blob store 'raw'
2019-12-24 16:45:38,305+0800 INFO [quartz-3-thread-4] *SYSTEM org.sonatype.nexus.blobstore.restore.DefaultIntegrityCheckStrategy - ---- Elapsed time: 4.716 ms, processed: 4, failed integrity check: 0 ----
2019-12-24 16:45:38,307+0800 INFO [quartz-3-thread-4] *SYSTEM org.sonatype.nexus.quartz.internal.task.QuartzTaskInfo - Task 'rebuild' [blobstore.rebuildComponentDB] state change RUNNING -> WAITING (OK)
Hi @Creator1024 is it still relevant?
Hi, we are moving Conan source code to the nexus public. This Github page will be archived. Your issue https://issues.sonatype.org/browse/NEXUS-25217