mattermost-community / focalboard

Focalboard is an open source, self-hosted alternative to Trello, Notion, and Asana.
https://www.focalboard.com
Other
21.87k stars 1.97k forks source link

Mattermost Boards is acting abnormal after update to 9.4 #4954

Open Arie6414 opened 10 months ago

Arie6414 commented 10 months ago

Summary

After updating Mattermost/mattermost-team-edition:release-7.11 to Mattermost/mattermost-team-edition:release-9.4 suddenly Mattermost Boards is acting weird. Team boards are dissapearing in one account and they are still available in an other account. And downgrading does not resolve the issue (Or I am not downgrading in the correct way)

Steps to reproduce

Mattermost/mattermost-team-edition:release-9.4 postgres:15

  1. Log:The database was created using collation version 2.31, but the operating system provides version 2.36.
  2. I solved this message, by export and build a new database with a new version.

Expected behavior

Assuming it was a DB issue: after building a new database, I expected that this issues was not happening anymore Assuming it is a Mattermost update issue: After downgrading it should be resolved.

Observed behavior (that appears unintentional)

What did you see happen? Please include relevant error messages and/or screenshots.

Scherm­afbeelding 2023-12-12 om 22 00 38

All boards started moving to the category boards and then they started to disappear

Scherm­afbeelding 2023-12-12 om 22 01 00

Suddenly Boards is not a plugin anymore, but a product

Possible fixes

I really don't know where to look. Down here is a log snippet which occurs when opening boards

Scherm­afbeelding 2023-12-12 om 22 10 51
DBG api/boards.go:83 > timestamp=2023-12-12 21:08:01.935 Z msg=GetBoards product=boards teamID=jjr8aioa57fhxyzs6ypsbzoopr boardsCount=5
DBG api/blocks.go:158 > timestamp=2023-12-12 21:08:01.935 Z msg=GetBlocks product=boards boardID=barf9s8jky7y6irqed3ffstfc4e parentID= blockType= blockID= block_count=7
DBG ws/plugin_adapter.go:371 > timestamp=2023-12-12 21:08:01.936 Z msg=Command not implemented in plugin mode product=boards command=SUBSCRIBE_TEAM webConnID=4hazupn7jf88mnic6ucdr4wdoh userID=3aqi4e9f5jgd7rdrbqbfdgbfny teamID=jjr8aioa57fhxyzs6ypsbzoopr
DBG ws/plugin_adapter.go:371 > timestamp=2023-12-12 21:08:01.938 Z msg=Command not implemented in plugin mode product=boards command=SUBSCRIBE_TEAM webConnID=4hazupn7jf88mnic6ucdr4wdoh userID=3aqi4e9f5jgd7rdrbqbfdgbfny teamID=jjr8aioa57fhxyzs6ypsbzoopr
DBG api/templates.go:88 > timestamp=2023-12-12 21:08:01.938 Z msg=GetTemplates product=boards teamID=jjr8aioa57fhxyzs6ypsbzoopr boardsCount=2
DBG app/plugin_requests.go:200 > timestamp=2023-12-12 21:08:01.938 Z msg=CSRF Check failed for request - Please migrate your plugin to either send a CSRF Header or Form Field, XMLHttpRequest is deprecated path=/plugins/boards/api/v2/teams/jjr8aioa57fhxyzs6ypsbzoopr/categories/75tx4p6thzing7j3cbznb6ikqqr/boards/barf9s8jky7y6irqed3ffstfc4e ip=172.17.0.1:56198 session_id=gm4wyd45ij8ujecehqxhpk4dgw user_id=3aqi4e9f5jgd7rdrbqbfdgbfny
DBG api/auth.go:337 > timestamp=2023-12-12 21:08:01.939 Z msg=attachSession product=boards single_user=false
ERR api/api.go:187 > timestamp=2023-12-12 21:08:01.944 Z msg=category ID specified in input does not exist for user product=boards
ERR api/api.go:204 > timestamp=2023-12-12 21:08:01.944 Z msg=API ERROR product=boards code=500 error=category ID specified in input does not exist for user api=/api/v2/teams/jjr8aioa57fhxyzs6ypsbzoopr/categories/75tx4p6thzing7j3cbznb6ikqqr/boards/barf9s8jky7y6irqed3ffstfc4e
DBG api/auth.go:337 > timestamp=2023-12-12 21:08:01.970 Z msg=attachSession product=boards single_user=false
DBG api/members.go:74 > timestamp=2023-12-12 21:08:01.975 Z msg=GetMembersForBoard product=boards boardID=barf9s8jky7y6irqed3ffstfc4e membersCount=2
DBG app/plugin_requests.go:200 > timestamp=2023-12-12 21:08:01.987 Z msg=CSRF Check failed for request - Please migrate your plugin to either send a CSRF Header or Form Field, XMLHttpRequest is deprecated path=/plugins/boards/api/v2/teams/jjr8aioa57fhxyzs6ypsbzoopr/users ip=172.17.0.1:56196 session_id=gm4wyd45ij8ujecehqxhpk4dgw user_id=3aqi4e9f5jgd7rdrbqbfdgbfny
DBG api/auth.go:337 > timestamp=2023-12-12 21:08:01.987 Z msg=attachSession product=boards single_user=false
telukir commented 9 months ago

Same issue for me also, but I don't see products, is it possible to downgrade?

christianhueserhzdr commented 8 months ago

We are having issues with randomly disappearing and re-appearing boards for some users as well since Mattermost 9.3.0, but there is no products entry for the boards plugin in Mattermost 9.3.0 yet.

christianhueserhzdr commented 8 months ago

It is not very obviously, but one particular case to let boards re-appear in the Mattermost desktop app was to open Mattermost in the browser, but there have been cases in which this did not help and some boards were absent in the desktop app and the browser.

Arie6414 commented 8 months ago

If you search for a board at the top of the screen the boards will appear as well.

Arjen

Op 16 feb 2024 om 10:52 heeft Christian Hueser @.***> het volgende geschreven:



It is not very obviously, but one particular case to let boards re-appear in the Mattermost desktop app was to open Mattermost in the browser, but there have been cases in which this did not help and some boards were absent in the desktop app and the browser.

— Reply to this email directly, view it on GitHubhttps://github.com/mattermost/focalboard/issues/4954#issuecomment-1948068153, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A65HXV6LHR77EB2NGQ5S3KDYT4T6JAVCNFSM6AAAAABASW3OQKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBYGA3DQMJVGM. You are receiving this because you authored the thread.Message ID: @.***>

bigbeka commented 8 months ago

Boards completely disappeared after upgrade from 7.8 > 9.4.2 for me too.

The issue is, since Sept 2023 and Mattermost v8.1 Focalboard became fully community supported and no update has been released. A few issues listed in this repo are questioning if the focalboard is dead now since Mattermost is not supporting it.

Unless Mattermost assigns someone(s) who will manage the community, the PRs and issues will not be fixed. 🤷‍♂️