root@az-lxtlssiuguaraniprd:/usr/local/proyectos/guarani# cd bin
root@az-lxtlssiuguaraniprd:/usr/local/proyectos/guarani/bin# export TOBA_INSTANCIA=desarrollo
root@az-lxtlssiuguaraniprd:/usr/local/proyectos/guarani/bin# export TOBA_INSTALACION_DIR=/usr/local/proyectos/guarani/instalacion
root@az-lxtlssiuguaraniprd:/usr/local/proyectos/guarani/bin# ./toba instalacion instalar
-bash: ./toba: No such file or directory
root@az-lxtlssiuguaraniprd:/usr/local/proyectos/guarani/bin# ./toba instalacion instalar
root@az-lxtlssiuguaraniprd:/usr/local/proyectos/guarani# sudo composer install
sudo: unable to resolve host az-lxtlssiuguaraniprd: Temporary failure in name resolution
PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_pgsql.so' (tried: /usr/lib/php/20190902/pdo_pgsql.so (/usr/lib/php/20190902/pdo_pgsql.so: undefined symbo l: pdo_parse_params), /usr/lib/php/20190902/pdo_pgsql.so.so (/usr/lib/php/20190902/pdo_pgsql.so.so: cannot open shared object file: No such file or directory)) in Unkno wn on line 0
PHP Warning: Module 'PDO' already loaded in Unknown on line 0
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]? yes
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.
Problem 1
- Root composer.json requires PHP extension ext-apcu * but it is missing from your system. Install or enable PHP's apcu extension.
To enable extensions, verify that they are enabled in your .ini files:
- /etc/php/7.4/cli/php.ini
- /etc/php/7.4/cli/conf.d/10-mysqlnd.ini
- /etc/php/7.4/cli/conf.d/10-opcache.ini
- /etc/php/7.4/cli/conf.d/10-pdo.ini
- /etc/php/7.4/cli/conf.d/15-xml.ini
- /etc/php/7.4/cli/conf.d/20-calendar.ini
- /etc/php/7.4/cli/conf.d/20-ctype.ini
- /etc/php/7.4/cli/conf.d/20-curl.ini
- /etc/php/7.4/cli/conf.d/20-dom.ini
- /etc/php/7.4/cli/conf.d/20-exif.ini
- /etc/php/7.4/cli/conf.d/20-ffi.ini
- /etc/php/7.4/cli/conf.d/20-fileinfo.ini
- /etc/php/7.4/cli/conf.d/20-ftp.ini
- /etc/php/7.4/cli/conf.d/20-gd.ini
- /etc/php/7.4/cli/conf.d/20-gettext.ini
- /etc/php/7.4/cli/conf.d/20-iconv.ini
- /etc/php/7.4/cli/conf.d/20-imagick.ini
- /etc/php/7.4/cli/conf.d/20-imap.ini
- /etc/php/7.4/cli/conf.d/20-intl.ini
- /etc/php/7.4/cli/conf.d/20-json.ini
- /etc/php/7.4/cli/conf.d/20-mbstring.ini
- /etc/php/7.4/cli/conf.d/20-mysqli.ini
- /etc/php/7.4/cli/conf.d/20-pdo_mysql.ini
- /etc/php/7.4/cli/conf.d/20-pdo_pgsql.ini
- /etc/php/7.4/cli/conf.d/20-pgsql.ini
- /etc/php/7.4/cli/conf.d/20-phar.ini
- /etc/php/7.4/cli/conf.d/20-posix.ini
- /etc/php/7.4/cli/conf.d/20-readline.ini
- /etc/php/7.4/cli/conf.d/20-shmop.ini
- /etc/php/7.4/cli/conf.d/20-simplexml.ini
- /etc/php/7.4/cli/conf.d/20-soap.ini
- /etc/php/7.4/cli/conf.d/20-sockets.ini
- /etc/php/7.4/cli/conf.d/20-sysvmsg.ini
- /etc/php/7.4/cli/conf.d/20-sysvsem.ini
- /etc/php/7.4/cli/conf.d/20-sysvshm.ini
- /etc/php/7.4/cli/conf.d/20-tokenizer.ini
- /etc/php/7.4/cli/conf.d/20-xmlreader.ini
- /etc/php/7.4/cli/conf.d/20-xmlrpc.ini
- /etc/php/7.4/cli/conf.d/20-xmlwriter.ini
- /etc/php/7.4/cli/conf.d/20-xsl.ini
- /etc/php/7.4/cli/conf.d/20-zip.ini
You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with `--ignore-platform-req=ext-apcu` to temporarily ignore these required extensions.
root@az-lxtlssiuguaraniprd:/usr/local/proyectos/guarani# cd bin
root@az-lxtlssiuguaraniprd:/usr/local/proyectos/guarani/bin# export TOBA_INSTANCIA=desarrollo
root@az-lxtlssiuguaraniprd:/usr/local/proyectos/guarani/bin# export TOBA_INSTALACION_DIR=/usr/local/proyectos/guarani/instalacion
root@az-lxtlssiuguaraniprd:/usr/local/proyectos/guarani/bin# ./toba instalacion instalar
-bash: ./toba: No such file or directory
Estimados, si ahi pudimos avanzar con lo que faltaba sudo apt-get install php7.4-apcu -y
Avanzamos hasta el paso 5 y nos quedamos, al parecer un problema de conexion con la vm de base de datos
No es posible conectar con el servidor, por favor reeingrese la informaci▒n de conexi▒n. Mensaje:
ERROR ejecutando SQL:
[CODIGO]: 7
[SQLSTATE]: db_08006
[MENSAJE]: could not connect to server: Connection refused
Is the server running on host “100.65.8.143” and accepting
TCP/IP connections on port 5432?
[SQL EJECUTADA]:
Buenos dias. pudimos avanzar, comentamos las extensiones pdopgsql.so y pdo.so, pero ahora el error es al crear el esquema negocio
ERROR ejecutando SQL:
[CODIGO]: 7
[SQLSTATE]: db_42501
[MENSAJE]: ERROR: must be member of role “postgres”
[SQL EJECUTADA]: – +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
– SIU-GUARANI 3
Hola, con que usuario te conectas a la base? Debe tener el permiso de createdb, ya que se crean esquemas en la base.
El usuario debe pertenecer al role postgres que tiene este permiso u otro role que lo tenga asignado.