# Migration from Owncloud 9.1.6 to Nextcloud 10.0.5 fails

**URL:** <https://help.nextcloud.com/t/migration-from-owncloud-9-1-6-to-nextcloud-10-0-5-fails/13523>\
**Category:** ℹ️ Support\
**Tags:** oc\_migration\_issue, nc10\
**Created:** [June 2, 2017, 10:33am UTC](https://help.nextcloud.com/t/migration-from-owncloud-9-1-6-to-nextcloud-10-0-5-fails/13523 "2017-06-02T10:33:34Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![wolfgangsiefert](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wolfgangsiefert/32/4386_2.png) [@wolfgangsiefert](https://help.nextcloud.com/u/wolfgangsiefert)\
**Post date:** [June 2, 2017, 10:33am UTC](https://help.nextcloud.com/t/migration-from-owncloud-9-1-6-to-nextcloud-10-0-5-fails/13523/1 "2017-06-02T10:33:34Z")

</div>

## When trying to switch fom Owncloud 9.1.6 to Nextcloud I get the following error:

## Initializing Current version is 9.1.6. Migration to Nextcloud 10.0.5 available. Following file will be downloaded automatically: [https://download.nextcloud.com/server/releases/nextcloud-10.0.5.zip](https://download.nextcloud.com/server/releases/nextcloud-10.0.5.zip) Retry update Check for expected files Check for write permissions Enable maintenance mode Create backup Downloading Verifying integrity Extracting Downloaded version is lower than installed version

I tried to make the upgrade manually with the same problem…

## When I Try to manually upgrade to Nextcloud 11 I get the Error:

## Exception: Updates between multiple major versions and downgrades are unsupported. Update failed

Thanks for help…

Best regards

Wolfgang

---

<div class="post-metadata">

**Author:** ![BernhardPosselt](https://help.nextcloud.com/user_avatar/help.nextcloud.com/bernhardposselt/32/82_2.png) [@BernhardPosselt](https://help.nextcloud.com/u/BernhardPosselt)\
**Post date:** [June 2, 2017, 12:26pm UTC](https://help.nextcloud.com/t/migration-from-owncloud-9-1-6-to-nextcloud-10-0-5-fails/13523/2 "2017-06-02T12:26:43Z")

</div>

afaik 9.1.6 was released recently so its marked as a stable upgrade yet

---

<div class="post-metadata">

**Author:** ![wolfgangsiefert](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wolfgangsiefert/32/4386_2.png) [@wolfgangsiefert](https://help.nextcloud.com/u/wolfgangsiefert)\
**Post date:** [June 2, 2017, 12:33pm UTC](https://help.nextcloud.com/t/migration-from-owncloud-9-1-6-to-nextcloud-10-0-5-fails/13523/3 "2017-06-02T12:33:02Z")

</div>

> [@wolfgangsiefert](#):
>
> Downloaded version is lower than installed version

But I still have the Error:  
Downloaded version is lower than installed version

---

<div class="post-metadata">

**Author:** ![Patrick\_Morgenstern](https://help.nextcloud.com/user_avatar/help.nextcloud.com/patrick_morgenstern/32/66170_2.png) [@Patrick\_Morgenstern](https://help.nextcloud.com/u/Patrick_Morgenstern)\
**Post date:** [June 3, 2017, 4:40pm UTC](https://help.nextcloud.com/t/migration-from-owncloud-9-1-6-to-nextcloud-10-0-5-fails/13523/4 "2017-06-03T16:40:55Z")

</div>

In my case it was the same problem. As a workaround I modified the version of my owncloud virtually to 9.1.5.2. This can be done by modifying the file config/config.php in your owncloud installation directory (modify the string ‘version’ =\> ‘9.1.6.2’ to ‘version’ =\> ‘9.1.5.2’). After this you are able to manually install nextcloud (haven’t tried this with the installer method).

---

<div class="post-metadata">

**Author:** ![BernhardPosselt](https://help.nextcloud.com/user_avatar/help.nextcloud.com/bernhardposselt/32/82_2.png) [@BernhardPosselt](https://help.nextcloud.com/u/BernhardPosselt)\
**Post date:** [June 4, 2017, 9:42am UTC](https://help.nextcloud.com/t/migration-from-owncloud-9-1-6-to-nextcloud-10-0-5-fails/13523/5 "2017-06-04T09:42:47Z")

</div>

@Patrick_Morgenstern you shouldnt do that. ownCloud uses a different database migration system which has to be manually adjusted in Nextcloud so this might leave you with a broken database

---

<div class="post-metadata">

**Author:** ![Patrick\_Morgenstern](https://help.nextcloud.com/user_avatar/help.nextcloud.com/patrick_morgenstern/32/66170_2.png) [@Patrick\_Morgenstern](https://help.nextcloud.com/u/Patrick_Morgenstern)\
**Post date:** [June 4, 2017, 10:14am UTC](https://help.nextcloud.com/t/migration-from-owncloud-9-1-6-to-nextcloud-10-0-5-fails/13523/6 "2017-06-04T10:14:45Z")

</div>

Maybe you are right and it was luck. But in my case the written down method worked fine. All apps (Calendar, Contacts, Files) are running without problems. The update to newest NextCloud 11.0.3 after checking NextCloud 10.0.5 went also fine.  
Anyway thanks you for your hint … this could be a problem on other installations. 🙂

---

<div class="post-metadata">

**Author:** ![frankagricola](https://help.nextcloud.com/letter_avatar/frankagricola/32/5_5575768a8748004e209b776fc1b2916d.png) [@frankagricola](https://help.nextcloud.com/u/frankagricola)\
**Post date:** [June 6, 2017, 12:39pm UTC](https://help.nextcloud.com/t/migration-from-owncloud-9-1-6-to-nextcloud-10-0-5-fails/13523/7 "2017-06-06T12:39:25Z")

</div>

When will a compatible Nextcloud version be released? is this 10.0.6?

The latest Nextcloud 10.0.5 has same engine as Owncloud 9.1.5  
Since Owncloud 9.1.6 has a newer engine, the process fails with message “Downloaded version is lower than installed version”

---

<div class="post-metadata">

**Author:** ![derula](https://help.nextcloud.com/letter_avatar/derula/32/5_5575768a8748004e209b776fc1b2916d.png) [@derula](https://help.nextcloud.com/u/derula)\
**Post date:** [June 10, 2017, 12:42pm UTC](https://help.nextcloud.com/t/migration-from-owncloud-9-1-6-to-nextcloud-10-0-5-fails/13523/8 "2017-06-10T12:42:28Z")

</div>

I’m also interested in how this is going to be addressed… I didn’t even know about Nextcloud last week when I updated ownCloud through my package manager to 9.1.6 as usual, and suddenly the calendar app was throwing an error. I Googled that and found out it’s probably not being supported for ownCloud. So I looked at Nextcloud migration and it told me that it can upgrade 9.1.\* to Nextcloud 10, and even the update script told me that an upgrade from 9.1.6 to 10.0.5 is possible, and created a backup. Then it failed in the middle of it, and I couldn’t find any information on whether there’ll even _be_ a Nextcloud 10.0.6 or if I somehow need to fix this manually.

Some sort of statement or link to current plans would be appreciated, because now my calendar hasn’t been working for a week because the app was left in a broken state.

---

<div class="post-metadata">

**Author:** ![BernhardPosselt](https://help.nextcloud.com/user_avatar/help.nextcloud.com/bernhardposselt/32/82_2.png) [@BernhardPosselt](https://help.nextcloud.com/u/BernhardPosselt)\
**Post date:** [June 10, 2017, 1:33pm UTC](https://help.nextcloud.com/t/migration-from-owncloud-9-1-6-to-nextcloud-10-0-5-fails/13523/9 "2017-06-10T13:33:35Z")

</div>

@frankagricola @derula when its done

---

<div class="post-metadata">

**Author:** ![Morgano](https://help.nextcloud.com/letter_avatar/morgano/32/5_5575768a8748004e209b776fc1b2916d.png) [@Morgano](https://help.nextcloud.com/u/Morgano)\
**Post date:** [June 14, 2017, 1:18pm UTC](https://help.nextcloud.com/t/migration-from-owncloud-9-1-6-to-nextcloud-10-0-5-fails/13523/10 "2017-06-14T13:18:34Z")

</div>

First: thank you for a very nice software 🙂

Searching this forum i see this problem in this thread is not new, it have happened for other users for an earlier version too.  
The **bug here is in your instructions** , that clearly say the latest point releases should be used when migrating:  
From [Nextcloud - Migration guide](https://nextcloud.com/migration/)

> … Nextcloud 10.0.x as an upgrade to ownCloud 9.1.x

> These are some examples of an upgrade path. The minor release (.x below) should always be the latest bugfix release.

So you (accidentally) fool admins to update ownCloud to latest point release even when it is known not to be compatible when NC point release is behind!

What it really should add is something like: the Nextcloud point release must not be lower than the ownCloud point release. Exampe: Nextcloud 10.0.5 is NOT compatible with ownCloud 9.1.6.

**_Please correct your migration guide ASAP before more people get fooled!_**

I hit this while evaluating upgrade+migration method for ownCloud in Mageia 5 to Nextcloud in Mageia 6. [https://bugs.mageia.org/show\_bug.cgi?id=21066#c7](https://bugs.mageia.org/show_bug.cgi?id=21066#c7)_( which i am trying to make nice at [https://wiki.mageia.org/en/OwnCloud#IMPORTANT\_:\_.2ABEFORE.2A\_upgrading\_to\_Mageia\_6\_.21](https://wiki.mageia.org/en/OwnCloud#IMPORTANT_:_.2ABEFORE.2A_upgrading_to_Mageia_6_.21) - improvements and corrections are welcome, BTW )_

Sincerely /Morgan

---

<div class="post-metadata">

**Author:** ![BernhardPosselt](https://help.nextcloud.com/user_avatar/help.nextcloud.com/bernhardposselt/32/82_2.png) [@BernhardPosselt](https://help.nextcloud.com/u/BernhardPosselt)\
**Post date:** [June 14, 2017, 2:42pm UTC](https://help.nextcloud.com/t/migration-from-owncloud-9-1-6-to-nextcloud-10-0-5-fails/13523/11 "2017-06-14T14:42:15Z")

</div>

Hi @Morgano please report this on the appropriate issue tracker [https://github.com/nextcloud/nextcloud.com](https://github.com/nextcloud/nextcloud.com) 😉

---

<div class="post-metadata">

**Author:** ![Morgano](https://help.nextcloud.com/letter_avatar/morgano/32/5_5575768a8748004e209b776fc1b2916d.png) [@Morgano](https://help.nextcloud.com/u/Morgano)\
**Post date:** [June 14, 2017, 4:44pm UTC](https://help.nextcloud.com/t/migration-from-owncloud-9-1-6-to-nextcloud-10-0-5-fails/13523/12 "2017-06-14T16:44:44Z")

</div>

Instruction: [https://github.com/nextcloud/server/issues/5426](https://github.com/nextcloud/server/issues/5426) (first issued as [https://github.com/nextcloud/nextcloud.com/issues/496](https://github.com/nextcloud/nextcloud.com/issues/496) )  
Script: [https://github.com/nextcloud/server/issues/5425](https://github.com/nextcloud/server/issues/5425) (first issued as [https://github.com/nextcloud/nextcloud.com/issues/497](https://github.com/nextcloud/nextcloud.com/issues/497) )

---

<div class="post-metadata">

**Author:** ![jospoortvliet](https://help.nextcloud.com/user_avatar/help.nextcloud.com/jospoortvliet/32/3_2.png) [@jospoortvliet](https://help.nextcloud.com/u/jospoortvliet)\
**Post date:** [June 19, 2017, 11:02am UTC](https://help.nextcloud.com/t/migration-from-owncloud-9-1-6-to-nextcloud-10-0-5-fails/13523/13 "2017-06-19T11:02:21Z")

</div>

@Morgano thanks for filing the issues. The Nextcloud updater should ignore minor versions (the .5 vs .6) on migration between different products (oC to Nc), but apparently something is wrong. It might be that oC didn’t properly set the vendor on install or update, there was a bug with that. Once 10.0.6 is out it should of course work but this isn’t nice so we have to look if we can work around it…

---

<div class="post-metadata">

**Author:** ![jospoortvliet](https://help.nextcloud.com/user_avatar/help.nextcloud.com/jospoortvliet/32/3_2.png) [@jospoortvliet](https://help.nextcloud.com/u/jospoortvliet)\
**Post date:** [June 19, 2017, 11:11am UTC](https://help.nextcloud.com/t/migration-from-owncloud-9-1-6-to-nextcloud-10-0-5-fails/13523/14 "2017-06-19T11:11:41Z")

</div>

A work-around from this blog is to set the version of your ownCloud server to 9.1.5.1, see:  
[https://0xstubs.org/migrating-from-owncloud-9-1-6-to-nextcloud-10/](https://0xstubs.org/migrating-from-owncloud-9-1-6-to-nextcloud-10/)

> edit your config/config.php and set version to 9.1.5.1 or lower.

---

<div class="post-metadata">

**Author:** ![jospoortvliet](https://help.nextcloud.com/user_avatar/help.nextcloud.com/jospoortvliet/32/3_2.png) [@jospoortvliet](https://help.nextcloud.com/u/jospoortvliet)\
**Post date:** [June 19, 2017, 11:35am UTC](https://help.nextcloud.com/t/migration-from-owncloud-9-1-6-to-nextcloud-10-0-5-fails/13523/15 "2017-06-19T11:35:43Z")

</div>

From @nickvergessen - if the reason is that oC didn’t set the vendor properly, you should run this before you try to upgrade to Nextcloud:

`occ config:app:set --value "owncloud" core vendor`

---

<div class="post-metadata">

**Author:** ![Morgano](https://help.nextcloud.com/letter_avatar/morgano/32/5_5575768a8748004e209b776fc1b2916d.png) [@Morgano](https://help.nextcloud.com/u/Morgano)\
**Post date:** [June 19, 2017, 11:38am UTC](https://help.nextcloud.com/t/migration-from-owncloud-9-1-6-to-nextcloud-10-0-5-fails/13523/16 "2017-06-19T11:38:24Z")

</div>

> [@jospoortvliet](#):
>
> edit your config/config.php and set version to 9.1.5.1 or lower.

Reading from posts earlier in this thread, and other places, I am told that OC 9.1.6 use a newer engine than OC 9.1.5 and NC 10.0.5, so that is not a safe path anyhow. Or is there news on that?

It do seem to work for some anyhow, but i am trying to define an official upgrade path for Mageia 5 (owncloud) to Mageia 6 (nextcloud) that is doable ASAP. [https://bugs.mageia.org/show\_bug.cgi?id=20953#c21](https://bugs.mageia.org/show_bug.cgi?id=20953#c21) , [https://wiki.mageia.org/en/OwnCloud#IMPORTANT\_:\_.2ABEFORE.2A\_upgrading\_to\_Mageia\_6\_.21](https://wiki.mageia.org/en/OwnCloud#IMPORTANT_:_.2ABEFORE.2A_upgrading_to_Mageia_6_.21)

It there any idea yet when NC 10.0.6 (or other compatible NC) is out: like in a week, or four weeks?  
If soon, maybe we can get NC 10.0.6 into Mageia5 backports

---

<div class="post-metadata">

**Author:** ![jospoortvliet](https://help.nextcloud.com/user_avatar/help.nextcloud.com/jospoortvliet/32/3_2.png) [@jospoortvliet](https://help.nextcloud.com/u/jospoortvliet)\
**Post date:** [June 19, 2017, 12:01pm UTC](https://help.nextcloud.com/t/migration-from-owncloud-9-1-6-to-nextcloud-10-0-5-fails/13523/17 "2017-06-19T12:01:06Z")

</div>

> [@Morgano](#):
>
> Reading from posts earlier in this thread, and other places, I am told that OC 9.1.6 use a newer engine than OC 9.1.5 and NC 10.0.5, so that is not a safe path anyhow. Or is there news on that?

I agree with the assesment from the blog on [Migrating from ownCloud 9.1.6 to Nextcloud 10 – 0xStubs](https://0xstubs.org/migrating-from-owncloud-9-1-6-to-nextcloud-10/) that there don’t seem to be any changes to the database, which would indeed be unlikely in such a late-in-the-series bugfix. This should not cause any problems.

However, I’m testing this myself now with a fresh 9.1.6 and will try to fix this out. Will get back to you all.

---

<div class="post-metadata">

**Author:** ![Morgano](https://help.nextcloud.com/letter_avatar/morgano/32/5_5575768a8748004e209b776fc1b2916d.png) [@Morgano](https://help.nextcloud.com/u/Morgano)\
**Post date:** [June 19, 2017, 12:03pm UTC](https://help.nextcloud.com/t/migration-from-owncloud-9-1-6-to-nextcloud-10-0-5-fails/13523/18 "2017-06-19T12:03:51Z")

</div>

Many thanks 🙂  
If the workaround is safe, it will save a lot of people some work.

---

<div class="post-metadata">

**Author:** ![jreybert](https://help.nextcloud.com/letter_avatar/jreybert/32/5_5575768a8748004e209b776fc1b2916d.png) [@jreybert](https://help.nextcloud.com/u/jreybert)\
**Post date:** [June 19, 2017, 12:14pm UTC](https://help.nextcloud.com/t/migration-from-owncloud-9-1-6-to-nextcloud-10-0-5-fails/13523/19 "2017-06-19T12:14:16Z")

</div>

In my case, I had to set version `9.1.5.1` in file `version.php`. When I set `config/config.php`, the updater still recognize installed owncloud version as `9.1.6`.

In the end, migration from owncloud `9.1.6` (faking it as a `9.1.5.1` version) to nextcloud `10` to nextcloud `11` went well.

---

<div class="post-metadata">

**Author:** ![jospoortvliet](https://help.nextcloud.com/user_avatar/help.nextcloud.com/jospoortvliet/32/3_2.png) [@jospoortvliet](https://help.nextcloud.com/u/jospoortvliet)\
**Post date:** [June 19, 2017, 12:15pm UTC](https://help.nextcloud.com/t/migration-from-owncloud-9-1-6-to-nextcloud-10-0-5-fails/13523/20 "2017-06-19T12:15:14Z")

</div>

FYI - [https://github.com/nextcloud/owncloud-web-migrator/issues/1](https://github.com/nextcloud/owncloud-web-migrator/issues/1)

I modified version.php to refer to 9.1.5.1 which worked for me but didn’t work for a user on twitter. We have to fix the migration script… The upgrade itself, if you manually replace the files that is, does work.

[Next page](https://help.nextcloud.com/t/migration-from-owncloud-9-1-6-to-nextcloud-10-0-5-fails/13523.md?page=2)
