Error actualización guarani 3.14 a 3.15 error

Estimados. Estamos tratando de Actualizar Guarani a la version 3.15 en Desarrollo. en el primer paso tenemos el siguiente error, necesitariamos accesoria para poder avanzar. saludos

[root@vagrant-centos65 guarani]# svn status
!       .
?       2017-12-14_1318_toba_2_7.backup
?       usuarios_back.sql
?       marcelo@10.75.1.63
?       www/directorio
?       www/.htaccess
?       www/img/propuesta/g_actividad_trabajo_de_campo_comp_desc.png
?       www/img/propuesta/g_actividad_ateneo_comp_desc.png
?       www/img/propuesta/g_actividad_trabajo_de_campo.png
?       www/img/propuesta/g_actividad_asignatura_comp_desc.png
?       www/img/propuesta/g_actividad_ateneo.png
?       www/img/propuesta/g_actividad_asignatura.png
!       BD
?       BD/tmp
    S   php
?       php/operaciones/matriculas/alumnos/vencimiento_regularidad/ci_nav_vencimiento_regularidad.old.php
    S   var
    S   metadatos_originales
    S   menu.ini.tmpl
    S   instalador
    S   personalizacion
M       personalizacion/personalizacion.ini
    S   saml_module
    S   temp
?       temp/f56a61203ac83de2bbaf829ff0cadfb4
?       temp/7dd9411bac397d8c0a32d4aedab70e19
?       temp/9f9c1aeef7741c5f736090059c74b5a2
?       temp/a96dc632175096548b4736d00be21f35
?       temp/9ed2ddcf9df6276c9ca142579d219d2e
?       temp/33ec56cf501b8d0d22f8f79af992693f
?       temp/57e5e78bece546b8905baa84c96c88ad
    S   lib
    S   bin
    S   fuentes


cap1.jpg

cap1.png

este es el error:
root@vagrant-centos65 guarani]# svn switch https://colab.siu.edu.ar/svn/guarani3/nodos/caba/gestion/trunk/3.15.0
svn: Failed to add directory ‘BD/tmp’: an unversioned directory of the same name already exists

Hola
Lo que podrían hacer es mover o renombrar, para hacer un backup de su carpeta BD/tmp.
Luego volver a realizar el svn switch https://colab.siu.edu.ar/svn/guarani3/nodos/caba/gestion/trunk/3.15.0
Una vez que termine les pediríamos realizar un svn status para ver que no tengan conflictos
Avísanos cualquier duda
Muchas gracias
Saludos

Estimados. Hemos podido avanzar, les realizamos una comsulta en el siguiente paso

[vagrant@vagrant-centos65 bin]$ sudo ./reestructurar
\nReubicando carpeta 'instalacion'...
\nEliminando archivos residuales...
\nAjustando rutas en archivos de configuracion...
\nAjustando alias de los proyectos...
PHP Warning:  require_once(/usr/local/proyectos/guarani/bin/../vendor/autoload.p                         hp): failed to open stream: No such file or directory in /usr/local/proyectos/gu                         arani/bin/launcher.php on line 2

Warning: require_once(/usr/local/proyectos/guarani/bin/../vendor/autoload.php):                          failed to open stream: No such file or directory in /usr/local/proyectos/guarani                         /bin/launcher.php on line 2
PHP Fatal error:  require_once(): Failed opening required '/usr/local/proyectos/                         guarani/bin/../vendor/autoload.php' (include_path='.:/usr/share/pear:/usr/share/                         php') in /usr/local/proyectos/guarani/bin/launcher.php on line 2

Fatal error: require_once(): Failed opening required '/usr/local/proyectos/guara                         ni/bin/../vendor/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php')                          in /usr/local/proyectos/guarani/bin/launcher.php on line 2
PHP Warning:  require_once(/usr/local/proyectos/guarani/bin/../vendor/autoload.p                         hp): failed to open stream: No such file or directory in /usr/local/proyectos/gu                         arani/bin/launcher.php on line 2

Warning: require_once(/usr/local/proyectos/guarani/bin/../vendor/autoload.php):                          failed to open stream: No such file or directory in /usr/local/proyectos/guarani                         /bin/launcher.php on line 2
PHP Fatal error:  require_once(): Failed opening required '/usr/local/proyectos/                         guarani/bin/../vendor/autoload.php' (include_path='.:/usr/share/pear:/usr/share/                         php') in /usr/local/proyectos/guarani/bin/launcher.php on line 2

Fatal error: require_once(): Failed opening required '/usr/local/proyectos/guara                         ni/bin/../vendor/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php')                          in /usr/local/proyectos/guarani/bin/launcher.php on line 2
\n------------------------------------------------------------------------------                         --
Eliminar de /etc/apache2/sites-enabled/ el link simbólico al archivo de configur                         ación anterior, y ejecutar el siguiente comando como superusuario y reiniciar Ap                         ache:
     ln -s /usr/local/proyectos/guarani/instalacion/toba.conf /etc/apache2/sites                         -enabled/guarani3.conf
\n------------------------------------------------------------------------------                         --

que deberiamos hacer?

Saludos

Hola
Tendríamos que ver si dentro de la carpeta vendor esta el archivo autoload.php?
En el caso que este el archivo tendríamos que ver los permisos del mismo.
Si no esta es posible que el composer install, no finalizara correctamente. En este caso deberíamos volver a correr el composer install.
Recordemos antes de correr el ’ reestructurar’, restaurar el backup de la carpeta instalación que hicieron el el paso 4 de la documentación .
Adjuntamos link a la documentación http://documentacion.siu.edu.ar/wiki/SIU-Guarani/version3.15.0/actualizacion/gestion
Coméntanos sus avances.
Muchas gracias.
Saludos.

Estimados, volvimos a la versio 3.14 ya que no pudimos instalar el composer. Realizamos los pasos referetes a la domuentación nuevamente
http://documentacion.siu.edu.ar/wiki/SIU-Guarani/version3.15.0/actualizacion/gestion y en el paso 5 no podemos avanzar por un error en la instalacion de las dependencias del composer, adjunto el log del error, saludos


[vagrant@vagrant-centos65 guarani]$ php composer.phar install
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 81 installs, 0 updates, 0 removals
  - Installing vlucas/phpdotenv (v2.4.0): The following exception is caused by a lack of memory or swap, or not having swap configured
Check https://getcomposer.org/doc/articles/troubleshooting.md#proc-open-fork-failed-errors for details

PHP Warning:  proc_open(): fork failed - Cannot allocate memory in phar:///usr/local/proyectos/guarani/composer.phar/vendor/symfony/console/Application.php on line 958

Warning: proc_open(): fork failed - Cannot allocate memory in phar:///usr/local/proyectos/guarani/composer.phar/vendor/symfony/console/Application.php on line 958

  [ErrorException]
  proc_open(): fork failed - Cannot allocate memory


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>]...



Aguardamos sus comentarios para poder seguir avanzando

Saludos

Hola Ariel

¿Probaron seguir las instrucciones del error? No se soluciona con lo que indica el link mencionado?

Saludos

si se resolvio, primero realizamos lo que especifica en link y solamente con el comando : sudo composer.phar install–ignore-platform-reqs. funciono, Continuamos con el upgrade del g3w tenemos un error al hacer el SVN checkout




svn: warning: cannot set LC_CTYPE locale
svn: warning: environment variable LANG is es_AR.UTF-8
svn: warning: please check that your locale name is correct

A    /usr/local/proyectos/g3w3/composer.json
A    /usr/local/proyectos/g3w3/noticias.php
A    /usr/local/proyectos/g3w3/instalacion
A    /usr/local/proyectos/g3w3/instalacion/log
A    /usr/local/proyectos/g3w3/instalacion/vhost_template.conf
A    /usr/local/proyectos/g3w3/instalacion/cache
A    /usr/local/proyectos/g3w3/instalacion/docker-templates
A    /usr/local/proyectos/g3w3/instalacion/docker-templates/config.php.dist
A    /usr/local/proyectos/g3w3/instalacion/docker-templates/alias.conf.dist
A    /usr/local/proyectos/g3w3/instalacion/servicios_web
A    /usr/local/proyectos/g3w3/instalacion/servicios_web/consumidos
A    /usr/local/proyectos/g3w3/instalacion/servicios_web/ofrecidos
A    /usr/local/proyectos/g3w3/instalacion/servicios_web/ofrecidos/usuarios.php
A    /usr/local/proyectos/g3w3/instalacion/rewrite.conf
A    /usr/local/proyectos/g3w3/instalacion/temp
A    /usr/local/proyectos/g3w3/instalacion/config_template.php
A    /usr/local/proyectos/g3w3/instalacion/alias_template.conf
A    /usr/local/proyectos/g3w3/instalacion/operaciones_inactivas
A    /usr/local/proyectos/g3w3/instalacion/login_template.php
A    /usr/local/proyectos/g3w3/instalacion/servicios_web_config_template.php
A    /usr/local/proyectos/g3w3/instalacion/saml
A    /usr/local/proyectos/g3w3/instalacion/saml/example.org.pem
A    /usr/local/proyectos/g3w3/instalacion/saml/settings_example.php
A    /usr/local/proyectos/g3w3/instalacion/saml/example.org.crt
A    /usr/local/proyectos/g3w3/doc
A    /usr/local/proyectos/g3w3/doc/codigos_error_kernel.txt
A    /usr/local/proyectos/g3w3/doc/roadmap.txt
A    /usr/local/proyectos/g3w3/doc/usabilidad
A    /usr/local/proyectos/g3w3/doc/usabilidad/prototipo-final.pdf
A    /usr/local/proyectos/g3w3/doc/usabilidad/guarani_cs2.ai
A    /usr/local/proyectos/g3w3/doc/usabilidad/guarani_cs4.ai
A    /usr/local/proyectos/g3w3/doc/usabilidad/iconos
A    /usr/local/proyectos/g3w3/doc/usabilidad/iconos/iconos

svn: Can't convert string from 'UTF-8' to native encoding:
svn: /usr/local/proyectos/g3w3/doc/Testeo/pruebas/Actuaci?\195?\179n Provisoria de Ex?\195?\161menes.xls


Aguardamos su asistencia

Buenos días, fijate si con este comando podés solucionar el error de encoding.

export LC_CTYPE=en_US.UTF-8

Luego deberían proseguir como lo estaban haciendo.

Saludos.

Listo. Se ha resuelto. Tenemos otro problema con la instalación en la ASI la cual van a ejecutar nuevamente el Assesstment, es algo similar un tema con la instalación del Composer

[desarrollo@siuguarani-dev gestion]$ php composer.phar install --ignore-platform-reqs
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update


  [ErrorException]
  file_put_contents(/usr/local/proyectos/source/guarani/gestion/vendor/composer/installed.json): failed to open stream: Permission denied


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>]...

[desarrollo@siuguarani-dev gestion]$ sudo -i
[root@siuguarani-dev ~]# ^C
[root@siuguarani-dev ~]# php composer.phar install --ignore-platform-reqs
Could not open input file: composer.phar
[root@siuguarani-dev ~]# cd /
[root@siuguarani-dev /]# cd usr
[root@siuguarani-dev usr]# cd local
[root@siuguarani-dev local]# cd sourse
-bash: cd: sourse: No existe el fichero o el directorio
[root@siuguarani-dev local]# cd proyectos
[root@siuguarani-dev proyectos]# cd source
[root@siuguarani-dev source]# cd guarani
[root@siuguarani-dev guarani]# cd gestion
[root@siuguarani-dev gestion]# php composer.phar install --ignore-platform-reqs
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Package phpoffice/phpexcel is abandoned, you should avoid using it. Use phpoffice/phpspreadsheet instead.
Generating autoload files
> composer run-script post-install-cmd -d ./vendor/siu-toba/framework/
sh: composer: no se encontró la orden
Script composer run-script post-install-cmd -d ./vendor/siu-toba/framework/ handling the post-install-cmd event returned with error code 127
[root@siuguarani-dev gestion]# ls
BD  bin  composer.json  composer.lock  composer.phar  docker  exportaciones  fuentes  instalador  menu.ini.tmpl  metadatos  metadatos_originales  personalizacion  php  proyecto.ini  saml_module  src  temp  test  var  vendor  www
[root@siuguarani-dev gestion]# rm vendor
rm: no se puede borrar «vendor»: Es un directorio
[root@siuguarani-dev gestion]# sudo rm -r vendor
[root@siuguarani-dev gestion]# ls
BD  bin  composer.json  composer.lock  composer.phar  docker  exportaciones  fuentes  instalador  menu.ini.tmpl  metadatos  metadatos_originales  personalizacion  php  proyecto.ini  saml_module  src  temp  test  var  www
[root@siuguarani-dev gestion]# php composer.phar install --ignore-platform-reqs
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 81 installs, 0 updates, 0 removals
  - Installing psr/log (1.0.2): Loading from cache
  - Installing colinmollenhour/credis (1.9.1): Loading from cache
  - Installing chrisboulton/php-resque (dev-master 968b7e6): Cloning 968b7e6a30
  - Installing chrisboulton/php-resque-scheduler (dev-master 5954c98): Cloning 5954c98902
  - Installing doctrine/lexer (v1.0.1): Loading from cache
  - Installing firebase/php-jwt (v4.0.0): Loading from cache
  - Installing gettext/languages (2.3.0): Loading from cache
  - Installing gettext/gettext (v3.6.1): Loading from cache
  - Installing guzzlehttp/promises (v1.3.1): Loading from cache
  - Installing psr/http-message (1.0.1): Loading from cache
  - Installing guzzlehttp/psr7 (1.4.2): Loading from cache
  - Installing ircmaxell/security-lib (v1.1.0): Loading from cache
  - Installing ircmaxell/random-lib (dev-master e9e0204): Cloning e9e0204f40
  - Installing twig/twig (v1.35.3): Loading from cache
  - Installing twig/extensions (v1.5.1): Loading from cache
  - Installing jaimeperez/twig-configurable-i18n (v1.2): Loading from cache
  - Installing pear/console_getopt (v1.4.1): Loading from cache
  - Installing psr/container (1.0.0): Loading from cache
  - Installing robrichards/xmlseclibs (3.0.1): Loading from cache
  - Installing simplesamlphp/saml2 (v3.1.5): Loading from cache
  - Installing vlucas/phpdotenv (v2.4.0): Loading from cache
  - Installing symfony/yaml (v3.4.8): Loading from cache
  - Installing zendframework/zend-stdlib (2.2.10): Loading from cache
  - Installing zendframework/zend-validator (2.2.10): Loading from cache
  - Installing zendframework/zend-escaper (2.2.10): Loading from cache
  - Installing zendframework/zend-uri (2.2.10): Loading from cache
  - Installing mjohnson/decoda (6.10.1): Loading from cache
  - Installing michelf/php-markdown (1.8.0): Loading from cache
  - Installing ezyang/htmlpurifier (v4.10.0): Loading from cache
  - Installing siu/security-multitool (v1.0): Cloning d0f68c67e3
  - Installing siu/rdi (0.9.7): Cloning 5b6d154c81
  - Installing seld/jsonlint (1.7.1): Loading from cache
  - Installing justinrainbow/json-schema (1.6.1): Loading from cache
  - Installing siu/json-util (v1.3): Cloning d3ad9a78e5
  - Installing siu/arai-json-migrator (v1.0.1): Cloning b1a6f2f3cd
  - Installing symfony/debug (v3.4.8): Loading from cache
  - Installing symfony/polyfill-mbstring (v1.7.0): Loading from cache
  - Installing symfony/console (v3.4.8): Loading from cache
  - Installing siu/arai-json-parser (v1.1.2): Cloning eb82397c0b
  - Installing seld/cli-prompt (1.0.3): Loading from cache
  - Installing pimple/pimple (v3.2.3): Loading from cache
  - Installing monolog/monolog (1.23.0): Loading from cache
  - Installing guzzlehttp/guzzle (6.3.3): Loading from cache
  - Installing egulias/email-validator (1.2.14): Loading from cache
  - Installing siu/arai-cli (v2.3.1): Cloning 5422a3ef11
  - Installing pear/pear_exception (v1.0.0): Loading from cache
  - Installing pear/pear-core-minimal (v1.10.3): Loading from cache
  - Installing siu-toba/text_highlighter (0.8.1.2): Cloning b891550247
  - Installing siu-toba/structures_graph (v1.1.1.1): Cloning 3e18b7c2f4
  - Installing siu-toba/ssl-cert-utils (v1.0): Loading from cache
  - Installing siu-toba/services_json (1.0.3.3): Cloning ca32768974
  - Installing siu-toba/jwt-util (v1.0.2): Loading from cache
  - Installing doctrine/cache (v1.6.2): Loading from cache
  - Installing siu-toba/rest (v2.0.2): Loading from cache
  - Installing pear/math_biginteger (v1.0.3): Loading from cache
  - Installing siu-toba/numbers_words (0.18.0.1): Cloning 397f0e0bb3
  - Installing simpletest/simpletest (v1.1.7): Loading from cache
  - Installing whitehat101/apr1-md5 (v1.0.0): Loading from cache
  - Installing simplesamlphp/simplesamlphp (v1.15.4): Loading from cache
  - Installing rospdf/pdf-php (0.12.44): Loading from cache
  - Installing phpoffice/phpexcel (1.8.1): Loading from cache
  - Installing phpmailer/phpmailer (v5.2.26): Loading from cache
  - Installing onelogin/php-saml (v2.13.0): Loading from cache
  - Installing ioncube/php-openssl-cryptor (dev-master c407aca): Cloning c407aca49d
  - Installing guiguiboy/php-cli-progress-bar (dev-master 7d3eb61): Cloning 7d3eb61c1f
  - Installing element-34/php-webdriver (v1.12.0): Loading from cache
  - Installing dapphp/securimage (3.6.7): Loading from cache
  - Installing siu-toba/framework (v3.0.21): Loading from cache
  - Installing siu-toba/jasper (dev-master 05817c1): Cloning 05817c16fc
  - Installing symfony/process (v3.4.8): Loading from cache
  - Installing symfony/finder (v3.4.8): Loading from cache
  - Installing symfony/filesystem (v3.4.8): Loading from cache
  - Installing siu/toba-ini (v1.0.0): Cloning 258d82c563
  - Installing siu/check-constraints (v1.0.6): Cloning 8bfa967983
  - Installing siu/instalador (v1.0.11): Cloning cdfeea4e1c
  - Installing siu/manejador-config-toba (0.9.0): Cloning 85d7dc3429
  - Installing siu/toba-db (v1.0.3): Cloning 392c2151bd
  - Installing siu/async-queue (dev-master 34e0531): Cloning 34e053131c
  - Installing symfony/config (v3.4.8): Loading from cache
  - Installing robmorgan/phinx (v0.6.6): Loading from cache
  - Installing siu/rest-hooks (v2.0.1): Cloning aed74dbf8d
chrisboulton/php-resque suggests installing ext-proctitle (Allows php-resque to rename the title of UNIX processes to show the status of a worker.)
chrisboulton/php-resque suggests installing ext-redis (Native PHP extension for Redis connectivity. Credis will automatically utilize when available.)
gettext/gettext suggests installing illuminate/view (Is necessary if you want to use the Blade extractor)
twig/extensions suggests installing symfony/translation (Allow the time_diff output to be translated)
zendframework/zend-stdlib suggests installing zendframework/zend-eventmanager (To support aggregate hydrator usage)
zendframework/zend-stdlib suggests installing zendframework/zend-filter (To support naming strategy hydrator usage)
zendframework/zend-stdlib suggests installing zendframework/zend-serializer (Zend\Serializer component)
zendframework/zend-stdlib suggests installing zendframework/zend-servicemanager (To support hydrator plugin manager usage)
zendframework/zend-validator suggests installing zendframework/zend-db (Zend\Db component)
zendframework/zend-validator suggests installing zendframework/zend-filter (Zend\Filter component, required by the Digits validator)
zendframework/zend-validator suggests installing zendframework/zend-i18n (Zend\I18n component to allow translation of validation error messages as well as to use the various Date validators)
zendframework/zend-validator suggests installing zendframework/zend-math (Zend\Math component)
zendframework/zend-validator suggests installing zendframework/zend-resources (Translations of validator messages)
zendframework/zend-validator suggests installing zendframework/zend-servicemanager (Zend\ServiceManager component to allow using the ValidatorPluginManager and validator chains)
zendframework/zend-validator suggests installing zendframework/zend-session (Zend\Session component)
mjohnson/decoda suggests installing ext-memcached (Cache data using Memcache)
mjohnson/decoda suggests installing ext-redis (Cache data using Redis)
symfony/console suggests installing symfony/event-dispatcher ()
symfony/console suggests installing symfony/lock ()
siu/arai-json-parser suggests installing paragonie/halite (Permite manejar la encriptación de claves cuando se sincroniza con arai-registry. Soporte actual para v1.6.0 únicamente)
monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB)
monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server)
monolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ required))
monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server)
monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server)
monolog/monolog suggests installing mongodb/mongodb (Allow sending log messages to a MongoDB server via PHP Driver)
monolog/monolog suggests installing php-amqplib/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib)
monolog/monolog suggests installing php-console/php-console (Allow sending log messages to Google Chrome)
monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar)
monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server)
monolog/monolog suggests installing sentry/sentry (Allow sending log messages to a Sentry server)
pear/math_biginteger suggests installing ext-bcmath (Allows using the BCMath extension internally for computation. Faster than native implementation.)
pear/math_biginteger suggests installing ext-gmp (Allows using the GNU Multiple Precision extension internally for computation. If you are doing a lot of computation this is the recommended extension.)
phpmailer/phpmailer suggests installing league/oauth2-google (Needed for Google XOAUTH2 authentication)
dapphp/securimage suggests installing ext-pdo_mysql (For MySQL database support)
siu/check-constraints suggests installing siu/toba-ldap (Permite realizar chequeos a un servicio LDAP)
siu/rest-hooks suggests installing ext-redis (Native PHP extension for Redis connectivity. Credis will automatically utilize when available.)
Package phpoffice/phpexcel is abandoned, you should avoid using it. Use phpoffice/phpspreadsheet instead.
Generating autoload files
> composer run-script post-install-cmd -d ./vendor/siu-toba/framework/
sh: composer: command not found
Script composer run-script post-install-cmd -d ./vendor/siu-toba/framework/ handling the post-install-cmd event returned with error code 127


Adjuntamos el error arriba, Aguardamos sus comentarios

Saludos

Hola Ariel:

Una vez que solucionaron el problema del proc_open(): fork failed, ¿Pudieron instalar el composer siguiendo el punto 6 de la documentación de Requisitos?

6. Composer Descargar Composer Instalarlo globalmente ... ...

Saludos

Se pudo avanzar con el composer, se instalo globalmente como root con el comando:
curl -sS https://getcomposer.org/installer | php – --install-dir=/usr/bin --filename=composer
y luego corriendo
composer install --ignore-platform-reqs

Por el error
sh: composer: command not found

Pareciera que no estaría encontrando el comando composer globalmente. Si ejecutas el comando composer directamente debería dar un resultado similar al siguiente:


guarani@siu-virtual:~$ composer
   ______
  / ____/___  ____ ___  ____  ____  ________  _____
 / /   / __ \/ __ `__ \/ __ \/ __ \/ ___/ _ \/ ___/
/ /___/ /_/ / / / / / / /_/ / /_/ (__  )  __/ /
\____/\____/_/ /_/ /_/ .___/\____/____/\___/_/
                    /_/
Composer version 1.5.2 2017-09-11 16:59:25

Usage:
  command [options] [arguments]

Options:
  -h, --help                     Display this help message
  -q, --quiet                    Do not output any message
  -V, --version                  Display this application version
      --ansi                     Force ANSI output
      --no-ansi                  Disable ANSI output
  -n, --no-interaction           Do not ask any interactive question
      --profile                  Display timing and memory usage information
      --no-plugins               Whether to disable plugins.
  -d, --working-dir=WORKING-DIR  If specified, use the given directory as working directory.
  -v|vv|vvv, --verbose           Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Available commands:
  about           Shows the short information about Composer.
  archive         Creates an archive of this composer package.
  browse          Opens the package's repository URL or homepage in your browser.
  clear-cache     Clears composer's internal package cache.
  clearcache      Clears composer's internal package cache.
  config          Sets config options.
  create-project  Creates new project from a package into given directory.
  depends         Shows which packages cause the given package to be installed.
  diagnose        Diagnoses the system to identify common errors.
  dump-autoload   Dumps the autoloader.
  dumpautoload    Dumps the autoloader.
  exec            Executes a vendored binary/script.
  global          Allows running commands in the global composer dir ($COMPOSER_HOME).
  .
.
.

Es así?
Saludos