Duplicate key value violates unique constraint "conf_fie_pk" on Docker start up

Bug #1913232 reported by Gold
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Triaged
Medium
Unassigned

Bug Description

Mahara version: 21.04dev
OS: dockerized ubuntu:bionic
DB: Postgres (Docker image postgres:9.5)

When *restarting* a docker instance we are seeing this a lot. It appears to be related to "_cron_lock_*" columns.

mahara-db | ERROR: duplicate key value violates unique constraint "conf_fie_pk"
mahara-db | DETAIL: Key (field)=(_cron_lock_auth_saml_auth_saml_refresh_cron) already exists.
mahara-db | STATEMENT: INSERT INTO "config" ("field", "value") VALUES ( $1, $2)
mahara-db | ERROR: duplicate key value violates unique constraint "conf_fie_pk"
mahara-db | DETAIL: Key (field)=(_cron_lock_auth_saml_auth_saml_refresh_cron) already exists.
mahara-db | STATEMENT: INSERT INTO "config" ("field", "value") VALUES ( $1, $2)

Tags: docker
Changed in mahara:
status: New → Triaged
importance: Undecided → Medium
tags: added: docker
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.