PostgreSQL flexible server upgrades fail with InternalServerError

Daniel Gellert 5 Reputation points
2025-10-28T09:32:24.8033333+00:00

Hi,

all my PG flexible server upgrades from 16.9 to 17.6 fail with the following status:

"statusMessage": "{\"status\":\"Failed\",\"error\":{\"code\":\"ResourceOperationFailure\",\"message\":\"The resource operation completed with terminal provisioning state 'Failed'.\",\"details\":[{\"code\":\"InternalServerError\",\"message\":\"An unexpected error occured while processing the request. Tracking ID: 'ad33169e-a669-4acc-9d00-47705d111f4e'\"}]}}",

Does anyone know what this is?

One of the Correlation ID is:

6dd038a3-fb50-48c8-91d0-b937fee8f7cd

One of the Operation ID is:

ba272f3b-df65-4b8f-96b2-bf923ccc2cd9

Thanks a lot

Azure Database for PostgreSQL
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Wack, Stephan 0 Reputation points
    2025-10-29T14:28:37.6466667+00:00

    Have a look at your database server logs.

    File upgrade.log list all upgrade steps and if they are o.k. or have failed.

    E.g. we had an issue with granting roles: "ERROR: permission denied to grant privileges as role ..."


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.