Can't delete repos

Hello,

I imported Github repos into Gitlab. But when I tried to delete the repo in the old group, because I wanna import it into a new group, it fails with the following error:

This project was scheduled for deletion, but failed with the following message: PG::QueryCanceled: ERROR: canceling statement due to statement timeout CONTEXT: while rechecking updated tuple (0,67) in relation "site_statistics" : UPDATE "site_statistics" SET "repositories_count" = "repositories_count"-1 WHERE "repositories_count" > 0

OR

This project was scheduled for deletion, but failed with the following message: Failed to remove project repository. Please try again or contact administrator.

Can anyone help with that?

Thanks a lot!