-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dav exception on every update #761
Comments
Thank you for your report. |
I filled few more information. Generally I just need information, where is check (what DB entry or file) which leads to owncloud/nextcloud trying create table again. I dropped all calendar & contacts data from owncloud 8.x series... |
Probably also fixed by #1025 , I'll reopen in case it persist. |
@okias Could you help me with the fix please? I can't seem to run the commands, don't have the know how... Also the script provided doesn't work or probably I'm doing something wrong. |
Steps to reproduce
dav: An exception occurred while executing 'CREATE TABLE
oc_addressbooks
(id
BIGINT UNSIGNED AUTO_INCREMENT NOT NULL,principaluri
VARCHAR(255) DEFAULT NULL,displayname
VARCHAR(255) DEFAULT NULL,uri
VARCHAR(255) DEFAULT NULL,description
VARCHAR(255) DEFAULT NULL,synctoken
INT UNSIGNED DEFAULT 1 NOT NULL, UNIQUE INDEX addressbook_index (principaluri
,uri
), PRIMARY KEY(id
)) DEFAULT CHARACTER SET utf8 COLLATE utf8_bin ENGINE = InnoDB':Server configuration
Operating system:
Gentoo amd64
Web server:
nginx version: nginx/1.11.2
Database:
mysqld 10.0.26-MariaDB
PHP version:
PHP 5.6.24-pl0-gentoo (cli) (built: Aug 7 2016 02:26:18)
Nextcloud version: (see Nextcloud admin page)
10.0-beta
Updated from an older Nextcloud/ownCloud or fresh install:
9.0.4
Where did you install Nextcloud from:
webapp-config (gentoo portage)
List of activated apps:
App list
Enabled:
Disabled:
Every previous owncloud update since 9.0.0 i getting this error. After moving to NextCloud 10-beta I still get this message. All old addressbook tables are dropped, new address book is created and functional, where could be problem? I guess I forgot remove something which makes updater always want create table...
dav: An exception occurred while executing 'CREATE TABLE
oc_addressbooks
(id
BIGINT UNSIGNED AUTO_INCREMENT NOT NULL,principaluri
VARCHAR(255) DEFAULT NULL,displayname
VARCHAR(255) DEFAULT NULL,uri
VARCHAR(255) DEFAULT NULL,description
VARCHAR(255) DEFAULT NULL,synctoken
INT UNSIGNED DEFAULT 1 NOT NULL, UNIQUE INDEX addressbook_index (principaluri
,uri
), PRIMARY KEY(id
)) DEFAULT CHARACTER SET utf8 COLLATE utf8_bin ENGINE = InnoDB':SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'oc_addressbooks' already exists
The text was updated successfully, but these errors were encountered: