When restoring a confluence backup to a different machine, it breaks almost everything



I am restoring a backup of Confluence to a new machine but when I do AD logins no longer work, access to the Marketplace no longer works. Is there a preferred method for migrating the backup to a different machine?


EDIT: Added image of failed login

6 answers

0 votes
Steven Behnke Community Champion Jan 08, 2016

Please give examples and screenshots of errors, we're flying blind without that information. Are you tailing the logs? You should be. How are you connected to Active Directory? Do you need to whitelist connections? What do you mean marketplace doesn't work?

I was tasked with trying to figure this problem out. I was not the one who did the restore. Someone restored the backup to a new server. After doing that, he reported that trying to access the Marketplace would say that the Marketplace can't be reached. Similar to the problems outlined here... https://confluence.atlassian.com/display/UPM/Problems+Connecting+to+the+Atlassian+Marketplace But, in order for me to check the settings I need to log in. Trying to do so with my AD account fails (it worked before the restore). So, now I can't access the webapp's configurations. This is why I asked if there is a preferred method to doing a restore to a different server. Off the top of my head, my thought is that when doing a restore it changes the Base URL to the original machine's URL that created the backup. Grepping the xml files will return a few locations where the Base URL is listed. And since checking that the correct Base URL is one of the items to check for in the Link I posted, that seemed like a logical place to start looking.

0 votes
Steven Behnke Community Champion Jan 08, 2016

If you have a local account you should be able to log in. The marketplace should be error logging in the application log. None of us can help troubleshoot your AD issues without error logging, the screenshot of the "wrong username/password isn't useful because it's not enough information. The application log should tell us more. Again, my assumption is that you haven't whitelisted the new location. The documentation for restoring is backup is here: https://confluence.atlassian.com/doc/site-backup-and-restore-163578.html The BASE URL you should be able to change within the application, I wouldn't change it outside the application. It will complain and some macros might not work but the app should function until you change it in Configuration.

0 votes
Steven Behnke Community Champion Jan 08, 2016

Additionally the marketplace might work because of external network settings, proxies, web containers, CUSTOMIZATIONS your company has performed that we are unaware of.

I see from the link you provided that there is no version compatibility between 5.4, 5.5, and 5.6. What about going from 5.8 to 5.9?

0 votes

Hello Vinko,

I guess this new server have some restrictions because maybe, it's not connecting to your LDAP. I believe it's better to restore the Internal Directory with this article, and then try to resolve the connection problems later. At least, you will be able to login with your internal admin credentials.


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,018 views 51 8
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