Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
einarjh opened this issue Mar 23, 2021 · 1 comment

Comments

@einarjh
Copy link

einarjh commented Mar 23, 2021

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?

@johanhammar
Copy link
Contributor

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 added a commit to johanhammar/mattermost-plugin-rssfeed that referenced this issue May 23, 2021
wbernest pushed a commit that referenced this issue Jan 17, 2022
Update log message when creating bot (#47)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants