-
Hi,
I just updated my NextCloud to 20.0.2, and it's not responding.
Logs said :
Nov 30 08:17:29 Check primary keys. Nov 30 08:17:29 Adding primary key to the filecache_extended table, this can take some time... Nov 30 08:17:29 Nov 30 08:17:29 In AbstractPostgreSQLDriver.php line 51: Nov 30 08:17:29 Nov 30 08:17:29 An exception occurred while executing 'ALTER TABLE oc_filecache_extended AD Nov 30 08:17:29 D PRIMARY KEY (fileid)': Nov 30 08:17:29 Nov 30 08:17:29 SQLSTATE[23505]: Unique violation: 7 ERROR: could not create unique index Nov 30 08:17:29 "oc_filecache_extended_pkey" Nov 30 08:17:29 DETAIL: Key (fileid)=(169141) is duplicated. Nov 30 08:17:29 Nov 30 08:17:29 Nov 30 08:17:29 In PDOConnection.php line 83: Nov 30 08:17:29 Nov 30 08:17:29 SQLSTATE[23505]: Unique violation: 7 ERROR: could not create unique index Nov 30 08:17:29 "oc_filecache_extended_pkey" Nov 30 08:17:29 DETAIL: Key (fileid)=(169141) is duplicated. Nov 30 08:17:29 Nov 30 08:17:29 Nov 30 08:17:29 In PDOConnection.php line 78: Nov 30 08:17:29 Nov 30 08:17:29 SQLSTATE[23505]: Unique violation: 7 ERROR: could not create unique index Nov 30 08:17:29 "oc_filecache_extended_pkey" Nov 30 08:17:29 DETAIL: Key (fileid)=(169141) is duplicated. Nov 30 08:17:29 Nov 30 08:17:29 Nov 30 08:17:29 db:add-missing-primary-keysAnd it's restarting every minutes.
Could someone help me on that?Thanks,
-
Hi,
I just updated my NextCloud to 20.0.2, and it's not responding.
Logs said :
Nov 30 08:17:29 Check primary keys. Nov 30 08:17:29 Adding primary key to the filecache_extended table, this can take some time... Nov 30 08:17:29 Nov 30 08:17:29 In AbstractPostgreSQLDriver.php line 51: Nov 30 08:17:29 Nov 30 08:17:29 An exception occurred while executing 'ALTER TABLE oc_filecache_extended AD Nov 30 08:17:29 D PRIMARY KEY (fileid)': Nov 30 08:17:29 Nov 30 08:17:29 SQLSTATE[23505]: Unique violation: 7 ERROR: could not create unique index Nov 30 08:17:29 "oc_filecache_extended_pkey" Nov 30 08:17:29 DETAIL: Key (fileid)=(169141) is duplicated. Nov 30 08:17:29 Nov 30 08:17:29 Nov 30 08:17:29 In PDOConnection.php line 83: Nov 30 08:17:29 Nov 30 08:17:29 SQLSTATE[23505]: Unique violation: 7 ERROR: could not create unique index Nov 30 08:17:29 "oc_filecache_extended_pkey" Nov 30 08:17:29 DETAIL: Key (fileid)=(169141) is duplicated. Nov 30 08:17:29 Nov 30 08:17:29 Nov 30 08:17:29 In PDOConnection.php line 78: Nov 30 08:17:29 Nov 30 08:17:29 SQLSTATE[23505]: Unique violation: 7 ERROR: could not create unique index Nov 30 08:17:29 "oc_filecache_extended_pkey" Nov 30 08:17:29 DETAIL: Key (fileid)=(169141) is duplicated. Nov 30 08:17:29 Nov 30 08:17:29 Nov 30 08:17:29 db:add-missing-primary-keysAnd it's restarting every minutes.
Could someone help me on that?Thanks,
@carbonbee Nextcloud is incredibly flaky when it comes to updates. I assume some plugin is causing that....
You may have to write to us on support and enable SSH access to your Cloudron so we can take a closer look. Usually the steps are something like putting the app in debug/maintenance mode from Cloudron side, then get a webterminal into the app, disable all non-core plugins, try to fixup the database then get nextcloud without plugins to work, then see if those disabled plugins may need updates and hopefully things start to work again.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login