When doing an uppgrade from nextcloud 16.0.5 to 17.0.1 using the web based uppdater circles refuse to upgrade and cant be used in the upgraded nextcloud 17.0.1 instance.
A possible issue is that the web based uppgrader flagged 16.0.6 to be available when i started it. And i was expecting to get 16.0.6 but the updater then proceeded to install 17.0.1
After upgrade and me manualy disabling circles from the command line nextcloud 17.0.1 starts and works as expected. But circles can not be enabled.
Currenctly the web interface repports Circles 0.17.10 to be installed but disabled. If i try to enable it i get the following error.
An exception occurred while executing 'CREATE TABLE oc_circles_links ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, status SMALLINT NOT NULL, unique_id VARCHAR(64) DEFAULT NULL COLLATE BINARY, address VARCHAR(128) NOT NULL COLLATE BINARY, token VARCHAR(64) NOT NULL COLLATE BINARY, "key" VARCHAR(64) NOT NULL COLLATE BINARY, creation DATETIME DEFAULT NULL, circle_id VARCHAR(64) NOT NULL COLLATE BINARY, PRIMARY KEY(id))': SQLSTATE[HY000]: General error: 1 table "oc_circles_links" has more than one primary key
I have tried the barbarian error resolving procedure ( click remove, reinstall and hope for the best ) but no luck.
I have grabbed the current oc_cricles_links table schema from the database in case that might be of help diagnosing the issue.
sqlite> .schema oc_circles_links
CREATE TABLE oc_circles_links (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, status SMALLINT NOT NULL, unique_id VARCHAR(64) DEFAULT NULL COLLATE BINARY, address VARCHAR(128) NOT NULL COLLATE BINARY, token VARCHAR(64) NOT NULL COLLATE BINARY, "key" VARCHAR(64) NOT NULL COLLATE BINARY, creation DATETIME DEFAULT NULL, circle_id VARCHAR(64) NOT NULL COLLATE BINARY);
sqlite> ^C
The basic server config as following ( grabbed from within nextcloud )
When doing an uppgrade from nextcloud 16.0.5 to 17.0.1 using the web based uppdater circles refuse to upgrade and cant be used in the upgraded nextcloud 17.0.1 instance.
A possible issue is that the web based uppgrader flagged 16.0.6 to be available when i started it. And i was expecting to get 16.0.6 but the updater then proceeded to install 17.0.1
After upgrade and me manualy disabling circles from the command line nextcloud 17.0.1 starts and works as expected. But circles can not be enabled.
Currenctly the web interface repports Circles 0.17.10 to be installed but disabled. If i try to enable it i get the following error.
An exception occurred while executing 'CREATE TABLE oc_circles_links ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, status SMALLINT NOT NULL, unique_id VARCHAR(64) DEFAULT NULL COLLATE BINARY, address VARCHAR(128) NOT NULL COLLATE BINARY, token VARCHAR(64) NOT NULL COLLATE BINARY, "key" VARCHAR(64) NOT NULL COLLATE BINARY, creation DATETIME DEFAULT NULL, circle_id VARCHAR(64) NOT NULL COLLATE BINARY, PRIMARY KEY(id))': SQLSTATE[HY000]: General error: 1 table "oc_circles_links" has more than one primary key
I have tried the barbarian error resolving procedure ( click remove, reinstall and hope for the best ) but no luck.
I have grabbed the current oc_cricles_links table schema from the database in case that might be of help diagnosing the issue.
The basic server config as following ( grabbed from within nextcloud )