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

    Installing API module from CLI

    Scheduled Pinned Locked Moved Operating
    6 Posts 3 Posters 1.1k Views 1 Watching
    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 Offline
      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
      • dkirstenD Offline
        dkirsten administrators
        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 Offline
          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
          • dkirstenD Offline
            dkirsten administrators
            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 Offline
              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
              • bheisigB Offline
                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

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • First post
                  Last post