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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

915 views 23 12
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