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

    Problem createting new users

    Kopano Groupware Core
    1
    1
    459
    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.
    • Steffen
      Steffen last edited by Steffen

      Hi,

      I have a new installed Ubuntu 18.04 server system with kopano 8.6.81, user backend LDAP. If I try to create a new user via kopano-cli --sync or just login to webapp I found the following line in syslog:

      Aug 24 09:40:44 charlieb kopano-server[28365]: /usr/lib/kopano/userscripts/createuser[28519]: Your system does not have the 'en_US' locale installed.
      Aug 24 09:40:44 charlieb kopano-server[28365]: /usr/lib/kopano/userscripts/createuser[28519]: Please install this locale before creating new users.
      

      That is a little bit strange to me because I have set /etc/default/kopano to

      KOPANO_LOCALE="C"
      KOPANO_USERSCRIPT_LOCALE="de_DE.utf8"
      

      This surprised me more: In /usr/lib/kopano/userscripts/createuser I found this line:

      KOPANO_LANG="${KOPANO_USERSCRIPT_LOCALE:-${LC_MESSAGES:-en_US}}"
      

      What I didn’t understand: KOPANO_USERSCRIPT_LOCALE is set to de_DE.utf8, LC_MESSAGES is set to en_US.utf8 - why does this script use en_US as default value?

      This is now more of cosmetic nature: In /usr/lib/kopano/userscripts/createuser.d/00createstore I found this line:

      kopano-admin -v --utf8 --create-store "${KOPANO_USER}" --lang "${KOPANO_LANG}"
      

      Is is not recommended to use kopano-cli? If I run that command by hand this way everthing works fine and I can login to webapp:

      kopano-admin -v --utf8 --create-store "<my-login-I-wanted-to-test>" --lang "de_DE.utf8"
      The selected option is deprecated in this utility.
      Forwarding call to: `kopano-storeadm -h default: -Cn  <my-login-I-wanted-to-test> -l de_DE.utf8`.
      Store GUID is 582815b2b5dd4f47a0f5d2f32b97e7a5
      

      Ok, kopano-admin also tells me that it is deprecated. Just a cosmetic thing, nothing spectacular.

      Have I misunderstood anything here and not configured properly? Or is the cause completely different?

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