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

    archiver how to start

    Kopano Groupware Core
    4
    14
    1423
    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.
    • byteschubser
      byteschubser @mkromer last edited by

      @mkromer said in archiver how to start:

      On your primary (to be archived) system, does the primary show up with kopano-admin --details <user> --type archive? This is mandatory so that an archive run can work. It seems it is not configured properly yet which is why kopano-archiver can not find the store. Auto-attach simply just does the job and creates the store for you with the first run of archiver. Is multi-server setup correctly?

      How to check, if multi-server setup is correctly? Webapp Logon works fine. Sending and reciving also… No other errors.

      [uwe@node3 ~]# kopano-admin --detail testuser@example.com --type archive                                                                                                                                     
      No archive found for user 'testuser@example.com'.                                                                                                                                                             
      Using the -v option (possibly multiple times) may give more hints. 
      

      and without “–type archive”

      [uwe@node3 ~]# kopano-admin --detail testuser@example.com                                                                                                                                                    
      User object id:         00000000AC21A95040D3EE48B319FBA75330442501000000060000003B0000004F546B354F513D3D00000000                                                                                                   
      User store id:          0000000038A1BB1005E5101AA1BB08002B2A56C200007A617261666136636C69656E742E646C6C000000000040051E87833D466ABBE1792C8340EC530100000001000000E1482BC6DA8E4A03A117D086670A013070736575646F3A2F2F4
      B6F70616E6F2D53657276657200                                                                                                                                                                                        
      Username:               testuser@example.com                                                                                                                                                                  
      Fullname:               Test User                                                                                                                                                                                  
      Emailaddress:           testuser@example.com                                                                                                                                                           
      Active:                 yes                                                                                                                                                                                        
      Administrator:          no                                                                                                                                                                                         
      Address book:           Visible                                                                                                                                                                                    
      Auto-accept meeting req:no                                                                                                                                                                                         
      Home server:            Kopano-Server                                                                                                                                                                              
      Out Of Office:          disabled                                                                                                                                                                                   
      Mapped properties:                                                                                                                                                                                                 
              0x8C6D0102              48 bytes                                                                                                                                                                           
              PR_SURNAME              Test User                                                                                                                                                                          
              PR_EC_ENABLED_FEATURES  imap; mobile; outlook; pop3; webapp                                                                                                                                                
              PR_EC_DISABLED_FEATURES                                                                                                                                                                                    
              PR_EC_ARCHIVE_SERVERS   Archiv-Server                                                                                                                                                                      
      Current user store quota settings:                                                                                                                                                                                 
       Quota overrides:       no                                                                                                                                                                                         
       Warning level:         unlimited                                                                                                                                                                                  
       Soft level:            unlimited                                                                                                                                                                                  
       Hard level:            unlimited                                                                                                                                                                                  
      Current store size:     2.91 MB                                                                                                                                                                                    
      Groups (1):                                                                                                                                                                                                        
              Everyone                                                                                                                                                                                                   
                                                                                                                                                                                                                         
      Archive details on node 'Archiv-Server':                                                                                                                                                                           
      No archive found for user 'testuser@example.com'.       
      
      1 Reply Last reply Reply Quote 0
      • mkromer
        mkromer last edited by

        For Multi-Server I recommend you check https://documentation.kopano.io/kopanocore_administrator_manual/special_kc_configurations.html#multi-server-setup on how to set it up accordingly. Basically in very short summary, you need to setup 2 multi-server nodes. 1 primary, 1 archive server. on the archive server you also install kopano-archiver packages. with configuration of archiver.cfg you create a second db on archive system for (as @fbartels outlined) dedup data. you have to setup ssl (and even though optional) you can also create an admin.cfg (you can check our man kopano-admin for that). this way, you would be able to communicate in “multi-server” fashion, so that the primary node for example is able to communicate with the archive server. With the corresponding multi-server setup correctly (see link above), you should also then have a valid configuration visible with kopano-stats --servers. with all that in place, also with archiver setup accordingly, auto-attach will automatically create your archive stores and you then are able to do --details --type archive also from the primary node.

        - mike

        1 Reply Last reply Reply Quote 0
        • mkromer
          mkromer last edited by

          Also, don’t forget to setup the right archive server in LDAP for the user (Attribute kopanoUserArchiveServer) to the CN of the kopano-server object you created. This is actually what kopano-admin uses to identify to which archive server it should connect, since you can have as many archive servers as you want and can define which archive server a user should use.

          1 Reply Last reply Reply Quote 0
          • byteschubser
            byteschubser last edited by

            Yes I have worked according these docs.

            1 Server called Kopano-Server and DB called kopano
            1 Server called Archiv-Server and DB called kopano_archi
            additional db for kopano-archiver called kopano_archiver

            both server dbs are populated with tables, the extra db of kopano-archiver is empty.

            kopano-stats shows me both servers Kopano-Server

            ssl works fine
            servers communicating together, I see ssl accept in the server.log of the archive server if I submit the kopano-admin --detail command

            LDAP server objects are present
            LDAP user attribute is set, please see kopano-admin --detail output above

            although all these steps, kopano-archiver --auto-atach does not create the archive store

            mkromer 1 Reply Last reply Reply Quote 0
            • mkromer
              mkromer @byteschubser last edited by

              @byteschubser

              So this is the moment where traditionally the support kicks in, because to be honest, at least I’m currently out of ideas what can be wrong. May I ask - Do you have a valid subscription? This would give me the chance to dispatch this to our support team so it can have a look and walk through and check what is missing. I can tell you for sure: It must be something small and obvious, but I recommend a session to walk through instead of walking it the hard way here in forums.

              - mike

              byteschubser 1 Reply Last reply Reply Quote 0
              • byteschubser
                byteschubser @mkromer last edited by

                @mkromer

                No, I don’t have a subscription.

                I’ll give it a last try in a fresh and clean environment.

                dw2412 byteschubser 2 Replies Last reply Reply Quote 0
                • dw2412
                  dw2412 @byteschubser last edited by

                  @byteschubser Maybe you should have a look some more details… I just remember when I started with archiver and it was hard to find out what exactly is the problem if it is actually your first time to setup this part of Kopano server.

                  For me first of all it is interesting if you’re using AD oder OpenLDAP. I ask you this because in AD with its plugin on windows some things are easier to setup and to identify. With OpenLDAP i.e. you have to enter some server names and here was my issue. The Servername in there is the one thing - the other thing is what CN to use in Certificate… This is actually not really clear documented in Kopano Manuals. I ended with adding Alternative DNS Entries in certificate to stop thinking about this ;-) Actually this was the main issue what I had with my setup.

                  Andreas

                  1 Reply Last reply Reply Quote 0
                  • byteschubser
                    byteschubser @byteschubser last edited by

                    @byteschubser said in archiver how to start:

                    @mkromer

                    No, I don’t have a subscription.

                    I’ll give it a last try in a fresh and clean environment.

                    Just to inform you: A fresh LDAP and Kopano Installation lead also in failure with the same behavior. The archive store will not be created. There is no debug output at server side an there is no usable debug output at archiver site.

                    Archive map has no entry for user
                    ArchiveManageImpl::AutoAttach(): funktion exit. Result: 0x8004010F (not found)

                    1 Reply Last reply Reply Quote 0
                    • byteschubser
                      byteschubser last edited by

                      ok, I gave it a very last try without hosted (multiple companies) - now it works

                      Question: is archiving not possible in hosted installation?

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

                        @byteschubser said in archiver how to start:

                        Question: is archiving not possible in hosted installation?

                        No, that feature should indeed also work when running multi tennant installations.

                        But since you are running a hosting business on top of the Kopano software I would recommend once more to get in contact with our support, so that you have a reliable fallback in case you run into problems. your customers will thank you for it.

                        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