Private store not created



  • I upgraded Kopano to 8.5.81.288.
    When I create a new user with:

    sudo kopano-cli --create --user <username> --password <password> --email <email> --fullname <full name> --admin-level 0
    

    This gives no error and I do not see any error’s in the server.log
    However no private store seems to be created:

    sudo kopano-cli --list-orphan
    
    Users without stores (1):
                User           Full Name          Homeserver                                   Store
    ------------------------------------------------------------------------------------------------
    remon@fakedomain.com        Remon                      Kopano                                  
    

    One thing that might be related is I don’t use the default MySQL database name as this setup is migrated from Zarafa. Related settings in server.cfg:

    # Database to connect to
    mysql_database          = zarafa
    
    user_plugin             = db
    
    

    Is this a known issue?
    Is there a way to create a private store manually so I can attach it to the new user?

    Thanks,
    Joep


  • Kopano

    Hi @joepadmiraal ,

    is there anything logged in the server.log when you create the user? There was some breakage in kopano-admin which was fixed in the beginning of february, maybe you’re affected by this?

    https://stash.kopano.io/projects/KC/repos/kopanocore/commits/87609ccc3b1520d6a3dca29738ea29e888222af4



  • No, nothing is written to the server.log file when I create a user.
    I upgraded to the current version (core-8.6.80.3_0+79) and it still creates users without a store.

    Looking at the commit you linked I noticed kopano-storeadm.
    With this tool I was able to create a new store and attach it to the user’s.
    sudo kopano-storeadm -C -n <username>