Installing API module from CLI
-
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
-
Hi,
an automatic install is not possible atm.
Are you in the admin center? (See screenshots)

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



-
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.
-
Right, didn't realise it was separate section, now I see the modules section.
Thank you for your support.
-
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
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