I am getting this message when updating from alpha3 to alpha5. I get this error with both drush updb and with update.php from the command line.
Update #7000
* Failed: PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '3-administer field collections' for key 'PRIMARY': UPDATE {role_permission} SET permission=:db_update_placeholder_0 WHERE (permission = :db_condition_placeholder_0) ; Array ( [:db_update_placeholder_0] => administer field collections [:db_condition_placeholder_0] => administer field-collections ) in field_collection_update_7000() (line 56 of /home/myaccount/mysite/profiles/openpublish/modules/contrib/field_collection/field_collection.install).
Comments
Comment #1
bevenson commentedGot this when I went to 7.x-1.0-beta4 as well.
Comment #2
jec006 commentedLooks like this isn't a purely Openpublish issue, but is related to: #1431502: Integrity constraint violation in update #7000 and a broader issue with entities in D7. It should be fixed in core now.