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
  • 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 | Demo | Docs | Install
  1. Cloudron Forum
  2. Mattermost
  3. Packaging the enterprise version of Mattermost

Packaging the enterprise version of Mattermost

Scheduled Pinned Locked Moved Mattermost
49 Posts 4 Posters 7.1k Views 6 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.
  • Sam_ukS Offline
    Sam_ukS Offline
    Sam_uk
    wrote on last edited by Sam_uk
    #1

    I ordered the Non-Profit enterprise version of Mattermost.

    I now see in this thread that the Enterprise/Free versions would require separate packages?

    We get this error: Mattermost was unable to upgrade to Enterprise Edition. The Mattermost system user cloudron does not have write access to the necessary binary file.

    Would you consider packaging the Enterprise version in addition to the free version? Or is there a workaround we can apply to the existing package @staff

    girishG 1 Reply Last reply
    2
    • Sam_ukS Sam_uk

      I ordered the Non-Profit enterprise version of Mattermost.

      I now see in this thread that the Enterprise/Free versions would require separate packages?

      We get this error: Mattermost was unable to upgrade to Enterprise Edition. The Mattermost system user cloudron does not have write access to the necessary binary file.

      Would you consider packaging the Enterprise version in addition to the free version? Or is there a workaround we can apply to the existing package @staff

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @Sam_uk It looks like both community and enterprise are the same binary but upgrading requires write permissions on the binary.

      This is quite bizzare. It's also documented as such here - https://docs.mattermost.com/install/enterprise-install-upgrade.html . Why does it want to write to the binary!?

      1 Reply Last reply
      1
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #3

        I was mistaken. Community and Enterprise are different binaries.

        • Team edition: https://releases.mattermost.com/X.X.X/mattermost-team-X.X.X-linux-amd64.tar.gz
        • wget https://releases.mattermost.com/X.X.X/mattermost-X.X.X-linux-amd64.tar.gz

        If you want to upgrade, it will overwrite binary. This is not something we can support. But maybe we can make a new package.

        1 Reply Last reply
        1
        • Sam_ukS Offline
          Sam_ukS Offline
          Sam_uk
          wrote on last edited by
          #4

          How annoying. Could you have a look into packaging the Enterprise version for us to see what would be involved?

          Sam_ukS 1 Reply Last reply
          1
          • Sam_ukS Sam_uk

            How annoying. Could you have a look into packaging the Enterprise version for us to see what would be involved?

            Sam_ukS Offline
            Sam_ukS Offline
            Sam_uk
            wrote on last edited by
            #5

            @Sam_uk Mattermost say:

            "Shut down your instance and replace the mattermost-team-edition image in the dockerfile with mattermost-enterprise-edition image"

            *Restart your instance

            I don't think they've grasped that Cloudron is slightly more complex wrapper than a simple dockerfile, but it does suggest it should be a fairly straightforward job to fork the Cloudron package?

            girishG 1 Reply Last reply
            0
            • Sam_ukS Sam_uk

              @Sam_uk Mattermost say:

              "Shut down your instance and replace the mattermost-team-edition image in the dockerfile with mattermost-enterprise-edition image"

              *Restart your instance

              I don't think they've grasped that Cloudron is slightly more complex wrapper than a simple dockerfile, but it does suggest it should be a fairly straightforward job to fork the Cloudron package?

              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #6

              @Sam_uk Yes, correct. The best way forward is to fork https://git.cloudron.io/cloudron/mattermost-app . Then, replace the line in https://git.cloudron.io/cloudron/mattermost-app/-/blob/master/Dockerfile#L11 with the enterprise binary link.

              I don't think we are able to create a new package immediately. This requires some testing to know things work and we don't have a license.

              But if you are able to do it fork and build and confirm things work, we can look into publishing this.

              Sam_ukS 1 Reply Last reply
              2
              • girishG girish

                @Sam_uk Yes, correct. The best way forward is to fork https://git.cloudron.io/cloudron/mattermost-app . Then, replace the line in https://git.cloudron.io/cloudron/mattermost-app/-/blob/master/Dockerfile#L11 with the enterprise binary link.

                I don't think we are able to create a new package immediately. This requires some testing to know things work and we don't have a license.

                But if you are able to do it fork and build and confirm things work, we can look into publishing this.

                Sam_ukS Offline
                Sam_ukS Offline
                Sam_uk
                wrote on last edited by Sam_uk
                #7

                @girish We get this unspecified error when we try to fork?
                error.png

                girishG 1 Reply Last reply
                0
                • Sam_ukS Sam_uk

                  @girish We get this unspecified error when we try to fork?
                  error.png

                  girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #8

                  @Sam_uk oh forks are limited by default because of spam. What is your id on gitlab?

                  Sam_ukS 1 Reply Last reply
                  0
                  • girishG girish

                    @Sam_uk oh forks are limited by default because of spam. What is your id on gitlab?

                    Sam_ukS Offline
                    Sam_ukS Offline
                    Sam_uk
                    wrote on last edited by
                    #9

                    @girish could you give access to

                    https://gitlab.com/samuk1 please

                    girishG 1 Reply Last reply
                    0
                    • Sam_ukS Sam_uk

                      @girish could you give access to

                      https://gitlab.com/samuk1 please

                      girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #10

                      @Sam_uk that's the gitlab.com account. I need your account in git.cloudron.io

                      Sam_ukS 1 Reply Last reply
                      0
                      • girishG girish

                        @Sam_uk that's the gitlab.com account. I need your account in git.cloudron.io

                        Sam_ukS Offline
                        Sam_ukS Offline
                        Sam_uk
                        wrote on last edited by
                        #11

                        @girish Could you give access to https://git.cloudron.io/lesteak please

                        girishG 1 Reply Last reply
                        0
                        • Sam_ukS Sam_uk

                          @girish Could you give access to https://git.cloudron.io/lesteak please

                          girishG Offline
                          girishG Offline
                          girish
                          Staff
                          wrote on last edited by
                          #12

                          @Sam_uk you should be good to go!

                          Sam_ukS 1 Reply Last reply
                          1
                          • girishG girish

                            @Sam_uk you should be good to go!

                            Sam_ukS Offline
                            Sam_ukS Offline
                            Sam_uk
                            wrote on last edited by
                            #13

                            Thanks @girish Once we have it working and somewhat tested what would be the next steps? I can give you access to our Cloudron instance for some further testing?

                            girishG 1 Reply Last reply
                            2
                            • Sam_ukS Sam_uk

                              Thanks @girish Once we have it working and somewhat tested what would be the next steps? I can give you access to our Cloudron instance for some further testing?

                              girishG Offline
                              girishG Offline
                              girish
                              Staff
                              wrote on last edited by
                              #14

                              @Sam_uk sounds good!

                              Sam_ukS 1 Reply Last reply
                              0
                              • girishG girish

                                @Sam_uk sounds good!

                                Sam_ukS Offline
                                Sam_ukS Offline
                                Sam_uk
                                wrote on last edited by
                                #15
                                This post is deleted!
                                Sam_ukS 1 Reply Last reply
                                1
                                • Sam_ukS Sam_uk

                                  This post is deleted!

                                  Sam_ukS Offline
                                  Sam_ukS Offline
                                  Sam_uk
                                  wrote on last edited by Sam_uk
                                  #16

                                  @Sam_uk OK this seems to build and accept my licence. I've sent a user invite to support@cloudron.io so you could have a poke at it and see if you're happy to add to the appstore.

                                  girishG 1 Reply Last reply
                                  1
                                  • Sam_ukS Sam_uk

                                    @Sam_uk OK this seems to build and accept my licence. I've sent a user invite to support@cloudron.io so you could have a poke at it and see if you're happy to add to the appstore.

                                    girishG Offline
                                    girishG Offline
                                    girish
                                    Staff
                                    wrote on last edited by
                                    #17

                                    @Sam_uk https://git.cloudron.io/lesteak/mattermost-enterprise/ is the repo correct?

                                    Sam_ukS 1 Reply Last reply
                                    1
                                    • girishG girish

                                      @Sam_uk https://git.cloudron.io/lesteak/mattermost-enterprise/ is the repo correct?

                                      Sam_ukS Offline
                                      Sam_ukS Offline
                                      Sam_uk
                                      wrote on last edited by
                                      #18

                                      @girish Yes that's correct

                                      girishG 1 Reply Last reply
                                      1
                                      • Sam_ukS Sam_uk

                                        @girish Yes that's correct

                                        girishG Offline
                                        girishG Offline
                                        girish
                                        Staff
                                        wrote on last edited by
                                        #19

                                        @Sam_uk Will take us a bit to get to it (after 7.4 probably), but I think you can continue running your custom build since they only release once a month or so. We will get to this at some point.

                                        Sam_ukS 1 Reply Last reply
                                        2
                                        • girishG girish

                                          @Sam_uk Will take us a bit to get to it (after 7.4 probably), but I think you can continue running your custom build since they only release once a month or so. We will get to this at some point.

                                          Sam_ukS Offline
                                          Sam_ukS Offline
                                          Sam_uk
                                          wrote on last edited by Sam_uk
                                          #20

                                          @girish Great. You wouldn't anticipate any security implications from the change of binary?

                                          girishG 1 Reply Last reply
                                          1
                                          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