{"action":"created","issue":{"url":"https://api.github.com/repos/veda-consulting/uk.co.vedaconsulting.gdpr/issues/96","repository_url":"https://api.github.com/repos/veda-consulting/uk.co.vedaconsulting.gdpr","labels_url":"https://api.github.com/repos/veda-consulting/uk.co.vedaconsulting.gdpr/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/veda-consulting/uk.co.vedaconsulting.gdpr/issues/96/comments","events_url":"https://api.github.com/repos/veda-consulting/uk.co.vedaconsulting.gdpr/issues/96/events","html_url":"https://github.com/veda-consulting/uk.co.vedaconsulting.gdpr/issues/96","id":323163148,"number":96,"title":"Can't uninstall or upgrade","user":{"login":"mikantchap","id":39186144,"avatar_url":"https://avatars2.githubusercontent.com/u/39186144?v=4","gravatar_id":"","url":"https://api.github.com/users/mikantchap","html_url":"https://github.com/mikantchap","followers_url":"https://api.github.com/users/mikantchap/followers","following_url":"https://api.github.com/users/mikantchap/following{/other_user}","gists_url":"https://api.github.com/users/mikantchap/gists{/gist_id}","starred_url":"https://api.github.com/users/mikantchap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikantchap/subscriptions","organizations_url":"https://api.github.com/users/mikantchap/orgs","repos_url":"https://api.github.com/users/mikantchap/repos","events_url":"https://api.github.com/users/mikantchap/events{/privacy}","received_events_url":"https://api.github.com/users/mikantchap/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-15T10:44:33Z","updated_at":"2018-05-15T12:14:11Z","closed_at":null,"author_association":"NONE","body":"Trying to move from 2.3 to 2.5. \r\n\r\nWe are getting this message when we try to uninstall 2.3 or try to upgrade to 2.5\r\n\r\n[Error: Upgrade uk.co.vedaconsulting.gdpr to revision 1201]\r\nAPI error: Value already exists in the database\r\n\r\nIs there a way to manually uninstall the extension so that we can start again?"},"comment":{"url":"https://api.github.com/repos/veda-consulting/uk.co.vedaconsulting.gdpr/issues/comments/389144896","html_url":"https://github.com/veda-consulting/uk.co.vedaconsulting.gdpr/issues/96#issuecomment-389144896","issue_url":"https://api.github.com/repos/veda-consulting/uk.co.vedaconsulting.gdpr/issues/96","id":389144896,"user":{"login":"mikantchap","id":39186144,"avatar_url":"https://avatars2.githubusercontent.com/u/39186144?v=4","gravatar_id":"","url":"https://api.github.com/users/mikantchap","html_url":"https://github.com/mikantchap","followers_url":"https://api.github.com/users/mikantchap/followers","following_url":"https://api.github.com/users/mikantchap/following{/other_user}","gists_url":"https://api.github.com/users/mikantchap/gists{/gist_id}","starred_url":"https://api.github.com/users/mikantchap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikantchap/subscriptions","organizations_url":"https://api.github.com/users/mikantchap/orgs","repos_url":"https://api.github.com/users/mikantchap/repos","events_url":"https://api.github.com/users/mikantchap/events{/privacy}","received_events_url":"https://api.github.com/users/mikantchap/received_events","type":"User","site_admin":false},"created_at":"2018-05-15T12:14:11Z","updated_at":"2018-05-15T12:14:11Z","author_association":"NONE","body":"Managed to install 2.5 in the end by commenting out these lines:\r\n\r\n  public function upgrade_1201() {\r\n    $this->ctx->log->info('Applying update 1.2.0.1');\r\n    //CRM_Core_ManagedEntities::singleton(TRUE)->reconcileEnabledModules();\r\n    $this->executeCustomDataFile('xml/CustomGroupData.xml');\r\n    return TRUE;\r\n  }\r\n\r\n  public function upgrade_1203() {\r\n    $this->ctx->log->info('Applying update 1.2.0.3');\r\n    // Reconcile managed entity for upgrade v2.0 -> v2.2.1\r\n    //CRM_Core_ManagedEntities::singleton(TRUE)->reconcileEnabledModules();\r\n    $this->executeCustomDataFile('xml/CustomGroupData.xml');\r\n    return TRUE;\r\n  }\r\n\r\nThese are adding a report template that already exists?\r\nI'm not confident that we have installed 2.5 fully/correctly."}}
{"actor":{"display_login":"mikantchap"}}