reinstallation 5.1 to 5.4

I had a VM with confluence 5.1 attached to a remote SQLDB that got currupted and is now unrecoveable.

Is it possible to install 5.4 on a new VM and point it to the old remote SQLDB to get back my pages?

Thanks.

6 answers

1 accepted

0 votes
Accepted answer

It's not clear what is "corrupted" - the database or something else. If it's the database, then no, you won't be able to recover it, you'll need to restore from a backup

If it's the Confluence installation, then I'd recommend you create Confluence 5.1 on a new VM and make sure it works ok with the old database before upgrading it to 5.4

The installation is corrupted. I will go with the latter part of you answer.

Thank you Nic.

I have just installed Confluence 5.1 and I need to attach it to my old MS sql database without overwriting it. But I'm having trouble doing just that. Any pointers would be appreciated.

What do you mean by "trouble"?

All you need to do is give the new system the same connection parameters that the old one had.

Trouble, in my case, means that I don't know how to configure my old MS sql external database to work with my new installation of confluence.

what I have done: change the database password because it had expired, same path and name.

I've checked you KB and the web for solution to no avail.

"All you need to do is give the new system the same connection parameters that the old one had"

Is there a doucumentation on this?

A new confluence installation should be asking you to give it parameters like the database link, user name, password etc. Which are the same parameters the old one had (barring the password which you have changed)

See https://confluence.atlassian.com/display/JIRA/Connecting+JIRA+to+MySQLalthough you shouldn't need most of it as you already should have the information and correct settings,

Nic,

I have all the parmeters right including reverting to the previous password. I'm still having issue.

"Confluence tables already exist in the selected database"

Any other ideas would apprieciated.

Thanks.

Nic,

I have all the parmeters right including reverting to the previous password. I'm still having issue.

"Confluence tables already exist in the selected database"

Any other ideas would apprieciated.

Thanks.

Ok, that's sort of good, but not.

Simplest way to move forward - could you create an empty database with a different name? Connect Confluence to that, and then let it create all the tables. Once complete, stop Confluence again, and edit the file <confluence home>/confluence.cfg.xml - you will find the new database name in there in the connection settings - change it to the old existing database and restart Confluence again.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,180 views 20 14
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