Share via

Azure Database for PostgreSQL flexible server stuck in restart status

Alex 20 Reputation points
2024-10-08T11:09:27.5333333+00:00

Hi,

My Azure Database for PostgreSQL flexible server has the storage full (100%) and no connection to it is working. I tried to restart it and "The server is currently in 'restarting' state" for more than 1 day.

I'd like to set the storage size to bigger size but I cannot because the Compute+Storage menu is greyed out.

I tried using the azCli to stop/restart/start, restore from Azure Portal, but always getting InternalServerError. Same with Terraform apply with bigger storage, but it errors: "Server <pgsql-server-name> is busy with other operations. Please try later".

How can I add storage to make it start correctly?

Azure Database for PostgreSQL

Answer accepted by question author

RahulRandive 10,506 Reputation points
2024-10-10T01:31:15.7833333+00:00

Hi @Alex

If the storage is full, the server may not have enough space to roll back or roll forward active transactions, causing it to become stuck in this state. Backend intervention is required to restore server availability, and you'll need to open a support case to resolve the issue.

Deleting the server and attempting to recreate it with the same name is risky, as there is no guarantee that the name will be released, allowing you to reuse it. I believe this poses a potential risk.

Thank You!

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.