Tags are Duplicated while editing

Hi,

When we are adding one already present tag and one completely new tag while editing a post, tags are duplicated and new tags are not added.

A possible bug, Please look into it.

Screenshot 2020-03-23 at 1.16.48 PM

You might have a database corruption. Have a look at Can’t restore due to corrupt indexes (with some clues on how to deal with corrupt indexes)

1 Like

Not sure about Database corruption as i have a scheduled backup every 7 days and the backups are created with issues.

Have you tried to restore one of those backups?

Can you rebuild the tag table index?

If you search for “duplicatetag” and “‰duplicatetag%” do you get the same things?

5 Likes

@Rahul_Goswami Have you had a chance to check for duplicate tags?

If there are duplicate they also might appear multiple times on the /tags page of your site.

I’ve seen this duplicate tags issue before on a self hosted site that did have a corrupted db and I had to go in and manually delete (via rails console) the duplicated tags and retag the topics.

Yes there was a duplicate tag issue. I also had manually deleted them.

3 Likes