Can't upgrade from 6.15.7 to 7.13 and can't restore the site
Asked by Anousch:

Hello everyone,

We try to upgrade from the 6.15.7 to 7.13 and after the installation goes fine, we get an error when start the confluence server and we get a schema error.

After that, i try to uninstall everything and install the version 6.15.7 and restore it and we got a huge message with some errors.

What we can do ?


Answers:
author: Alexis Robert
body: Hi [@Anousch](/t5/user/viewprofilepage/user-id/165028) ,

did you make a database backup, or XML export before upgrading Confluence ?

If you did, you should try to setup a new Confluence from scratch and then reimport the data (in Confluence for the XML, or Database restore otherwise).

SCHEMA errors will happen if you do not have the correct database version compatible with Confluence.

You can have a look at Confluence 7.13 supported databases here : <https://confluence.atlassian.com/doc/supported-platforms-207488198.html#SupportedPlatforms-Databases>

Let me know if this helps,

--Alexis

comments: author: Anousch
body: Hi [@Alexis Robert](/t5/user/viewprofilepage/user-id/1213386) ,

Thank you for your quick answer and sorry for my delayed answer.

I see it was an compatibility issue about the Microsoft SQL server.

Which version can i upgrade from the 6.15.7 which doesn't need a migration of the Microsoft SQL server ?

Thank you and after your answer, i'm gonna marked this case as resolved !

Have a good evening !

-- Anousch


author: Alexis Robert
body: Check version 7.4 if it's compatible


author: Nic Brough -Adaptavist-
body: Hi @Anousch,

There are two pieces here and I am not sure which one you would prefer to start with, so I'll take a guess at the "restore" rather than "upgrade".

On the upgrade one, I would want to ask what errors you got and what went wrong, but let's look at the restoration first. I'd like to ask for a bit more detail on what you are actually doing:

You say you "install 6.15.7" - is that a clean, new, installation that you point at an empty database and let it finish the installation? So you can log in as an admin, use the admin sections and see that there are no spaces or pages in it apart from the default/demo/initial space?

Assuming that is the case, then your next step is to restore. In your answer to [@Alexis Robert](/t5/user/viewprofilepage/user-id/1213386) 's question, you give us the errors. These look like you have tried to use "restore site from a backup file", but have given the service a .zip file that does not contain what it needs. It looks to me like you have given it a zip file containing a zipped up copy of the installation directory.

Can you confirm that's what is happening?

The restore site process needs the .xml file (in a zip) that a Confluence creates when you go to Admin -\> Backup and "Backup site to .xml", not the install directory. So I have to ask what you're trying to restore and how that backup was taken?


author: Anousch
body: Here's the error we get :

The zip file did not contain an entry 'exportDescriptor.properties'. It contained: Confluence/, Confluence/.install4j/, Confluence/.install4j/autoUninstall.1, Confluence/.install4j/files.log, Confluence/.install4j/i4jdel.exe, Confluence/.install4j/i4jinst.dll, Confluence/.install4j/i4jparams.conf, Confluence/.install4j/i4jruntime.jar, Confluence/.install4j/i4j_extf_0_4kcpoy.utf8, Confluence/.install4j/i4j_extf_1_4kcpoy.utf8, Confluence/.install4j/i4j_extf_2_4kcpoy_es3m3c.png, Confluence/.install4j/i4j_extf_3_4kcpoy_wqdswe.png, Confluence/.install4j/i4j_extf_4_4kcpoy_10elu9m.png, Confluence/.install4j/i4j_extf_5_4kcpoy_18gg8kx.png,

And some other issue like this.

Thank you for your quick help and have a nice afternoon.


Tags: confluence-server

server