# Unable to delete repository when database is frozen

**URL:** <https://community.sonatype.com/t/unable-to-delete-repository-when-database-is-frozen/8605>\
**Category:** Sonatype Nexus Repository\
**Created:** [May 2, 2022, 6:45am UTC](https://community.sonatype.com/t/unable-to-delete-repository-when-database-is-frozen/8605 "2022-05-02T06:45:17Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![loganathan.balakrishnan](https://avatars.discourse-cdn.com/v4/letter/l/bb73d2/32.png) [@loganathan.balakrishnan](https://community.sonatype.com/u/loganathan.balakrishnan)\
**Post date:** [May 2, 2022, 6:45am UTC](https://community.sonatype.com/t/unable-to-delete-repository-when-database-is-frozen/8605/1 "2022-05-02T06:45:18Z")

</div>

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.

 ![Nexus_Repo_error](https://canada1.discourse-cdn.com/flex047/uploads/communitysonatype/original/2X/3/3202fca1474c7f1c8f3c6feaa22e067c5e79c376.png)

Please help us to fix the issue.

Regards,  
Loganathan

---

<div class="post-metadata">

**Author:** ![mpiggott](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@mpiggott](https://community.sonatype.com/u/mpiggott)\
**Post date:** [May 2, 2022, 1:15pm UTC](https://community.sonatype.com/t/unable-to-delete-repository-when-database-is-frozen/8605/2 "2022-05-02T13:15:28Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![rseddon](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/rseddon/32/341_2.png) [@rseddon](https://community.sonatype.com/u/rseddon)\
**Post date:** [May 2, 2022, 2:51pm UTC](https://community.sonatype.com/t/unable-to-delete-repository-when-database-is-frozen/8605/3 "2022-05-02T14:51:38Z")

</div>

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).

Rich

---

<div class="post-metadata">

**Author:** ![loganathan.balakrishnan](https://avatars.discourse-cdn.com/v4/letter/l/bb73d2/32.png) [@loganathan.balakrishnan](https://community.sonatype.com/u/loganathan.balakrishnan)\
**Post date:** [May 4, 2022, 3:36pm UTC](https://community.sonatype.com/t/unable-to-delete-repository-when-database-is-frozen/8605/4 "2022-05-04T15:36:46Z")

</div>

Hi Rich Seddon,

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

 ![Freeze_db](https://canada1.discourse-cdn.com/flex047/uploads/communitysonatype/original/2X/9/92d45dd61d18eca721a20e7e5070624eabc97652.png)

Regards,  
Loganathan

---

<div class="post-metadata">

**Author:** ![mikhamatta](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@mikhamatta](https://community.sonatype.com/u/mikhamatta)\
**Post date:** [June 5, 2023, 11:23am UTC](https://community.sonatype.com/t/unable-to-delete-repository-when-database-is-frozen/8605/5 "2023-06-05T11:23:46Z")

</div>

i have the same problem.  
do you have a solution?

---

<div class="post-metadata">

**Author:** ![Renitta\_Aruldhasan](https://avatars.discourse-cdn.com/v4/letter/r/2bfe46/32.png) [@Renitta\_Aruldhasan](https://community.sonatype.com/u/Renitta_Aruldhasan)\
**Post date:** [May 9, 2025, 2:24pm UTC](https://community.sonatype.com/t/unable-to-delete-repository-when-database-is-frozen/8605/6 "2025-05-09T14:24:36Z")

</div>

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

Could anyone help?

---

<div class="post-metadata">

**Author:** ![Renitta\_Aruldhasan](https://avatars.discourse-cdn.com/v4/letter/r/2bfe46/32.png) [@Renitta\_Aruldhasan](https://community.sonatype.com/u/Renitta_Aruldhasan)\
**Post date:** [May 30, 2025, 1:05pm UTC](https://community.sonatype.com/t/unable-to-delete-repository-when-database-is-frozen/8605/7 "2025-05-30T13:05:52Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Renitta\_Aruldhasan](https://avatars.discourse-cdn.com/v4/letter/r/2bfe46/32.png) [@Renitta\_Aruldhasan](https://community.sonatype.com/u/Renitta_Aruldhasan)\
**Post date:** [June 18, 2025, 4:57pm UTC](https://community.sonatype.com/t/unable-to-delete-repository-when-database-is-frozen/8605/8 "2025-06-18T16:57:27Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![rseddon](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/rseddon/32/341_2.png) [@rseddon](https://community.sonatype.com/u/rseddon)\
**Post date:** [June 18, 2025, 9:49pm UTC](https://community.sonatype.com/t/unable-to-delete-repository-when-database-is-frozen/8605/9 "2025-06-18T21:49:43Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Renitta\_Aruldhasan](https://avatars.discourse-cdn.com/v4/letter/r/2bfe46/32.png) [@Renitta\_Aruldhasan](https://community.sonatype.com/u/Renitta_Aruldhasan)\
**Post date:** [June 19, 2025, 7:45am UTC](https://community.sonatype.com/t/unable-to-delete-repository-when-database-is-frozen/8605/10 "2025-06-19T07:45:00Z")

</div>

Hi Rich,  
I am attaching the log files, which was taken while attempting to delete a Nexus repo. Kindly help.  
[nexuslog.pdf](https://community.sonatype.com/uploads/short-url/eZWnFc31o0HwJcbBWUtvT2wHBug.pdf) (417.8 KB)

---

<div class="post-metadata">

**Author:** ![rseddon](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/rseddon/32/341_2.png) [@rseddon](https://community.sonatype.com/u/rseddon)\
**Post date:** [June 20, 2025, 6:12pm UTC](https://community.sonatype.com/t/unable-to-delete-repository-when-database-is-frozen/8605/11 "2025-06-20T18:12:47Z")

</div>

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

```auto
cd /data/sonatype-work/nexus3
df -h .

```

---

<div class="post-metadata">

**Author:** ![Renitta\_Aruldhasan](https://avatars.discourse-cdn.com/v4/letter/r/2bfe46/32.png) [@Renitta\_Aruldhasan](https://community.sonatype.com/u/Renitta_Aruldhasan)\
**Post date:** [June 23, 2025, 5:22am UTC](https://community.sonatype.com/t/unable-to-delete-repository-when-database-is-frozen/8605/12 "2025-06-23T05:22:45Z")

</div>

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

 ![Nexus_DiskSpace](https://canada1.discourse-cdn.com/flex047/uploads/communitysonatype/original/2X/2/203fee177c73ed4cd379b411091e974ca4bd760b.png)

Kindly help on this issue.

---

<div class="post-metadata">

**Author:** ![Renitta\_Aruldhasan](https://avatars.discourse-cdn.com/v4/letter/r/2bfe46/32.png) [@Renitta\_Aruldhasan](https://community.sonatype.com/u/Renitta_Aruldhasan)\
**Post date:** [July 14, 2025, 6:12am UTC](https://community.sonatype.com/t/unable-to-delete-repository-when-database-is-frozen/8605/13 "2025-07-14T06:12:24Z")

</div>

Hi,

Can someone help here please?

Regards,  
Renitta
