{"action":"created","issue":{"url":"https://api.github.com/repos/nextcloud/server/issues/8212","repository_url":"https://api.github.com/repos/nextcloud/server","labels_url":"https://api.github.com/repos/nextcloud/server/issues/8212/labels{/name}","comments_url":"https://api.github.com/repos/nextcloud/server/issues/8212/comments","events_url":"https://api.github.com/repos/nextcloud/server/issues/8212/events","html_url":"https://github.com/nextcloud/server/issues/8212","id":294962038,"number":8212,"title":"Upgrade from 12.0.4 to 13 fail : Doctrine\\DBAL\\Schema\\SchemaException: An index with name 'idx_e98f2ec48b26c2e9' was already defined on table 'oc_cards'.","user":{"login":"matlem037","id":18737593,"avatar_url":"https://avatars0.githubusercontent.com/u/18737593?v=4","gravatar_id":"","url":"https://api.github.com/users/matlem037","html_url":"https://github.com/matlem037","followers_url":"https://api.github.com/users/matlem037/followers","following_url":"https://api.github.com/users/matlem037/following{/other_user}","gists_url":"https://api.github.com/users/matlem037/gists{/gist_id}","starred_url":"https://api.github.com/users/matlem037/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matlem037/subscriptions","organizations_url":"https://api.github.com/users/matlem037/orgs","repos_url":"https://api.github.com/users/matlem037/repos","events_url":"https://api.github.com/users/matlem037/events{/privacy}","received_events_url":"https://api.github.com/users/matlem037/received_events","type":"User","site_admin":false},"labels":[{"id":386379231,"url":"https://api.github.com/repos/nextcloud/server/labels/bug","name":"bug","color":"ee0701","default":true},{"id":389522192,"url":"https://api.github.com/repos/nextcloud/server/labels/feature:%20dav","name":"feature: dav","color":"c2e0c6","default":false},{"id":399631690,"url":"https://api.github.com/repos/nextcloud/server/labels/feature:%20install%20and%20update","name":"feature: install and update","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-02-07T00:24:28Z","updated_at":"2018-03-02T11:14:11Z","closed_at":null,"author_association":"NONE","body":"Hello \r\n\r\nI am in trouble with my nextcloud instance : i try to get upgrade from 12.0.4 to 13 from web admin page and the installation fail. \r\n\r\n### Steps to reproduce\r\n1. Launch upgrade from admin page\r\n2. Upgrade Fail\r\n3. Change maintenance mode to false in config.php\r\n4. restart Update from web\r\n5. Upgrade fail with message : Doctrine\\DBAL\\Schema\\SchemaException: An index with name 'idx_e98f2ec48b26c2e9' was already defined on table 'oc_cards'.\r\n\r\n### Expected behaviour\r\nUpgrade to v13\r\n\r\n### Actual behaviour\r\nUpgrade fail with the message : Doctrine\\DBAL\\Schema\\SchemaException: An index with name 'idx_e98f2ec48b26c2e9' was already defined on table 'oc_cards'.\r\n\r\n sudo -u www-data php occ upgrade\r\nNextcloud or one of the apps require upgrade - only a limited number of commands are available\r\nYou may use your browser or the occ upgrade command to do the upgrade\r\nSet log level to debug\r\nTurned on maintenance mode\r\nUpdating database schema\r\nUpdated database\r\nUpdating <dav> ...\r\nDoctrine\\DBAL\\Schema\\SchemaException: An index with name 'idx_e98f2ec48b26c2e9' was already defined on table 'oc_cards'.\r\nUpdate failed\r\nMaintenance mode is kept active\r\nReset log level\r\n\r\n\r\n### Server configuration\r\n\r\n**Operating system**:Raspbian Stretch\r\n\r\n**Web server:**Apache 2.4.25\r\n\r\n**Database:**mysql  Ver 15.1 Distrib 10.1.23-MariaDB, for debian-linux-gnueabihf (armv7l) using readline 5.2\r\n\r\n**PHP version:**PHP 7.0.27-0+deb9u1\r\n\r\n**Nextcloud version:** (see Nextcloud admin page) 12.04 to 13\r\n\r\n**Updated from an older Nextcloud/ownCloud or fresh install:**upgrading to13\r\n\r\n**List of activated apps:**\r\nEnabled:\r\n  - activity: 2.6.1\r\n  - admin_audit: 1.2.0\r\n  - comments: 1.2.0\r\n  - dav: 1.3.0\r\n  - encryption: 1.6.0\r\n  - federatedfilesharing: 1.3.1\r\n  - federation: 1.3.0\r\n  - files: 1.8.0\r\n  - files_external: 1.3.0\r\n  - files_pdfviewer: 1.2.0\r\n  - files_sharing: 1.4.0\r\n  - files_texteditor: 2.5.1\r\n  - files_trashbin: 1.2.0\r\n  - files_versions: 1.5.0\r\n  - files_videoplayer: 1.2.0\r\n  - firstrunwizard: 2.1\r\n  - gallery: 18.0.0\r\n  - logreader: 2.0.0\r\n  - lookup_server_connector: 1.1.0\r\n  - nextcloud_announcements: 1.1\r\n  - notifications: 2.0.0\r\n  - oauth2: 1.1.0\r\n  - password_policy: 1.3.0\r\n  - provisioning_api: 1.3.0\r\n  - serverinfo: 1.3.0\r\n  - sharebymail: 1.2.0\r\n  - survey_client: 1.1.0\r\n  - systemtags: 1.2.0\r\n  - theming: 1.3.0\r\n  - twofactor_backupcodes: 1.2.3\r\n  - unsplash: 1.0.5\r\n  - updatenotification: 1.3.0\r\n  - workflowengine: 1.2.0\r\nDisabled:\r\n  - announcementcenter\r\n  - apporder\r\n  - audioplayer\r\n  - bookmarks\r\n  - bruteforcesettings\r\n  - calendar\r\n  - checksum\r\n  - contacts\r\n  - dashboard\r\n  - deck\r\n  - files_clipboard\r\n  - files_downloadactivity\r\n  - groupfolders\r\n  - keeweb\r\n  - metadata\r\n  - notes\r\n  - quota_warning\r\n  - ransomware_protection\r\n  - spreed\r\n  - tasks\r\n  - twofactor_totp\r\n  - user_external\r\n  - user_ldap\r\n  - weather\r\n\r\n\r\n```\r\n{\r\n    \"system\": {\r\n        \"instanceid\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"passwordsalt\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"secret\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"trusted_domains\": [\r\n            \"cloud.maisonlemaire.ovh\"\r\n        ],\r\n        \"datadirectory\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"overwrite.cli.url\": \"https:\\/\\/cloud.maisonlemaire.ovh\",\r\n        \"dbtype\": \"mysql\",\r\n        \"version\": \"12.0.4.3\",\r\n        \"dbname\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"dbhost\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"dbport\": \"\",\r\n        \"dbtableprefix\": \"oc_\",\r\n        \"dbuser\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"dbpassword\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"installed\": true,\r\n        \"mail_smtpmode\": \"smtp\",\r\n        \"mail_smtpauthtype\": \"LOGIN\",\r\n        \"mail_from_address\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"mail_domain\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"mail_smtphost\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"mail_smtpport\": \"25\",\r\n        \"memcache.local\": \"\\\\OC\\\\Memcache\\\\APCu\",\r\n        \"maintenance\": true,\r\n        \"theme\": \"\",\r\n        \"loglevel\": 0,\r\n        \"updater.secret\": \"***REMOVED SENSITIVE VALUE***\"\r\n    }\r\n}\r\n\r\n```\r\n</details>\r\n\r\n**Are you using encryption:** no\r\n\r\nThanks for anyone help\r\nAnd thanks nextcloud for nextcloud :-)\r\n"},"comment":{"url":"https://api.github.com/repos/nextcloud/server/issues/comments/369894317","html_url":"https://github.com/nextcloud/server/issues/8212#issuecomment-369894317","issue_url":"https://api.github.com/repos/nextcloud/server/issues/8212","id":369894317,"user":{"login":"lancepatate","id":36986772,"avatar_url":"https://avatars0.githubusercontent.com/u/36986772?v=4","gravatar_id":"","url":"https://api.github.com/users/lancepatate","html_url":"https://github.com/lancepatate","followers_url":"https://api.github.com/users/lancepatate/followers","following_url":"https://api.github.com/users/lancepatate/following{/other_user}","gists_url":"https://api.github.com/users/lancepatate/gists{/gist_id}","starred_url":"https://api.github.com/users/lancepatate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lancepatate/subscriptions","organizations_url":"https://api.github.com/users/lancepatate/orgs","repos_url":"https://api.github.com/users/lancepatate/repos","events_url":"https://api.github.com/users/lancepatate/events{/privacy}","received_events_url":"https://api.github.com/users/lancepatate/received_events","type":"User","site_admin":false},"created_at":"2018-03-02T11:14:11Z","updated_at":"2018-03-02T11:14:11Z","author_association":"NONE","body":"SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES"}}
{"actor":{"display_login":"lancepatate"}}