use case: browser closed after space delete command

Hi All,

To delete a space, I performed the below steps (in my local machine)

Browse->Space Admin->Delete Space

Delete operation started, since the space was very big it took more than hours I anticipated, so I closed the browser.

On next working day, I again followed the same steps to delete the space (this time from a remote machine). deletion started again, but after few hours a 'delete space failed' message appeared in browser window.

Now I have following queries (as I am new to confluence):

1) Is delete operation happens in background, even if I close the browser window?

2) althogh I am not able to find the space in wiki now, not even in database. I am not sure, it's deleted successfully or not?

3) I've also tried to delete space using curl:

curl -v -S -u USERNAME:PASSWORD -X DELETE http://SERVERNAME/confluence/rest/api/space/SPACEKEY

but that results into following error:

HTTP Status 403: Access to the specified resource has been forbidden.

 

Regards,

Abhishek

 

 

 

 

 

 

 

1 answer

1) Yes, it will continue

2) If you can't find the space, it's been deleted.  The process deletes the "header" last, and the header is the bit that tells Confluence that there is a space there.

I've seen this a couple of times on large space deletes, I've never worked out why the error is thrown even though the process completes ok.

Thanks for your response, that clears my doubt.

Any solotion for the issue mentioned in 3rd point.

Is this error is related to wiki application or it's tomcat only.

As with the same credentials, I am ablt to delete space with browser.

 

Regards,

Abhishek

Your REST call looks ok, but a 403 for that call means either your credentials are wrong, you don't have delete space rights, or the space has already been deleted.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

158 views 3 5
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you