# Migrating from Owncloud 9.1 to Nextcloud

**URL:** <https://help.nextcloud.com/t/migrating-from-owncloud-9-1-to-nextcloud/1816>\
**Category:** ℹ️ Support\
**Created:** [July 22, 2016, 12:41am UTC](https://help.nextcloud.com/t/migrating-from-owncloud-9-1-to-nextcloud/1816 "2016-07-22T00:41:08Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![simbalion](https://help.nextcloud.com/letter_avatar/simbalion/32/6_22734026db12803ebb3e059622ac3534.png) [@simbalion](https://help.nextcloud.com/u/simbalion)\
**Post date:** [July 22, 2016, 12:41am UTC](https://help.nextcloud.com/t/migrating-from-owncloud-9-1-to-nextcloud/1816/1 "2016-07-22T00:41:08Z")

</div>

What is the correct procedure? I tried the methods offered and got an error about downgrading being unsupported.

---

<div class="post-metadata">

**Author:** ![justin.sleep](https://help.nextcloud.com/user_avatar/help.nextcloud.com/justin.sleep/32/6775_2.png) [@justin.sleep](https://help.nextcloud.com/u/justin.sleep)\
**Post date:** [July 22, 2016, 1:45am UTC](https://help.nextcloud.com/t/migrating-from-owncloud-9-1-to-nextcloud/1816/2 "2016-07-22T01:45:33Z")

</div>

Could you post the terminal output or a screenshot of the error?

---

<div class="post-metadata">

**Author:** ![nickvergessen](https://help.nextcloud.com/user_avatar/help.nextcloud.com/nickvergessen/32/66965_2.png) [@nickvergessen](https://help.nextcloud.com/u/nickvergessen)\
**Post date:** [July 22, 2016, 8:33am UTC](https://help.nextcloud.com/t/migrating-from-owncloud-9-1-to-nextcloud/1816/3 "2016-07-22T08:33:25Z")

</div>

ownCloud 9.1 is newer then Nextcloud 9.0.53, so you will have to wait for Nextcloud 10 (which is the ownCloud 9.1 brother).  
There was a first beta release yesterday, final release of 10 might need some more time.

---

<div class="post-metadata">

**Author:** ![tflidd](https://help.nextcloud.com/letter_avatar/tflidd/32/6_22734026db12803ebb3e059622ac3534.png) [@tflidd](https://help.nextcloud.com/u/tflidd)\
**Post date:** [July 22, 2016, 9:02am UTC](https://help.nextcloud.com/t/migrating-from-owncloud-9-1-to-nextcloud/1816/4 "2016-07-22T09:02:34Z")

</div>

> [@nickvergessen](#):
>
> ownCloud 9.1 is newer then Nextcloud 9.0.53, so you will have to wait for Nextcloud 10 (which is the ownCloud 9.1 brother).

Are such migration paths possible (supported)? Or is it just “by accident” because the data/db-structure hasn’t changed so far?

---

<div class="post-metadata">

**Author:** ![nickvergessen](https://help.nextcloud.com/user_avatar/help.nextcloud.com/nickvergessen/32/66965_2.png) [@nickvergessen](https://help.nextcloud.com/u/nickvergessen)\
**Post date:** [July 22, 2016, 9:13am UTC](https://help.nextcloud.com/t/migrating-from-owncloud-9-1-to-nextcloud/1816/5 "2016-07-22T09:13:13Z")

</div>

Possible migrations paths:

ownCloud 9.0 =\> Nextcloud 9 ✅  
ownCloud 9.0 =\> Nextcloud 10 ✅  
ownCloud 9.1 =\> Nextcloud 10 ✅  
ownCloud 10.0.0 =\> Nextcloud 12.0.0 ✅  
ownCloud 10.0.1 =\> Nextcloud 12.0.1 ✅

ownCloud 9.1 =\> Nextcloud 9 ❌  
ownCloud 10.0.1 =\> Nextcloud 12.0.0 ❌

---

<div class="post-metadata">

**Author:** ![Joshua\_Parker\_Ruehli](https://help.nextcloud.com/user_avatar/help.nextcloud.com/joshua_parker_ruehli/32/696_2.png) [@Joshua\_Parker\_Ruehli](https://help.nextcloud.com/u/Joshua_Parker_Ruehli)\
**Post date:** [July 22, 2016, 10:37pm UTC](https://help.nextcloud.com/t/migrating-from-owncloud-9-1-to-nextcloud/1816/6 "2016-07-22T22:37:48Z")

</div>

Upgrading from ownCloud 9.1 to Nextcloud 9 worked fine for me.  
But to get ‘occ upgrade’ to work, I had to edit the version number in my config.php and make it lower. As far as I can tell everything still works

---

<div class="post-metadata">

**Author:** ![d2016c](https://help.nextcloud.com/letter_avatar/d2016c/32/6_22734026db12803ebb3e059622ac3534.png) [@d2016c](https://help.nextcloud.com/u/d2016c)\
**Post date:** [July 28, 2016, 7:37am UTC](https://help.nextcloud.com/t/migrating-from-owncloud-9-1-to-nextcloud/1816/7 "2016-07-28T07:37:26Z")

</div>

Can you keep to the SAME version number as the source you fork from ?

At least during this initial period when we are migrating across ?

It is very confusing to everyone (esp. at this early stage of the Nextcloud fork) to make such a major jump in version number to 10, without much change in the code base.

If you think the name “Nextcloud 9.1” is still NOT different enough to “Owncloud 9.1” then may be add a minor number e.g. 9.1.1

Imagine the problem when Owncloud moves to 10, will it be Nextcloud 10.5 or 11.0 …

However, it IS good to made the major version number out of sync when Nextcloud is NO LONGER compatible with Owncloud, to tell people that so much changes have occurred that they are no longer compatible with each other.

---

<div class="post-metadata">

**Author:** ![dartcafe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/dartcafe/32/11228_2.png) [@dartcafe](https://help.nextcloud.com/u/dartcafe)\
**Post date:** [August 4, 2016, 8:31pm UTC](https://help.nextcloud.com/t/migrating-from-owncloud-9-1-to-nextcloud/1816/8 "2016-08-04T20:31:37Z")

</div>

Maybe that can help someone, who doesn’t want to wait for version 10.

I successfully migrated from ownCloud 9.1 to nextCloud 9.0.53 on a shared host (All-inkl).  
I cannot garantee, that this will work on another system. I just describe, how I migrated.

Situation:  
ownCloud is installed in a folder /htdocs/cloud/9.1.0/owncloud  
Datadir is in a folder /htdocs/data/owncloud/data  
Tempdir is in a folder /htdocs/tmp/owncloud/tmp  
PHP 5.2.17 as Apache module  
MySQL 5.6.30

Steps to reproduce  
! Prevent synchronizing eg. by stopping ownCloud synchronizing app on local PC or by changing the ownCloud URL to a maintenace page. Now or later before copying the database and the data directory.  
! Maybe it may be safe to disable all owncloud applications before executing the following steps. I didn’t.

Preparation:

1. Extract nextCloud distribution to /htdocs/cloud/9.0.53/nextcloud
2. Create /htdocs/data/nextcloud/data
3. Create /htdocs/tmp/nextcloud/tmp
4. Create an new nextCloud-DB
5. Copy /htdocs/cloud/9.1.0/owncloud/config/config.php to htdocs/cloud/9.0.53/nextcloud/config/config.php
6. Edit /htdocs/cloud/9.0.53/nextcloud/config/config.php  
’datadirectory’ =\> ‘/htdocs/data/nextcloud/data’,  
‘tempdirectory’ =\> ‘/htdocs/tmp/nextcloud/tmp’,  
‘version’ =\> ‘9.0.2.2’,  
‘dbname’ =\> ‘nextCloud-DB’,  
‘dbuser’ =\> ‘nextCloud-DB user’,  
‘dbpassword’ =\> ‘nextCloud-DB pass’,
7. Set permissions for folders and files (wwwroot as user)

! At least now client synchronising should be prevented as described before.

Execution of the migartion:  
8. Make exact copy of the owncloud-DB to a new nextCloud-DB  
9. Copy all files from /htdocs/data/owncloud/data to /htdocs/data/nextcloud/data  
10. Point host configuration from htdocs/cloud/9.1.0/owncloud to htdocs/cloud/9.0.53/nextcloud  
11. Open nextCloud in browser -\> Update starts and should complete without error (I had just warnings of apps that have been disabled)  
12. Login in to nextCloud  
13. Enable needed applications  
14. Start synchronizing (Client didn’t recognise the changes server system in my case -\> synchronizing behaves as usual)

After these steps, which I reproduced on three instances, I did not get one entry in the log file.

I made a complete copy of the database and the data directory instead of a backup. In case of an error, I would have been able to return to the previous installation by just changing the host entry to the old value.

cheers

---

<div class="post-metadata">

**Author:** ![necrevistonnezr](https://help.nextcloud.com/user_avatar/help.nextcloud.com/necrevistonnezr/32/861_2.png) [@necrevistonnezr](https://help.nextcloud.com/u/necrevistonnezr)\
**Post date:** [August 12, 2016, 2:49pm UTC](https://help.nextcloud.com/t/migrating-from-owncloud-9-1-to-nextcloud/1816/9 "2016-08-12T14:49:30Z")

</div>

Same for me here. Changed version from 9.1.0.0 to 9.0.2.2 in config.php and migration went fine.

---

<div class="post-metadata">

**Author:** ![Speranskiy](https://help.nextcloud.com/user_avatar/help.nextcloud.com/speranskiy/32/870_2.png) [@Speranskiy](https://help.nextcloud.com/u/Speranskiy)\
**Post date:** [August 13, 2016, 9:13am UTC](https://help.nextcloud.com/t/migrating-from-owncloud-9-1-to-nextcloud/1816/10 "2016-08-13T09:13:09Z")

</div>

guys who migrated from owncloud 9.1 do you have the calendar app showing up calendars? I have neither contact\_birthdays nor my custom calendar appearing, just endless spinning circle.

---

<div class="post-metadata">

**Author:** ![tflidd](https://help.nextcloud.com/letter_avatar/tflidd/32/6_22734026db12803ebb3e059622ac3534.png) [@tflidd](https://help.nextcloud.com/u/tflidd)\
**Post date:** [August 13, 2016, 10:20am UTC](https://help.nextcloud.com/t/migrating-from-owncloud-9-1-to-nextcloud/1816/11 "2016-08-13T10:20:31Z")

</div>

> [@Speranskiy](#):
>
> guys who migrated from owncloud 9.1 do you have the calendar app showing up calendars? I have neither contact\_birthdays nor my custom calendar appearing, just endless spinning circle.

Just open a new topic and give more details about your problem (logfiles). If you hijack old topic marked as “resolved”, you risk that your questions are missed.

---

<div class="post-metadata">

**Author:** ![tflidd](https://help.nextcloud.com/letter_avatar/tflidd/32/6_22734026db12803ebb3e059622ac3534.png) [@tflidd](https://help.nextcloud.com/u/tflidd)\
**Post date:** [August 13, 2016, 10:20am UTC](https://help.nextcloud.com/t/migrating-from-owncloud-9-1-to-nextcloud/1816/12 "2016-08-13T10:20:50Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 4, 2024, 3:11pm UTC](https://help.nextcloud.com/t/migrating-from-owncloud-9-1-to-nextcloud/1816/13 "2024-12-04T15:11:49Z")

</div>


