500 error when running fly postgres detach

Hi – I’m trying to follow the instructions here to detach the existing postgres cluster for a Django app and then attach an older snapshot that I’ve spun up.

However, when running fly postgres detach old-shadow-3990-db I get the following error: Error: error running user-delete: 500: ERROR: role "old_shadow_3990" cannot be dropped because some objects depend on it (SQLSTATE 2BP01)

Is there any documented way around this?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.