wbernest / mattermost-plugin-rssfeed

Mattermost RSSFeed plugin. Allows users to subscribe to an rss feed and allow for updates to the feed to be posted in a channel.
Apache License 2.0
69 stars 40 forks source link

Some errors from console #12

Open uhlhosting opened 5 years ago

uhlhosting commented 5 years ago

I have initially left no name, and a default one is used, yet it fills the console like this:

And now I tried on latest lines of log, to add it to an exiting account.

Any idea how this could be maybe improved?

2019-05-18T03:49:37.176+0200    error   mlog/sugar.go:23    SqlUserStore.GetByUsername: Unable to find an existing account matching your username for this team. This team may require an invite from the team owner to join., sql: no rows in result set -- SELECT u.*, b.UserId IS NOT NULL AS IsBot FROM Users u LEFT JOIN Bots b ON ( b.UserId = u.Id ) WHERE u.Username = ?    {"plugin_id": "rssfeed"}
2019-05-18T03:49:37.179+0200    error   mlog/sugar.go:23    SqlUserStore.GetByUsername: Unable to find an existing account matching your username for this team. This team may require an invite from the team owner to join., sql: no rows in result set -- SELECT u.*, b.UserId IS NOT NULL AS IsBot FROM Users u LEFT JOIN Bots b ON ( b.UserId = u.Id ) WHERE u.Username = ?    {"plugin_id": "rssfeed"}
2019-05-18T03:49:37.182+0200    error   mlog/sugar.go:23    SqlUserStore.GetByUsername: Unable to find an existing account matching your username for this team. This team may require an invite from the team owner to join., sql: no rows in result set -- SELECT u.*, b.UserId IS NOT NULL AS IsBot FROM Users u LEFT JOIN Bots b ON ( b.UserId = u.Id ) WHERE u.Username = ?    {"plugin_id": "rssfeed"}
2019-05-18T03:49:37.188+0200    error   mlog/sugar.go:23    SqlUserStore.GetByUsername: Unable to find an existing account matching your username for this team. This team may require an invite from the team owner to join., sql: no rows in result set -- SELECT u.*, b.UserId IS NOT NULL AS IsBot FROM Users u LEFT JOIN Bots b ON ( b.UserId = u.Id ) WHERE u.Username = ?    {"plugin_id": "rssfeed"}
2019-05-18T03:49:37.191+0200    error   mlog/sugar.go:23    SqlUserStore.GetByUsername: Unable to find an existing account matching your username for this team. This team may require an invite from the team owner to join., sql: no rows in result set -- SELECT u.*, b.UserId IS NOT NULL AS IsBot FROM Users u LEFT JOIN Bots b ON ( b.UserId = u.Id ) WHERE u.Username = ?    {"plugin_id": "rssfeed"}
2019-05-18T03:49:37.194+0200    error   mlog/sugar.go:23    SqlUserStore.GetByUsername: Unable to find an existing account matching your username for this team. This team may require an invite from the team owner to join., sql: no rows in result set -- SELECT u.*, b.UserId IS NOT NULL AS IsBot FROM Users u LEFT JOIN Bots b ON ( b.UserId = u.Id ) WHERE u.Username = ?    {"plugin_id": "rssfeed"}
2019-05-18T03:49:37.200+0200    error   mlog/sugar.go:23    SqlUserStore.GetByUsername: Unable to find an existing account matching your username for this team. This team may require an invite from the team owner to join., sql: no rows in result set -- SELECT u.*, b.UserId IS NOT NULL AS IsBot FROM Users u LEFT JOIN Bots b ON ( b.UserId = u.Id ) WHERE u.Username = ?    {"plugin_id": "rssfeed"}
2019-05-18T03:49:37.204+0200    error   mlog/sugar.go:23    SqlUserStore.GetByUsername: Unable to find an existing account matching your username for this team. This team may require an invite from the team owner to join., sql: no rows in result set -- SELECT u.*, b.UserId IS NOT NULL AS IsBot FROM Users u LEFT JOIN Bots b ON ( b.UserId = u.Id ) WHERE u.Username = ?    {"plugin_id": "rssfeed"}
2019-05-18T03:49:37.209+0200    error   mlog/sugar.go:23    SqlUserStore.GetByUsername: Unable to find an existing account matching your username for this team. This team may require an invite from the team owner to join., sql: no rows in result set -- SELECT u.*, b.UserId IS NOT NULL AS IsBot FROM Users u LEFT JOIN Bots b ON ( b.UserId = u.Id ) WHERE u.Username = ?    {"plugin_id": "rssfeed"}
2019-05-18T03:49:37.213+0200    error   mlog/sugar.go:23    SqlUserStore.GetByUsername: Unable to find an existing account matching your username for this team. This team may require an invite from the team owner to join., sql: no rows in result set -- SELECT u.*, b.UserId IS NOT NULL AS IsBot FROM Users u LEFT JOIN Bots b ON ( b.UserId = u.Id ) WHERE u.Username = ?    {"plugin_id": "rssfeed"}
2019-05-18T03:49:37.216+0200    error   mlog/sugar.go:23    SqlUserStore.GetByUsername: Unable to find an existing account matching your username for this team. This team may require an invite from the team owner to join., sql: no rows in result set -- SELECT u.*, b.UserId IS NOT NULL AS IsBot FROM Users u LEFT JOIN Bots b ON ( b.UserId = u.Id ) WHERE u.Username = ?    {"plugin_id": "rssfeed"}
2019-05-18T03:49:37.219+0200    error   mlog/sugar.go:23    SqlUserStore.GetByUsername: Unable to find an existing account matching your username for this team. This team may require an invite from the team owner to join., sql: no rows in result set -- SELECT u.*, b.UserId IS NOT NULL AS IsBot FROM Users u LEFT JOIN Bots b ON ( b.UserId = u.Id ) WHERE u.Username = ?    {"plugin_id": "rssfeed"}
2019-05-18T03:49:37.222+0200    error   mlog/sugar.go:23    SqlUserStore.GetByUsername: Unable to find an existing account matching your username for this team. This team may require an invite from the team owner to join., sql: no rows in result set -- SELECT u.*, b.UserId IS NOT NULL AS IsBot FROM Users u LEFT JOIN Bots b ON ( b.UserId = u.Id ) WHERE u.Username = ?    {"plugin_id": "rssfeed"}
2019-05-18T03:49:37.226+0200    error   mlog/sugar.go:23    SqlUserStore.GetByUsername: Unable to find an existing account matching your username for this team. This team may require an invite from the team owner to join., sql: no rows in result set -- SELECT u.*, b.UserId IS NOT NULL AS IsBot FROM Users u LEFT JOIN Bots b ON ( b.UserId = u.Id ) WHERE u.Username = ?    {"plugin_id": "rssfeed"}
2019-05-18T03:49:37.233+0200    error   mlog/sugar.go:23    SqlUserStore.GetByUsername: Unable to find an existing account matching your username for this team. This team may require an invite from the team owner to join., sql: no rows in result set -- SELECT u.*, b.UserId IS NOT NULL AS IsBot FROM Users u LEFT JOIN Bots b ON ( b.UserId = u.Id ) WHERE u.Username = ?    {"plugin_id": "rssfeed"}
2019-05-18T03:49:37.237+0200    error   mlog/sugar.go:23    SqlUserStore.GetByUsername: Unable to find an existing account matching your username for this team. This team may require an invite from the team owner to join., sql: no rows in result set -- SELECT u.*, b.UserId IS NOT NULL AS IsBot FROM Users u LEFT JOIN Bots b ON ( b.UserId = u.Id ) WHERE u.Username = ?    {"plugin_id": "rssfeed"}
2019-05-18T03:49:37.241+0200    error   mlog/sugar.go:23    SqlUserStore.GetByUsername: Unable to find an existing account matching your username for this team. This team may require an invite from the team owner to join., sql: no rows in result set -- SELECT u.*, b.UserId IS NOT NULL AS IsBot FROM Users u LEFT JOIN Bots b ON ( b.UserId = u.Id ) WHERE u.Username = ?    {"plugin_id": "rssfeed"}
2019-05-18T03:49:37.245+0200    error   mlog/sugar.go:23    SqlUserStore.GetByUsername: Unable to find an existing account matching your username for this team. This team may require an invite from the team owner to join., sql: no rows in result set -- SELECT u.*, b.UserId IS NOT NULL AS IsBot FROM Users u LEFT JOIN Bots b ON ( b.UserId = u.Id ) WHERE u.Username = ?    {"plugin_id": "rssfeed"}
2019-05-18T03:49:37.248+0200    error   mlog/sugar.go:23    SqlUserStore.GetByUsername: Unable to find an existing account matching your username for this team. This team may require an invite from the team owner to join., sql: no rows in result set -- SELECT u.*, b.UserId IS NOT NULL AS IsBot FROM Users u LEFT JOIN Bots b ON ( b.UserId = u.Id ) WHERE u.Username = ?    {"plugin_id": "rssfeed"}
2019-05-18T03:49:37.251+0200    error   mlog/sugar.go:23    SqlUserStore.GetByUsername: Unable to find an existing account matching your username for this team. This team may require an invite from the team owner to join., sql: no rows in result set -- SELECT u.*, b.UserId IS NOT NULL AS IsBot FROM Users u LEFT JOIN Bots b ON ( b.UserId = u.Id ) WHERE u.Username = ?    {"plugin_id": "rssfeed"}
2019-05-18T03:49:37.254+0200    error   mlog/sugar.go:23    SqlUserStore.GetByUsername: Unable to find an existing account matching your username for this team. This team may require an invite from the team owner to join., sql: no rows in result set -- SELECT u.*, b.UserId IS NOT NULL AS IsBot FROM Users u LEFT JOIN Bots b ON ( b.UserId = u.Id ) WHERE u.Username = ?    {"plugin_id": "rssfeed"}
2019-05-18T03:49:37.257+0200    error   mlog/sugar.go:23    SqlUserStore.GetByUsername: Unable to find an existing account matching your username for this team. This team may require an invite from the team owner to join., sql: no rows in result set -- SELECT u.*, b.UserId IS NOT NULL AS IsBot FROM Users u LEFT JOIN Bots b ON ( b.UserId = u.Id ) WHERE u.Username = ?    {"plugin_id": "rssfeed"}
2019-05-18T04:34:50.784+0200    error   mlog/sugar.go:23    SqlUserStore.GetByUsername: Unable to find an existing account matching your username for this team. This team may require an invite from the team owner to join., sql: no rows in result set -- SELECT u.*, b.UserId IS NOT NULL AS IsBot FROM Users u LEFT JOIN Bots b ON ( b.UserId = u.Id ) WHERE u.Username = ?    {"plugin_id": "rssfeed"}
2019-05-18T06:59:12.490+0200    error   log/log.go:296  forbidden content-type: "text/html" {"source": "stdlog"}
wbernest commented 5 years ago

Make sure you have a valid user selected in the setting screen.

uhlhosting commented 5 years ago

Make sure you have a valid user selected in the setting screen.

What means a valid user? I picked a user I have created especially for this.

wbernest commented 5 years ago

Have you tried disabling the plugin then re-enabling it? If that does not work you may want to try stopping the mattermost service and restarting it.

levb commented 4 years ago

It looks like maybe this was affected by incompatibilities related to creating a Bot account. Perhaps try re-building with the latest mattermost-server?