Confluence Space key has a space character in it

Hey Atlassian,


I inherited admining a Confluence instance, and one of the spaces has a space character within the name. Is there a way I can rename this key, or go and delete the space altogether? There's no pages in the space that need to be kept.

Whenever I try to access the space, be it Overview, Summary, etc, it gives me Page Not Found error

key="blah 1"



4 answers

1 accepted

0 votes
Answer accepted

Hi All,

I found the best solution, for me, was just going into the database and updating the Space Key and removing the space. After doing this, clearing the cache + reindexing, all things were accessible again.



I assume if you try this link you also get a Page not found?





Yes, does not work like that sad

I would suggest trying to use the API but I have a feeling it will also throw errors. It's weird that confluence even let them create a spacekey like that in the first place. The only other option I can think of is to delete it from the database since you are not able to get into the space admin section of the space.

0 votes

Hi Varun,

As far as I know, the only way to change a space key is by cloning the space. It's stated here.

I hope this helps.



Thanks for the response Rodrigo, but unfortunately that doesn't explain how to delete that an entire space. -VJ

Try creating a support ticket with Atlassian since this seems to be some kind of big with their system that it let them create this spacekey in the first place. Maybe they can give you the SQL command to run to remove the space from the DB.

0 votes

Hi Varun, 

In this case, you can refer to this KB which consist the instructions to delete these spaces manually from the database. 

Please remember to backup your data before performing any modifications to the database.

Hope this helps!




Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,440 views 3 13
Read article

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