Set Nexus repo with H2 database read-only - Sonatype Nexus Repository - Sonatype Community
Set Nexus repo with H2 database read-only
post by know-center on Nov 26, 2024
The newest Nexus version 3.74 offers via API the read-only mode, but as the description suggests just for the old OrientDB.
Is it possible to set a Nexus repo instance completely to read only?
Background is, that our H2 database corrupts now all the time and we want to at least set it to read-only mode if that is achievable.
post by mprescott on Nov 26, 2024
There isn’t a read-only mode for H2 at the moment. Are you looking to prevent further corruption while you debug, is that why you want a read-only mode?
post by know-center on Nov 27, 2024
Yes, if possible we want the user to be able to pull.
The database corruption started around 3 weeks ago and until now we cannot prevent the database being corrupted after some hours of Nexus running.
A new instance is set up in parallel.