Fehler 500 beim Hinzufügen von Tags

Hallo,

ich habe gerade Tags hinzugefügt, und es trat ein 500-Fehler auf.

Logs:

ActiveRecord::RecordNotUnique (PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_tags_on_name" DETAIL: Key (name)=(TAGTEST) already exists. ) /var/www/discourse/vendor/bu

Failed to handle exception in exception app middleware : PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_tags_on_name" DETAIL: Key (name)=(TAGTEST) already exists.

Discourse 2.4.0.beta4

and old tags 404 Error.

Per the error it is a duplicate tag of some kind?

TAGTESTx4

Some existing tags can’t be added.

I think I found this,

I am trying to re-import the database.

CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
ERROR:  could not create unique index "index_tags_on_lower_name"
DETAIL:  Key (lower(name::text))=(棰ㄣ亴寮枫亸鍚广亜銇︺亜銈 is duplicated.
ERROR:  could not create unique index "index_tags_on_name"
DETAIL:  Key (name)=(棰ㄣ亴寮枫亸鍚广亜銇︺亜銈 is duplicated.
CREATE INDEX
CREATE INDEX
CREATE INDEX

How can I fix this.

Fix: I have reindex PostgreSQL index_tags_on_lower_name andindex_tags_on_name