Delete SNAPSHOT Task failed and could not deploy JAR files - Sonatype Nexus Repository - Sonatype Community

Delete SNAPSHOT Task failed and could not deploy JAR files

post by FirstLast on Jun 18, 2024

Sonatype Nexus Repository: OSS 3.55.0-01

2024-06-18 12:00:00,010+0800 INFO  [quartz-10-thread-19]  *SYSTEM org.sonatype.nexus.repository.maven.tasks.RemoveSnapshotsTask - Task information: 
2024-06-18 12:00:00,011+0800 INFO  [quartz-10-thread-19]  *SYSTEM org.sonatype.nexus.repository.maven.tasks.RemoveSnapshotsTask -  ID: 2262aec4-1c09-4fa3-84a6-8f6bfc0dcd86
2024-06-18 12:00:00,011+0800 INFO  [quartz-10-thread-19]  *SYSTEM org.sonatype.nexus.repository.maven.tasks.RemoveSnapshotsTask -  Type: repository.maven.remove-snapshots
2024-06-18 12:00:00,011+0800 INFO  [quartz-10-thread-19]  *SYSTEM org.sonatype.nexus.repository.maven.tasks.RemoveSnapshotsTask -  Name: Delete SNAPSHOT Task
2024-06-18 12:00:00,011+0800 INFO  [quartz-10-thread-19]  *SYSTEM org.sonatype.nexus.repository.maven.tasks.RemoveSnapshotsTask -  Description: Remove Maven snapshots from maven-snapshots
2024-06-18 12:00:00,012+0800 INFO  [quartz-10-thread-19]  *SYSTEM org.sonatype.nexus.repository.maven.tasks.RemoveSnapshotsTask - Executing removal of snapshots on repository 'maven-snapshots'
2024-06-18 12:00:00,013+0800 INFO  [quartz-10-thread-19]  *SYSTEM org.sonatype.nexus.repository.maven.internal.orient.RemoveSnapshotsFacetImpl - Beginning snapshot removal on repository 'maven-snapshots' with configuration: RemoveSnapshotsConfig{minimumRetained=5, snapshotRetentionDays=30, removeIfReleased=false, gracePeriod=-1}
2024-06-18 12:00:00,014+0800 INFO  [quartz-10-thread-19]  *SYSTEM org.sonatype.nexus.repository.maven.internal.orient.RemoveSnapshotsFacetImpl - Begin processing snapshots in repository 'maven-snapshots'
2024-06-18 12:00:00,014+0800 INFO  [quartz-10-thread-19]  *SYSTEM org.sonatype.nexus.repository.maven.internal.orient.RemoveSnapshotsFacetImpl - Searching for GAVS with snapshots that qualify for deletion on repository 'maven-snapshots'
2024-06-18 12:00:00,625+0800 INFO  [quartz-10-thread-19]  *SYSTEM org.sonatype.nexus.repository.maven.internal.orient.RemoveSnapshotsFacetImpl - Found 3084 snapshot GAVs to analyze
2024-06-18 12:00:01,369+0800 ERROR [quartz-10-thread-19 <command>sql.LET $records = (SELECT FROM component WHERE group = ? AND name=?);SELECT FROM $records WHERE (    (bucket=? AND attributes.maven2.baseVersion = ?)    OR (attributes.maven2.baseVersion = ?));</command>]  *SYSTEM com.orientechnologies.orient.core.storage.cache.local.OWOWCache - $ANSI{green {db=component}} Magic number verification failed for page '154' of 'component_group_name_version_ci_idx.sbt'.  

=========================

2024-06-18 20:01:50,172+0800 INFO  [qtp2030840259-259302]  mavenpublic org.sonatype.nexus.scheduling.TaskSchedulerImpl - Task 'Delete SNAPSHOT Task' [repository.maven.remove-snapshots] scheduled: daily
2024-06-18 20:01:59,917+0800 WARN  [qtp2030840259-259322]  mavenpublic org.sonatype.nexus.repository.httpbridge.internal.ViewServlet - Failure servicing: PUT /repository/maven-snapshots/a/0.9.0-SNAPSHOT/a-0.9.0-20240618.120157-52.pom com.orientechnologies.orient.core.exception.OPageIsBrokenException: Following files and pages are detected to be broken ['component_group_name_version_ci_idx.sbt' :154;], storage is switched to 'read only' mode. Any modification operations are prohibited. To restore database and make it fully operational you may export and import database to and from JSON.  

post by mpiggott on Jun 20, 2024

This suggests database corruption

Topic list, column headers with buttons are sortable.

Topic Replies Views Activity
Does the warning message “delete will not be added to metrics” have any impact? 2 106 Sep 2025
Docker artifacts being automatically deleted despite no policies/tasks enabled 0 48 Sep 2025
The official Nexus3.80.0 + version claims that there is a built-in task that can implement this function (Migrating User Tokens from LDAP to SAML), but there is no such built-in task in the UI page. What is the reason for this? 4 81 Sep 2025
Custom Auth Plugin Supports Basic Auth but Not Bearer Token (Realm Not Invoked for Bearer Tokens) 0 57 Sep 2025
How to set up Cleanup Policies? 2 157 Aug 2025