I'm Admin in Bitbucket, and when I tried to delete a repository I got this error message: An error occurred while processing the request. Check the server logs for more information.
What do the logs say the problem is?
2022-02-13 17:06:22,740 ERROR [http-nio-7990-exec-533] M.Abuhayah @4GGPEAx1026x77835065x5 ohyzv2 172.25.70.250 "DELETE /users/m.albrahim/repos/test-may HTTP/1.1" c.a.e.i.AsynchronousAbleEventDispatcher There was an exception thrown trying to dispatch event [com.atlassian.bitbucket.event.repository.RepositoryDeletionRequestedEvent[source=com.atlassian.stash.internal.repository.DefaultRepositoryService@5df8c597]] from the invoker [SingleParameterMethodListenerInvoker{method=public void com.atlassian.bitbucket.internal.webhook.WebhookCleanupService.onRepositoryDeleted(com.atlassian.bitbucket.event.repository.RepositoryDeletionRequestedEvent), listener=com.atlassian.bitbucket.internal.webhook.WebhookCleanupService@48736a95} (monitored)]
2022-02-13 17:06:22,757 DEBUG [http-nio-7990-exec-533] M.Abuhayah @4GGPEAx1026x77835065x5 ohyzv2 172.25.70.250 "DELETE /users/m.albrahim/repos/test-may HTTP/1.1" c.a.s.i.e.TransactionAwareEventPublisher Deferring publishing for RepositoryDeletedEvent until AFTER_COMMIT
2022-02-13 17:06:22,759 ERROR [http-nio-7990-exec-533] M.Abuhayah @4GGPEAx1026x77835065x5 ohyzv2 172.25.70.250 "DELETE /users/m.albrahim/repos/test-may HTTP/1.1" c.a.s.i.r.e.DefaultUnhandledExceptionMapperHelper Unhandled exception while processing REST request: "DELETE /users/m.albrahim/repos/test-may HTTP/1.1"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This sort of error happens when you hit the wrong URL for the action.
How were you trying to delete the repository?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Bother, I was hoping it was something that would be hitting the wrong URL, but the admin UI (including repository settings) should not be able to do that.
Are there more bits of log in this area that might be relevant?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.