mattermost-plugin-rssfeed icon indicating copy to clipboard operation
mattermost-plugin-rssfeed copied to clipboard

Generates error message every time the mattermost binary is run (commands and startup)

Open einarjh opened this issue 4 years ago • 1 comments

Every time the server starts, or when a mattermost command is entered from the terminal, this plugin seems to try to register itself, and throws an error since it already exists:

chat:/opt/mattermost# bin/mattermost version
{"level":"error","ts":1616506555.2623608,"caller":"mlog/sugar.go:25","msg":"Failed to create RSSFeed Plugin. Attempting to find existing one.","plugin_id":"rssfeed","err":"CreateBot: An account with that username already exists., invalid input: entity: User field: username value: rssfeedbot"}
Version: 5.32.1
Build Number: 5.32.1
Build Date: Wed Feb 17 15:05:15 UTC 2021
Build Hash: 230fa42c7e9055c011f3996663166fccbfbda02f
Build Enterprise Ready: true
DB Version: 5.32.0

The bug is present in the most recent release (0.2.5), and was present in previous versions too.

Additionally, the setup instructions in the README refers to assigning a user account to the plugin, which doesn't seem to be needed anymore?

einarjh avatar Mar 23 '21 13:03 einarjh

That log message is a bit misleading. I think it could be logged as a debug message instead, maybe something like "RSSFeed Plugin not created. Attempting to find existing one."

johanhammar avatar May 23 '21 08:05 johanhammar