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. Docmost
  3. Cannot activate Enterprise license

Cannot activate Enterprise license

Scheduled Pinned Locked Moved Docmost
10 Posts 3 Posters 137 Views 3 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.
  • T Offline
    T Offline
    Teiluj
    wrote last edited by
    #1

    Hi there,
    I'm trying to import/activate an enterprise license for Docmost and upon saving, I am getting the following error:

    Cannot POST /api/license/activate

    0f6a31a3-5a50-4b44-97bc-e2bc9b24a405-image.jpeg

    Looking up trying to find if this was an upstream issue, I found this:
    https://github.com/docmost/docmost/issues/1856

    Could this have to do with Cloudron's way of building the app package?
    If so, how to we get around this?

    Many thanks,

    1 Reply Last reply
    0
    • jamesJ Online
      jamesJ Online
      james
      Staff
      wrote last edited by
      #2

      Hello @teiluj
      Do you see any erros in the web log viewer or the browser console / network inspector?

      1 Reply Last reply
      1
      • T Offline
        T Offline
        Teiluj
        wrote last edited by
        #3

        Hi @james
        Thanks for the quick reply.

        I do see error in the inspector - namely this one:

        /api/license/activate:1  Failed to load resource: the server responded with a status of 404 ()
        

        attempting to browse https://mydocmostaddress.mycloudron.io/api/license/activate also resolve in 404

        9f813786-ea78-4e05-8938-bb3f835b8735-image.jpeg

        This is the same behavior across 3 different browsers and devices.

        1 Reply Last reply
        1
        • T Offline
          T Offline
          Teiluj
          wrote last edited by
          #4

          Just a quick complement if this helps: One can get a 60 days Docmost Entreprise Trial license by registering on https://customers.docmost.com/register

          1 Reply Last reply
          1
          • T Offline
            T Offline
            Teiluj
            wrote last edited by
            #5

            Not wanting to push this (but kinda at the same time 🙂 )
            Is this a "me" issue or something to do with the packaging of the app?

            1 Reply Last reply
            0
            • jamesJ Online
              jamesJ Online
              james
              Staff
              wrote last edited by
              #6

              Hello @teiluj
              Sorry for the delay. I did not get to your issue yet.

              1 Reply Last reply
              1
              • jamesJ Online
                jamesJ Online
                james
                Staff
                wrote last edited by
                #7

                Hello @teiluj

                We build Docmost from the GitHub source tarball, but the EE features (including /api/license/activate) live in a private git submodule (docmost/ee) that isn't in the tarball. The official docmost/docmost Docker image contains the pre-compiled EE code (verified: /app/apps/server/dist/ee/licence/license.controller.js exists there). Fix would be to repackage the official image on top of cloudron/base instead of building from source.

                We had various cases where other apps shut down the paid version access without notice, leaving us with no way to push updates.
                One example would be the recent change to @cal.com https://forum.cloudron.io/topic/15399/cal.com-closing-source
                If they don't release the enterprise part for us to build a package from and dealing with those docker images has often led to more problems, see https://forum.cloudron.io/post/123514

                So we got very hesitant to switch Cloudron apps like that.
                Just for us to know, do you just want to try the enterprise version or do you plan to fully use it?

                T P 2 Replies Last reply
                1
                • jamesJ james

                  Hello @teiluj

                  We build Docmost from the GitHub source tarball, but the EE features (including /api/license/activate) live in a private git submodule (docmost/ee) that isn't in the tarball. The official docmost/docmost Docker image contains the pre-compiled EE code (verified: /app/apps/server/dist/ee/licence/license.controller.js exists there). Fix would be to repackage the official image on top of cloudron/base instead of building from source.

                  We had various cases where other apps shut down the paid version access without notice, leaving us with no way to push updates.
                  One example would be the recent change to @cal.com https://forum.cloudron.io/topic/15399/cal.com-closing-source
                  If they don't release the enterprise part for us to build a package from and dealing with those docker images has often led to more problems, see https://forum.cloudron.io/post/123514

                  So we got very hesitant to switch Cloudron apps like that.
                  Just for us to know, do you just want to try the enterprise version or do you plan to fully use it?

                  T Offline
                  T Offline
                  Teiluj
                  wrote last edited by
                  #8

                  @james Thanks for looking into this - this is what I feared.

                  As far as I can tell, Docmost has not changed its licensing model in a recent past or at least not since becoming an app available on Cloudron.

                  Additionally, I have some vague recollection of similar situations with other apps on Cloudron (a quick search reveals apps like Baserow and Mattermost)

                  For now we are looking at trialing Docmost enterprise with the ultimate view to possibly adopt it for all the benefit and additional features it provides.
                  For example, things like OIDC is locked behind the (trial) license and it is not quite clear if/how we would connect it with Cloudron as an OIDC provider for now.

                  How has Cloudron approached situation such as this one (if any)? was it through direct contact with the dev-team? If so, would it help if I attempt to put you in relation with a relevant contact? would the best way be for the docmost dev(s) to contact support@cloudron.io directly?

                  I suspect that building the Enterprise version of Docmost would not get away from needing a valid license.
                  Also, I do not think that pulling a partly private app image conflicts with having an open source cloudron app package residing on cloudron gitlab does it?
                  Possibly it just requires an agreement and permissions between Cloudron and Docmost.

                  1 Reply Last reply
                  0
                  • jamesJ james

                    Hello @teiluj

                    We build Docmost from the GitHub source tarball, but the EE features (including /api/license/activate) live in a private git submodule (docmost/ee) that isn't in the tarball. The official docmost/docmost Docker image contains the pre-compiled EE code (verified: /app/apps/server/dist/ee/licence/license.controller.js exists there). Fix would be to repackage the official image on top of cloudron/base instead of building from source.

                    We had various cases where other apps shut down the paid version access without notice, leaving us with no way to push updates.
                    One example would be the recent change to @cal.com https://forum.cloudron.io/topic/15399/cal.com-closing-source
                    If they don't release the enterprise part for us to build a package from and dealing with those docker images has often led to more problems, see https://forum.cloudron.io/post/123514

                    So we got very hesitant to switch Cloudron apps like that.
                    Just for us to know, do you just want to try the enterprise version or do you plan to fully use it?

                    P Offline
                    P Offline
                    Philip
                    App Maintainer
                    wrote last edited by
                    #9

                    Hi @james, founder of Docmost here.

                    It would be awesome if you consider basing your build on the official Docmost image.

                    Since Docmost is self-hosted, we don't restrict where users can run the software.
                    We made the enterprise module separation of concern as clean as possible. It is bundled in our official build process and only gets called when an enterprise license is activated. It don't interfere with the core app.

                    Having this supported would make life easier for users who wish to use Cloudron and also benefit from our enterprise features such as SSO, AI, page verification workflows and more.

                    Please let me know if there is anything I can do on my end to facilitate. Happy to reach out any other ways you suggest.
                    Thank you.

                    1 Reply Last reply
                    2
                    • jamesJ Online
                      jamesJ Online
                      james
                      Staff
                      wrote last edited by james
                      #10

                      Hello @philip and welcome to the Cloudron forum

                      It is great to have you here.
                      I have validated the mail address you used in our forum against your GitHub profile and thus added you to the App Maintainer group to signal to users that you are indeed who you are.

                      Changing the build from source to copy from the source image is a simple change which we could make.
                      The question we have is, why is it not part of the normal build from source, but in a private git submodule?
                      Like I wrote above, we had multiple bad experiences with for example @grist and @cal.com who suddenly decided to remove public access to enterprise features, even for paying users who self-host.
                      Since people rely on software and updates and are paying for them, these decisions are detrimental.

                      A short explanation would be great just to easy our minds.
                      In any case, we will switch the app to copy from source instead of building from source.

                      1 Reply Last reply
                      0

                      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