How to resolve Pups exec errors during Discourse bootstrap

Is this a new installation or one that you’re moving to a new server?

So you want to look at the log file and search for “migrate” to find the migration error.

Here’s the error:

PG::DuplicateObject: ERROR:  type "hotlinked_media_status" already exists

It could be an issue with something that got migrated and then a commit got reverted. This is related, but not your solution: Restore fails with "hotlinked_media_status" already exists. Maybe this: Upgrading 2.7 to 3.1 failing: "hotlinked_media_status" already exists - #5 by merefield

Also, you should fix this, though it’s not really hurting anything:

Plugin name is 'discourse-topic-voting', but plugin directory is named 'discourse-voting'

If you do this again, please just link the file without sticking it in a tar.

1 Like