It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Confluence Space key has a space character in it

Varun Jain Apr 15, 2015

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"

viewspacesummary.action?key=blah%201


Thanks!

4 answers

1 accepted

0 votes
Answer accepted
Varun Jain May 06, 2015

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.

 

Cheers,
VJ 

0 votes
Alex Yasurek Apr 15, 2015

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

http://your-domain/spaces/removespace.action?key=blah%201

 

 

 

Varun Jain Apr 15, 2015

Yes, does not work like that sad

Alex Yasurek Apr 15, 2015

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
Rodrigo Adami Atlassian Team Apr 15, 2015

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.

Cheers,

Rodrigo

Varun Jain Apr 15, 2015

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

Alex Yasurek Apr 15, 2015

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
Lauretha Rura Atlassian Team Apr 15, 2015

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!

 

Cheers, 

Lauretha

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

1,156 views 7 18
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you