Last night around 8:27 PM (Eastern Time 2018-04-03), a Single Cell Portal (SCP) user encountered an error when trying to access their study page due to a FireCloud outage. This happens here and there.
By around 9:05 PM, FireCloud was back up and the user could successfully load their study page. However, they then encountered an unusual error:
We were unable to sync with your workspace bucket due to an error:
E11000 duplicate key error collection: single_cell_portal_production.study_shares index: email_1_study_id_1 dup key: { : "tammelat@mskcc.org", : ObjectId('5aa460cb328cee05b00a90a2') } (11000)
I believe this might be due to a collaborator trying to login to firecloud instead of to the portal. Still this should probably be fixed.
An SCP team member looked into this, and found the issue was caused by the account "tammelat@mskcc.org" being listed twice in FireCloud permissions for the workspace (https://portal.firecloud.org/#workspaces/single-cell-portal/mouse-lung-kp-v5-p114).
Screenshot of FireCloud issue:
The SCP team has since adjusted permissions in the FireCloud workspace while troubleshooting, but the problematic FireCloud state that seems to have caused the SCP error was what is shown in the screenshot above. I can answer SCP-specific questions, and look into our logs if that would help.
What might have enabled duplicate accounts to exist in the permissions for a FireCloud workspace?
Thanks,
Eric
eweitz@broadinstitute.org