Degraded performance Customers may experience intermittent errors using Community search. Our platform vendor is investigating.
Quick question. I know with JIRA you can point it to a new DB and do a clean install, can you do the same with Confluence?
I tried pointing Confluence to a new DB and it did not like that.
However, I deleted the confluence.cfg.xml file and went to my confluence url and it allowed me to do a setup again. Is that an approved way to go about it or will I run into problems?
I see, thanks for clarifying. =)
That being the case, you can simply wipe out the <confluence-home> folder and restart it, It will look as a new install. When you get the to the "Configure Database" step, just choose to overwrite the current one and you're good to go.
Hope it helps!
Er, this is a 6 year old question and answer.
Plus, scrubbing the <confluence home> directory will NOT remove the daemon start script - that's held in the startup script directories (On unix-like systems) and the installation directory (on Windows systems)
Well, this is what happened when I removed the <home directory>
root@jira:/opt/atlassian# rm -rf confluence/
root@jira:/opt/atlassian# /etc/init.d/confluence start
/etc/init.d/confluence: line 4: cd: /opt/atlassian/confluence/bin: No such file or directory
/etc/init.d/confluence: line 8: ./start-confluence.sh: No such file or directory
Maybe you mean the data directory should be deleted?
@Nigel Berkeley- I am sorry about the previous comment. I've left it there so people can see why I'm apologising.
I've just re-read it and it came out wrong. I think when I wrote "try again", I was thinking completely wrong, and I really should have explained what I really was thinking and in a way that comes across in a better tone.
It seems to me that you are relatively new to Atlassian, and you have not quite picked the terminology Atlassian tends to use. You have mixed up "confluence home" with "all of confluence". This has lead to you misunderstanding the question and the answer, and hence giving inaccurate advice, which I've then gone on to try to correct in a very unwelcoming and grumpy way.
I unreservedly apologise for my tone in that last comment. I hope it won't discourage you from participating more in the community.
May I know exactly what you're trying to accomplish? For instance, if you're migrating Confluence to a new server, you can follow these instructions that will involve more than just pointing Confluence to a new DB.
If you just want to start a new install, you can basically download a new standalone zip file (in case you don't want to mess with the current one) and proceed with the normal installation.
You can setup a test environment which your own data:
Creating a test environment and import the XML Backup (the way that I personally do).
You don't have to worry about your database, with the full XML backup, Confluence will do the magic, I mean, populate the new database, make everything right. So, you don't need to do a clone of your database.
I hope this helps.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...
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!
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