Buen dia
He realizado el procedimiento indicado en la documentación para en un VPS contar con todos los servicios de Onmileads. Sin embargo aparece este error:
Que puedo hacer para concluir la instalación de forma exitosa? Por su atención y apoyo, Gracias.
TASK [omniapp_second : Generate manage.sh and reinstal_addons script] **********
ok: [685c28e.online-server.cloud] => (item=manage.sh)
ok: [685c28e.online-server.cloud] => (item=reinstall_addons.sh)
TASK [omniapp_second : Execute reinstall_addons.sh script] *********************
changed: [685c28e.online-server.cloud]
TASK [omniapp_second : Run migrations of database] *****************************
fatal: [685c28e.online-server.cloud]: FAILED! => {
"changed": true,
"cmd": [
"/opt/omnileads/bin/manage.sh",
"migrate",
"--noinput"
],
"delta": "0:00:02.904738",
"end": "2022-02-08 08:58:00.130644",
"rc": 1,
"start": "2022-02-08 08:57:57.225906"
}
STDOUT:
Operations to perform:
Apply all migrations: admin, api_app, auth, authtoken, configuracion_telefonia_app, contenttypes, database, defender, ominicontacto_app, reportes_app, sessions
Running migrations:
Applying reportes_app.0003_queue_log_insert_trigger...Creando funcion desde /opt/omnileads/ominicontacto/reportes_app/sql/plperl/replace_insert_queue_log_ominicontacto_queue_log.sql
STDERR:
/opt/omnileads/virtualenv/lib/python3.6/site-packages/psycopg2/init.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: http://initd.org/psycopg/docs/install.html#binary-install-from-pypi.
""")
Traceback (most recent call last):
File "/opt/omnileads/virtualenv/lib/python3.6/site-packages/django/db/backends/utils.py", line 82, in _execute
return self.cursor.execute(sql)
psycopg2.ProgrammingError: language "plperl" does not exist
HINT: Use CREATE EXTENSION to load the language into the database.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/opt/omnileads/ominicontacto/manage.py", line 27, in <module>
execute_from_command_line(sys.argv)
File "/opt/omnileads/virtualenv/lib/python3.6/site-packages/django/core/management/init.py", line 381, in execute_from_command_line
utility.execute()
File "/opt/omnileads/virtualenv/lib/python3.6/site-packages/django/core/management/init.py", line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/opt/omnileads/virtualenv/lib/python3.6/site-packages/django/core/management/base.py", line 323, in run_from_argv
self.execute(args, **cmd_options)
File "/opt/omnileads/virtualenv/lib/python3.6/site-packages/django/core/management/base.py", line 364, in execute
output = self.handle(args, **options)
File "/opt/omnileads/virtualenv/lib/python3.6/site-packages/django/core/management/base.py", line 83, in wrapped
res = handle_func(*args, **kwargs)
File "/opt/omnileads/virtualenv/lib/python3.6/site-packages/django/core/management/commands/migrate.py", line 234, in handle
fake_initial=fake_initial,
File "/opt/omnileads/virtualenv/lib/python3.6/site-packages/django/db/migrations/executor.py", line 117, in migrate
state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
File "/opt/omnileads/virtualenv/lib/python3.6/site-packages/django/db/migrations/executor.py", line 147, in migrate_all_forwards
state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
File "/opt/omnileads/virtualenv/lib/python3.6/site-packages/django/db/migrations/executor.py", line 245, in apply_migration
state = migration.apply(state, schema_editor)
File "/opt/omnileads/virtualenv/lib/python3.6/site-packages/django/db/migrations/migration.py", line 124, in apply
operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
File "/opt/omnileads/virtualenv/lib/python3.6/site-packages/django/db/migrations/operations/special.py", line 190, in database_forwards
self.code(from_state.apps, schema_editor)
File "/opt/omnileads/ominicontacto/reportes_app/migrations/0003_queue_log_insert_trigger.py", line 42, in create_procedemiento_trigger
cursor.execute(sql)
File "/opt/omnileads/virtualenv/lib/python3.6/site-packages/django/db/backends/utils.py", line 67, in execute
return self.execute_with_wrappers(sql, params, many=False, executor=self._execute)
File "/opt/omnileads/virtualenv/lib/python3.6/site-packages/django/db/backends/utils.py", line 76, in _execute_with_wrappers
return executor(sql, params, many, context)
File "/opt/omnileads/virtualenv/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute
return self.cursor.execute(sql, params)
File "/opt/omnileads/virtualenv/lib/python3.6/site-packages/django/db/utils.py", line 89, in exit
raise dj_exc_value.with_traceback(traceback) from exc_value
File "/opt/omnileads/virtualenv/lib/python3.6/site-packages/django/db/backends/utils.py", line 82, in _execute
return self.cursor.execute(sql)
django.db.utils.ProgrammingError: language "plperl" does not exist
HINT: Use CREATE EXTENSION to load the language into the database.
MSG:
non-zero return code
PLAY RECAP *********************************************************************
685c28e.online-server.cloud : ok=93 changed=26 unreachable=0 failed=1 skipped=62 rescued=0 ignored=0