Skip to content

Fix initial DB import #1220

Closed
Closed

Description

@vidiecan

Seems bitstream registry has duplicate short description key Unknown

 2026-02-24 09:17:03.382 CET [82] ERROR:  duplicate key value violates unique constraint "bitstreamformatregistry_short_description_key"
Tue, 24 Feb 2026 08:17:43 GMT
dspacedb5  | 2026-02-24 09:17:03.382 CET [82] DETAIL:  Key (short_description)=(Unknown) already exists.
Tue, 24 Feb 2026 08:17:43 GMT
dspacedb5  | 2026-02-24 09:17:03.382 CET [82] STATEMENT:  update public.bitstreamformatregistry set description=$1, internal=$2, mimetype=$3, short_description=$4, support_level=$5 where bitstream_format_id=$6
Tue, 24 Feb 2026 08:17:43 GMT
dspace5    | Caused by: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "bitstreamformatregistry_short_description_key"
Tue, 24 Feb 2026 08:17:43 GMT
dspace5    |   Detail: Key (short_description)=(Unknown) already exists.
Tue, 24 Feb 2026 08:17:43 GMT
dspace5    | 	at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2734)
Tue, 24 Feb 2026 08:17:43 GMT
dspace5    | 	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2421)
Tue, 24 Feb 2026 08:17:43 GMT
dspace5    | 	... 52 more
Tue, 24 Feb 2026 08:17:43 GMT
dspace5    | Using CATALINA_BASE:   /usr/local/tomcat

Activity

  1. added theissue type on Feb 24, 2026
  2. vidiecan commented on Feb 24, 2026

    @vidiecan
    Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions