server icon indicating copy to clipboard operation
server copied to clipboard

Owncloud 10 to Nextcloud 12 migration issue

Open gennari-dkt opened this issue 7 years ago • 4 comments

Hi there, I am trying to migrate my Owncloud to Nextcloud. Actually I have Owncloud 10.0, so I downloaded Nextcloud 12 as from documentation. I use LDAP authentication and I am trying manual procedure.

Unfortunately during the procedure I get this error:

`Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'DROP INDEX ldap_dn_groups':

SQLSTATE[42704]: Undefined object: 7 ERROR: index "ldap_dn_groups" does not exist Update failed`

I checked on database and the index is present. I tried to delete it manually but no way.

Without LDAP installation I managed to migrate Owncloud to Nextcloud.

Can anyone help me please?

Very kind regards.

Alessio

gennari-dkt avatar Sep 09 '19 14:09 gennari-dkt

cc @blizzz @nickvergessen

kesselb avatar Sep 10 '19 08:09 kesselb

Should require a similar hack like https://github.com/nextcloud/server/blob/master/lib/private/Repair/Owncloud/SaveAccountsTableData.php#L81

nickvergessen avatar Sep 10 '19 08:09 nickvergessen

For the moment I resolved deleting oc_ldap_group tables in my Postgres instance.

gennari-dkt avatar Sep 11 '19 09:09 gennari-dkt

As there is now a way to migrate from any recent owncloud version to Nextcloud 20, I am closing this issue.

szaimen avatar May 26 '21 11:05 szaimen