Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    Cannot create company public store due to wrong flags check in kopano-storeadm

    Kopano Groupware Core
    3
    4
    216
    Loading More Posts
    • 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.
    • modelnine
      modelnine last edited by

      kopano-storeadm uses an invalid conditional to check whether a company public store is being created with -Pk:

      } else if (opt_companyname != nullptr && !opt_copytopublic) {
      

      on line 930 should rather be:

      } else if (opt_companyname != nullptr && !opt_create_public) {
      

      Currently,this means that the default createcompany.d script (which calls kopano-storeadm with -Pk) fails to create the company public folder and fails silently; the corresponding companies show as orphans without a store, too.

      As the error is in kopano-storeadm (checked against head on github), there is currently no way to actually create company public stores. Please fix this. Thanks. :-)

      fbartels 1 Reply Last reply Reply Quote 0
      • fbartels
        fbartels Kopano @modelnine last edited by

        Hi @modelnine,

        good catch. Would you be open to open a PR (on Github) with your desired change?

        Regards Felix

        Resources:
        https://kopano.com/blog/how-to-get-kopano/
        https://documentation.kopano.io/
        https://kb.kopano.io/

        Support overview:
        https://kopano.com/support/

        1 Reply Last reply Reply Quote 0
        • jengelh
          jengelh Banned last edited by

          internal ref: stash 2813.

          modelnine 1 Reply Last reply Reply Quote 0
          • modelnine
            modelnine @jengelh last edited by

            @jengelh from the comment, I gather that I don’t need to create a pull request anymore? ;-)

            1 Reply Last reply Reply Quote 0
            • First post
              Last post