Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Mattermost
  3. Last Update (6.3.0) broke Boards

Last Update (6.3.0) broke Boards

Scheduled Pinned Locked Moved Solved Mattermost
11 Posts 5 Posters 3.8k Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M mtd-sales

    Hey there,

    does anybody else experience the same?
    We were using Mattermost Boards (introduced in V6) and they disappeared after the last update to 6.3.0.

    I can still find the setting and tried disabling and enabling (hoping that would set a flag in DB). Unfortunately, it did not help.

    I guess it would make sense to add boards to the tests too.

    Best

    Eugene

    ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #2

    @mtd-sales same issue here

    1 Reply Last reply
    0
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #3

      Indeed the Boards feature is not tested currently with out update tests. Is there already an upstream bug report for that or does it seem like a packaging bug? I have never used Boards in Mattermost, so have to try it out first to understand what it is.

      ? 1 Reply Last reply
      0
      • nebulonN nebulon

        Indeed the Boards feature is not tested currently with out update tests. Is there already an upstream bug report for that or does it seem like a packaging bug? I have never used Boards in Mattermost, so have to try it out first to understand what it is.

        ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #4

        @nebulon so I couldn’t find any upstream bugs reported but here is some info on what it is and how it is accessed:

        https://docs.mattermost.com/guides/boards.html
        https://docs.mattermost.com/boards/accessing-boards.html

        1 Reply Last reply
        0
        • nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote on last edited by
          #5

          Ok looks like I found the issue there. By default "Plugin Mangement" is disabled in the System Console. Once "Enable Plugins" is set to true, the Boards feature is available in the top-left menu.

          ? 1 Reply Last reply
          0
          • nebulonN nebulon

            Ok looks like I found the issue there. By default "Plugin Mangement" is disabled in the System Console. Once "Enable Plugins" is set to true, the Boards feature is available in the top-left menu.

            ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #6

            @nebulon ahhh makes sense. Thanks!

            1 Reply Last reply
            0
            • M Offline
              M Offline
              mtd-sales
              wrote on last edited by
              #7

              Thank you, guys.
              Unfortunately, it didn't fix it for me, since plugins were already enabled.

              Then I found this in my logs:

              Jan 18 11:25:23 {"timestamp":"2022-01-18 10:25:23.926 Z","level":"error","msg":"Not activating plugin because diagnostics are disabled","caller":"app/plugin_api.go:928","plugin_id":"com.mattermost.nps"}

              So I enabled diagnostics. However this was the result (not sure if its related to this update):

              Jan 18 11:28:35 {"timestamp":"2022-01-18 10:28:35.229 Z","level":"error","msg":"Unable to activate plugin","caller":"app/plugin.go:142","plugin_id":"focalboard","error":"error initializing the DB: Dirty database version 15. Fix and force version."}

              M 1 Reply Last reply
              1
              • M mtd-sales

                Thank you, guys.
                Unfortunately, it didn't fix it for me, since plugins were already enabled.

                Then I found this in my logs:

                Jan 18 11:25:23 {"timestamp":"2022-01-18 10:25:23.926 Z","level":"error","msg":"Not activating plugin because diagnostics are disabled","caller":"app/plugin_api.go:928","plugin_id":"com.mattermost.nps"}

                So I enabled diagnostics. However this was the result (not sure if its related to this update):

                Jan 18 11:28:35 {"timestamp":"2022-01-18 10:28:35.229 Z","level":"error","msg":"Unable to activate plugin","caller":"app/plugin.go:142","plugin_id":"focalboard","error":"error initializing the DB: Dirty database version 15. Fix and force version."}

                M Offline
                M Offline
                mtd-sales
                wrote on last edited by
                #8

                I was able to fix it by changing the following values in table focalboard_schema_migrations

                • version 15 -> 11 (I figured that's the current version)
                • dirty 1 -> 0
                A 1 Reply Last reply
                2
                • M mtd-sales

                  I was able to fix it by changing the following values in table focalboard_schema_migrations

                  • version 15 -> 11 (I figured that's the current version)
                  • dirty 1 -> 0
                  A Offline
                  A Offline
                  ashughes
                  wrote on last edited by
                  #9

                  @mtd-sales said in Last Update (6.3.0) broke Boards:

                  focalboard_schema_migrations

                  Was having the same issue and this seemed to work. TLDR; Seems like I only had to update dirty.

                  Before Mattermost update:

                  select * from focalboard_schema_migrations;
                  
                  +---------+-------+
                  | version | dirty |
                  +---------+-------+
                  |      14 |     0 |
                  +---------+-------+
                  

                  After Mattermost update:

                  select * from focalboard_schema_migrations;
                  
                  +---------+-------+
                  | version | dirty |
                  +---------+-------+
                  |      15 |     1 |
                  +---------+-------+
                  

                  Then I ran the following:

                  update focal_schema_migrations set dirty=1 where dirty=0;
                  commit; 
                  

                  Then I rebooted the Mattermost instance and checked the table again:

                  select * from focalboard_schema_migrations;
                  
                  +---------+-------+
                  | version | dirty |
                  +---------+-------+
                  |      16 |     0 |
                  +---------+-------+
                  

                  Finally, I restarted Mattermost Desktop and checked that I could load Boards again, and it all works great.

                  M 1 Reply Last reply
                  2
                  • robiR Offline
                    robiR Offline
                    robi
                    wrote on last edited by
                    #10

                    Does this mean there will be a Cloudron Mattermost App update pushed @nebulon ?

                    Conscious tech

                    1 Reply Last reply
                    0
                    • A ashughes

                      @mtd-sales said in Last Update (6.3.0) broke Boards:

                      focalboard_schema_migrations

                      Was having the same issue and this seemed to work. TLDR; Seems like I only had to update dirty.

                      Before Mattermost update:

                      select * from focalboard_schema_migrations;
                      
                      +---------+-------+
                      | version | dirty |
                      +---------+-------+
                      |      14 |     0 |
                      +---------+-------+
                      

                      After Mattermost update:

                      select * from focalboard_schema_migrations;
                      
                      +---------+-------+
                      | version | dirty |
                      +---------+-------+
                      |      15 |     1 |
                      +---------+-------+
                      

                      Then I ran the following:

                      update focal_schema_migrations set dirty=1 where dirty=0;
                      commit; 
                      

                      Then I rebooted the Mattermost instance and checked the table again:

                      select * from focalboard_schema_migrations;
                      
                      +---------+-------+
                      | version | dirty |
                      +---------+-------+
                      |      16 |     0 |
                      +---------+-------+
                      

                      Finally, I restarted Mattermost Desktop and checked that I could load Boards again, and it all works great.

                      M Offline
                      M Offline
                      mtd-sales
                      wrote on last edited by
                      #11

                      @ashughes Perfect, that's correct.

                      Here is the answer:
                      https://github.com/mattermost/focalboard/issues/2119#issuecomment-1013751739

                      @robi It's not an issue with cloudron. So I guess as soon as there is a fix by Mattermost it will also land here.
                      The only action step from @nebulon and cloudron would be to add some tests for boards in future releases.

                      1 Reply Last reply
                      1

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better đź’—

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Bookmarks
                      • Search