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

    MAPI_E_DISK_ERROR after activating multi tenant mode

    Kopano Groupware Core
    kopano-cli mapi multi-tenant
    2
    6
    326
    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.
    • stephen
      stephen last edited by

      Running Ubuntu 20.04.1

      Example user of john@mydomain.com.au


      After activating

      enable_hosted_kopano = true
      

      in /etc/kopano/server.cfg

      • Users are unable to log into /webapp GUI via:
        • basic username(expected)
        • email address

      When running

      kopano-cli --user john
      

      The following error is returned

      MAPI error 80040116 (MAPI_E_DISK_ERROR)
      

      When running

      kopano-cli --user john@mydomain.com.au
      

      The following error is returned

      no such user: 'john@mydomain.com.au'
      

      • What else am I missing with multi tenant?
      • How can I allow users to log in via email addresses during multi tenant?
      fbartels 1 Reply Last reply Reply Quote 0
      • fbartels
        fbartels Kopano @stephen last edited by

        Hi @stephen,

        how are you managing your users in general? Switching between multi tenant/hosted setup would remove existing users so if you just get the details of a user afterwards an error would be expected.

        What is the output of kopano-cli --list-users or kopano-admin -l?

        PS: kopano-cli has recently been removed from the nightly builds so it seems you are on an older build.

        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/

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

          Hi @fbartels

          I’m still staging this server, so I have no users yet, if I lose my users in staging, I’ll just delay the move of actual data onto this system.

          I plan to run multi tenant from day 1, but with what you’ve suggested, I’ll delete my users, then to multi tenant, then create users and try again.

          Also, the builds I’m using are part of the stock repos from Ubuntu 20.04, so I imagine they aren’t as fresh. I was having trouble understanding how to make the individual installers work, as there was a lot of config that didn’t seem to get put in place unless I used the stock repos.

          If there is a better approach you’d recommend, I’m happy to try it

          Thanks

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

            @stephen said in MAPI_E_DISK_ERROR after activating multi tenant mode:

            if I lose my users in staging, I’ll just delay the move of actual data onto this system.

            You will loose your users (if you created them with the db plugin, with the ldap plugin they will be recreated and most likely stores will auto reattach, at least that was the case the last time I played with it), but not the data. as stores and users are separate entities in Kopano.

            @stephen said in MAPI_E_DISK_ERROR after activating multi tenant mode:

            If there is a better approach you’d recommend, I’m happy to try it

            My general recommendation (especially since you want to host other users data when talking about multi tenancy) is to get a trial key and use our supported packages for your test and of course the production installation after buying a subscription. With access to our supported packages you can simply configure our package repositories and install and update from there.

            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/

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

              @fbartels said in MAPI_E_DISK_ERROR after activating multi tenant mode:

              You will loose your users (if you created them with the db plugin, with the ldap plugin they will be recreated and most likely stores will auto reattach, at least that was the case the last time I played with it), but not the data. as stores and users are separate entities in Kopano.

              Thanks, I’ll give this a shot.

              @fbartels said in MAPI_E_DISK_ERROR after activating multi tenant mode:

              My general recommendation (especially since you want to host other users data when talking about multi tenancy) is to get a trial key and use our supported packages for your test and of course the production installation after buying a subscription. With access to our supported packages you can simply configure our package repositories and install and update from there.

              I don’t plan to use this instance to run a commercial organisation, just a few accounts for personal purposes, so with that in mind, maybe multi tenant isn’t my goal. I’m still learning about the differences in terminology.

              I’d like to learn how to install and run a basic Kopano instance without the need to call upon support so early on in the piece. I was able to do this with Zimbra, so I would assume that its equally possible with Kopano. This is what it seems others have been able to do, so I’m hoping this is within my ability also.

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

                @stephen said in MAPI_E_DISK_ERROR after activating multi tenant mode:

                without the need to call upon support so early on in the piece

                I am not asking you to get in contact with our support. I was simply stating that my general recommendation would be to use our actual releases over the nightly downloads.

                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
                • First post
                  Last post