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

    Userscripts not available

    Kopano Groupware Core
    5
    11
    408
    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.
    • A Former User
      A Former User last edited by

      @Karif said in Userscripts not available:

      /var/lib/kopano/userscripts/

      On Debian 10 this scripts are provided by kopano-server package.

      # dpkg -S /usr/lib/kopano/userscripts/createuser
      kopano-server: /usr/lib/kopano/userscripts/createuser
      
      1 Reply Last reply Reply Quote 1
      • Pax
        Pax last edited by

        also available here
        https://stash.kopano.io/projects/KSC/repos/core-tools/browse

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

          Thank you for the answers.

          Actually it was the first thing that i checked with dpkg -S but i had this result;

          @WalterHof

          root@mail:~# dpkg -S /usr/lib/kopano/userscripts/createuser
          dpkg-query: no path found matching pattern /usr/lib/kopano/userscripts/createuser
          

          This is the installed package;

          ii  kopano-server                         10.0.6.502.8b8baeb2a-0+297.1
          

          Thank you

          1 Reply Last reply Reply Quote 0
          • Karif
            Karif @Pax last edited by

            @Pax Unfortunately i couldnt find those files at this location.

            Thanks

            1 Reply Last reply Reply Quote 0
            • A Former User
              A Former User last edited by

              @Karif , the old package

              kopano-server_10.0.1.100.6311aeb7e-0+296.1_amd64.deb
              

              contains this scripts. No idea why a newer kopano-server package do not contain this scripts.

              Karif 1 Reply Last reply Reply Quote 0
              • Karif
                Karif @Guest last edited by

                @WalterHof

                Thank you, perhaps @fbartels shed a light to us ? :)

                i checked all debian8,9,10 core packages but couldnt find it. It there is no need for this script anymore ?

                Thanks

                NetBLOKS 1 Reply Last reply Reply Quote 0
                • NetBLOKS
                  NetBLOKS @Karif last edited by

                  @Karif
                  In the official Debian repo packages, the scripts are located here:
                  /usr/lib/kopano/userscripts/createuser (and creategroup etc.)
                  You have to edit them and replace the last line in the script with this:
                  exec “/usr/lib/x86_64-linux-gnu/kopano/kscriptrun” /usr/lib/kopano/userscripts/createuser.d /etc/kopano/userscripts/createuser.d

                  Karif 1 Reply Last reply Reply Quote 0
                  • Karif
                    Karif @NetBLOKS last edited by

                    @NetBLOKS

                    Thank you for suggestion. I am using Kopano repo not debian repo. I think it removed on purpose but couldnt find any changelog yet.

                    https://download.kopano.io/community/core%3A/core-10.0.6.502.c6456e8-Debian_10-amd64.tar.gz

                    Thanks

                    1 Reply Last reply Reply Quote 0
                    • robing
                      robing Kopano (Inactive) last edited by

                      By default the kopano server is handeling the userscripts internally see https://jira.kopano.io/browse/KC-1800.
                      Therefore we removed those scripts completely but you can still create your own scripts if needed if you put the files in /usr/lib/kopano/userscripts/createuser.d/custom-script.sh

                      If you really needs the scripts you can still get them from the 9.x branch https://stash.kopano.io/projects/KC/repos/kopanocore/browse/installer/userscripts?at=refs%2Fheads%2Fkc-9.x

                      Regards Robin,

                      Need support?
                      Have a look at https://kopano.com/support/ for options.

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

                      1 Reply Last reply Reply Quote 1
                      • Karif
                        Karif last edited by

                        Thank you for the answer, appreciated.

                        -Karif

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