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
ownCloud 7.x will be end of life soon. See maintenance and release schedule for more details.

Time to upgrade!

Before you post; make sure you are using at least PHP Version 5.3.x - Also read Support Forum - Read this before posting
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

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?

RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: Upgrading from 5.0.4 > 7.0.1 problem.

Postby RealRancor » 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?
*gone*

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 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.

RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: Upgrading from 5.0.4 > 7.0.1 problem.

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

Mhh, have a look at some existing reports like:

https://github.com/owncloud/core/issues/6313
*gone*


  • Similar Topics
    Replies
    Views
    Last post

Return to “ownCloud Community Edition 7.x”

Who is online

Users browsing this forum: No registered users and 2 guests