You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2017-12-06 14:22:27

richard.blade
Member
Registered: 2017-03-03
Posts: 67

Installation de Flyve MDM

Bonjour,

GLPI:    9.2.0
Flyve MDM: 2.0.0-dev
FusionInventory: 9.2+1.0

j'ai copié le répertoire flyvemdm dans /glpi/plugins

quand je tape la commande (en root) glpi/plugins/flyvemdm/ composer install --no-dev

j'ai cette erreur: No command 'composer' found, did you mean:
Command 'compose' from package 'mime-support' (main)
composer: command not found

pourtant j'ai bien tous les fichiers:
ajax                config.js  inc         locales       README.md     tests
CHANGELOG.md        css        install     package.json  RoboFile.php  tools
CODE_OF_CONDUCT.md  front      lib         pics          scripts       tpl
composer.json       hook.php   LICENSE.md  plugin.xml    setup.php


Quelqu'un a-t-il une idée ??


Glpi 9.4.2
MYSQL V14.14 distrib 5.7.25
Apache 2.4.7
Ubuntu 14.04.6 LTS

Offline

#2 2017-12-07 11:12:41

btry
Moderator
Registered: 2015-10-01
Posts: 591

Re: Installation de Flyve MDM

Hi

You need to install composer. By the way you should first run composer in GLPI first, next in the plugins requiring composer too.

Read this page to install composer: https://getcomposer.org/download

You also may have a package in your distribution, but beware: it may be out of date.

Note: you can joins us on Telegram to get assistance in live: https://t.me/flyvemdmdev

Last edited by btry (2017-12-07 11:14:04)


No support with MP - Always run an upgrade task on a testing instance before running it on production! Always backup before any upgrade task!

Offline

#3 2017-12-07 14:24:14

richard.blade
Member
Registered: 2017-03-03
Posts: 67

Re: Installation de Flyve MDM

Hello, i'm sorry but I'm a newbies !

I followed the instructions:

root@SRVGLPI1:/var/www/html/glpi/plugins/flyvemdm# php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
root@SRVGLPI1:/var/www/html/glpi/plugins/flyvemdm# php -r "if (hash_file('SHA384', 'composer-setup.php') === '544e09ee996cdf60ece3804abc52599c22b1f40f4323403c44d44fdfdd586475ca9813a858088ffbc1f233e9b180f061') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
Installer verified
root@SRVGLPI1:/var/www/html/glpi/plugins/flyvemdm# php composer-setup.php
All settings correct for using Composer
Downloading...

Composer (version 1.5.5) successfully installed to: /var/www/html/glpi/plugins/flyvemdm/composer.phar
Use it: php composer.phar

root@SRVGLPI1:/var/www/html/glpi/plugins/flyvemdm# php -r "unlink('composer-setup.php');"
root@SRVGLPI1:/var/www/html/glpi/plugins/flyvemdm# php composer.phar install --no-dev
Loading composer repositories with package information


  [RuntimeException]
  Failed to clone https://github.com/flyve-mdm/flyve-mdm-glpi-test, git was not found, check that it is installed and in your P
  ATH env.
  sh: 1: git: not found


install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>]...


?? what's wrong ?


Glpi 9.4.2
MYSQL V14.14 distrib 5.7.25
Apache 2.4.7
Ubuntu 14.04.6 LTS

Offline

Board footer

Powered by FluxBB