Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Search

    Installing API module from CLI

    Operating
    3
    6
    734
    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.
    • M
      mdragoi last edited by

      Hi,

      I installed 'i-doit - 1.8.3 OPEN' under Debian and it's working fine, but I am trying to install API module automatically. I have 2 questions:

      1. Is it possible to install API module from CLI, no UI intervention? (Maybe copying sources inside  src/classes/modules/api is enough?)
      2. I was following this tutorial: https://kb.i-doit.com/display/en/Add-ons - and I was not able to find 'Modules' tab in UI. Is there some feature that I am missing or is not turned on?

      Thank you

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

        Hi,

        an automatic install is not possible atm.
        Are you in the admin center? (See screenshots)

        waterfox_2017-05-23_10-14-51.png
        waterfox_2017-05-23_10-15-33.png

        Viele Grüße,

        Daniel

        1 Reply Last reply Reply Quote 0
        • M
          mdragoi last edited by

          Hi Daniel,

          Thank you for your response, I am using admin center, but I don't have the menu like this, see the screenshots.

          Screen Shot 2017-05-23 at 12.12.22.png
          Screen Shot 2017-05-23 at 12.12.32.png
          Screen Shot 2017-05-23 at 12.14.24.png

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

            Hi,

            its in the Admin Center which is a seperate Area. On the login screen there is a small link which says "Admin Center". You can optioanlly navigate to it by adding "/admin" to the i-doit URL (e.g. http://demo.i-doit.com/admin). The login data is set upon installation or can be manually changed in the file src/config.inc.php.

            Viele Grüße,

            Daniel

            1 Reply Last reply Reply Quote 0
            • M
              mdragoi last edited by

              Right, didn't realise it was separate section, now I see the modules section.

              Thank you for your support.

              1 Reply Last reply Reply Quote 0
              • bheisig
                bheisig i-doIT Team last edited by

                Hello,

                There is a little feature within the Admin Center that let you install add-ons via CLI. On a shell change to the installation directory of i-doit, for example "/var/www/html". There is a sub-directory called "admin" with a file called "index.php". With the following command it gives you a short help:

                
                /var/www/html/admin/$ php index.php
                Usage: php index.php -a installModule -f modulefile.zip [-i mandatorID]
                
                

                I hope it helps.
                Benjamin

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