Unable to delete repository when database is frozen - Sonatype Nexus Repository - Sonatype Community

Unable to delete repository when database is frozen


post by loganathan.balakrishnan on May 2, 2022

Hi Team,

We have upgraded the Nexus application from v3.30.0-01 to v3.38.1-01.

After upgrading, we are not able to delete a repository.

It showing error as " Unable to delete repository when database is frozen… Database not writable on node: xxxx".

Attached the error screenshot.

Please help us to fix the issue.

Regards,

Loganathan


post by mpiggott on May 2, 2022

This is expected, when your database is frozen it is not writable. Unfreeze it first.


post by rseddon on May 2, 2022

There is a REST API you can run to unfreeze the database (system —> api).

Or you can shut down nxrm and remove the frozen.marker file (sonatype-work/nexus3/db/frozen.marker).


post by loganathan.balakrishnan on May 4, 2022

Hi Rich Seddon,

We have tried both options, but still facing the same issue.

Regards,

Loganathan


post by mikhamatta on Jun 5, 2023

i have the same problem.

do you have a solution?


post by Renitta_Aruldhasan on May 9, 2025

Hi,

Still, we face this issue. Is there any solution provided already?

Could anyone help?


post by Renitta_Aruldhasan on May 30, 2025

Hi,

I have tried to unfreeze the database using API. In addition, tried to delete the frozen.marker file from the path /data/sonatype-work/nexus3.

But still unable to delete the repository. Still facing the same error.

Could somebody help please?


post by Renitta_Aruldhasan on Jun 18, 2025

Hi,

Still I am facing the same problem - unable to delete the repository. Can somebody help on this issue please?


post by rseddon on Jun 18, 2025

Are you sure this is the same problem? What is the actual error that is occurring (what is in the logs)?


post by Renitta_Aruldhasan on Jun 19, 2025

Hi Rich,

I am attaching the log files, which was taken while attempting to delete a Nexus repo. Kindly help.

nexuslog.pdf (417.8 KB)


post by rseddon on Jun 20, 2025

You might want to check how much disk space is free… if the disk is very full the database will automatically enter frozen mode.

df -h .

post by Renitta_Aruldhasan on Jun 23, 2025

Hi Rich,

We have enough disk space too. Please find the /data and /opt paths.

Kindly help on this issue.


post by Renitta_Aruldhasan on Jul 14, 2025

Hi,

Can someone help here please?

Regards,

Renitta