Buenas tardes, como va?
Me esta arrojando un error en el instalador.log al intentar correr ./bin/instalador proyecto:instalar --crear-db
Modulo: academico.
Adjunto el error en un txt
Fragmento:
[2023-06-15 16:30:49] MAIN.INFO: [ TOBA ] La base ya existe, no se puede determinar el encoding
[2023-06-15 16:30:55] MAIN.INFO: [ TOBA ] Error al migrar la base de datos: Se encontro errores al migrar Phinx by CakePHP - https://phinx.org. using config file ./bin/phinx.php using config parser php using migration paths - /usr/local/proyectos/sanaviron/academico/migrations using seed paths - /usr/local/proyectos/sanaviron/academico/migrations/seeds using environment default using adapter pgsql using database sq_academico ordering by creation time == 20180224000000 EstructuraInicial: migrating == 20180224000000 EstructuraInicial: migrated 5.4213s == 20180225014719 DatosBasicos: migrating PDOException: SQLSTATE[42703]: Undefined column: 7 ERROR: column a.adsrc does not exist LINE 18: … AND substring( a.adsrc FR… ^ QUERY: SELECT --distinct c.relname as nombre_sequencia ,tabla.relname as nombre_tabla ,columna.attname as nombre_columna ,esquema.schemaname as nombre_esquema FROM pg_class as c, pg_attrdef as a, pg_class as tabla, pg_attribute as columna, pg_tables as esquema WHERE c.relkind = ‘S’ AND tabla.oid = a.adrelid AND columna.attrelid = a.adrelid AND columna.attnum = a.adnum AND esquema.tablename = tabla.relname AND substring( a.adsrc FROM E’^nextval\(‘’([^‘’]*)‘’(?:::text|::regclass)?\)') = c.relname AND esquema.schemaname in (‘public’) GROUP BY 1,2,3,4 ORDER BY 2, 3, 1 CONTEXT: PL/pgSQL function p_actualizar_secuencias() line 30 at OPEN in /usr/local/proyectos/sanaviron/academico/vendor/robmorgan/phinx/src/Phinx/Db/Adapter/PdoAdapter.php:184
instalador_log.txt (45.3 KB)