Upgrading from 5.0.4 > 7.0.1 problem.

Ask all your questions regarding OC 7.x Please read the Support Forum Rules
Forum rules
Before you post; make sure you are using at least PHP Version 5.3.x - Also read Support Forum - Read this before posting

Upgrading from 5.0.4 > 7.0.1 problem.

Postby Pleb101 » Fri Aug 22, 2014 5:49 pm

Hello,

I tried upgrading my owncloud server by following the steps mentioned here:
http://doc.owncloud.org/server/6.0/admi ... ml#upgrade

I then open up my owncloud server and click the update button.
Then I get the error:

Code: Select all
An exception occurred while executing 'ALTER TABLE `oc_oc_lucene_status_bfe47cfe6dec9` ADD PRIMARY KEY (`fileid`)': SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1' for key 'PRIMARY'


Any idea what's going on and what to do?
Pleb101
Newbie
 
Posts: 2
Joined: Fri Aug 22, 2014 5:45 pm
ownCloud version: 5.0.5
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 5

Re: Upgrading from 5.0.4 > 7.0.1 problem.

Postby Rancor » Fri Aug 22, 2014 6:03 pm

Hi,

so have you first updated to OC 5.0.17, then 6.0.4 and then to 7.0.1?
*inactive*
Rancor
OwnCloud master
 
Posts: 8508
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 7.0.1
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 5.5.x

Re: Upgrading from 5.0.4 > 7.0.1 problem.

Postby Pleb101 » Fri Aug 22, 2014 6:17 pm

Rancor wrote:Hi,

so have you first updated to OC 5.0.17, then 6.0.4 and then to 7.0.1?


I've tried to use the auto update many months ago, probably to 6.0.4 yes, but that failed saying that the backup could not be created. I just left it at that, and decided that now was the time to try and backup to a newer version. So i just pressed auto update.
Pleb101
Newbie
 
Posts: 2
Joined: Fri Aug 22, 2014 5:45 pm
ownCloud version: 5.0.5
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 5

Re: Upgrading from 5.0.4 > 7.0.1 problem.

Postby Rancor » Fri Aug 22, 2014 6:21 pm

Mhh, have a look at some existing reports like:

https://github.com/owncloud/core/issues/6313
*inactive*
Rancor
OwnCloud master
 
Posts: 8508
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 7.0.1
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 5.5.x


Return to ownCloud Community Edition 7.x

Who is online

Users browsing this forum: Joeyyy, Noseman and 10 guests