Help with Exoplatform install on Portainer #31
Replies: 1 comment
-
|
Hi @serveradmini It seems that the container of eXO is not able to reach the container of Mysql and remove the property You have to use Mysql 8.0 to work with the latest version of eXo platform, and you need tro add the services for Elastic search and for MongoDB if you want to get the server running well. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am having an issue installing exo platform . In portainer I have attempted to created a exoplatform stack. I have configured the code below with matching user and PW info for both environments. exo platform exits upon initiating start of the container. The exodb show that it is running and I have tried mysql image listed below and a newer version 8.0 and still the same outcome
version: '3'
services:
exodb:
image: mysql:5.7
environment:
MYSQL_ROOT_PASSWORD: example_root_password
MYSQL_DATABASE: exo
MYSQL_USER: exo
MYSQL_PASSWORD: example_exo_password
exo:
image: exoplatform/exo:latest
depends_on:
- exodb
environment:
EXO_DB_DRIVER: mysql
EXO_DB_URL: jdbc:mysql://exodb:3306/exo
EXO_DB_USER: exo
EXO_DB_PASSWORD: example_exo_password
EXO_DB_TYPE: mysql
EXO_DB_DIALECT: org.hibernate.dialect.MySQLDialect
EXO_ADD_SAMPLE_DATA: true
ports:
- "8080:8080"
Logs for exoplatform:
Creating eXo Docker configuration file [/etc/exo/docker.properties]
Creating Chat configuration file [/etc/exo/chat.properties]
------------------------------------
eXo add-ons management start ...
------------------------------------
no add-on to uninstall from EXO_ADDONS_REMOVE_LIST environment variable.
------------------------------------
no add-on to install from EXO_ADDONS_LIST environment variable.
------------------------------------
eXo add-ons management done.
------------------------------------
------------------------------------
eXo patches management start ...
------------------------------------
no patches to install from EXO_PATCHES_LIST environment variable.
------------------------------------
eXo patches management done.
------------------------------------
Waiting for database mysql availability at db:3306 ...
Operation timed out
[ERROR] The mysql database db:3306 was not available within 60s ! eXo startup aborted ...
INFO: Configuration already done! skipping this step.
INFO: add-ons installation already done! skipping this step.
INFO: patches installation already done! skipping this step.
Waiting for database mysql availability at db:3306 ...
INFO: Configuration already done! skipping this step.
INFO: add-ons installation already done! skipping this step.
INFO: patches installation already done! skipping this step.
Waiting for database mysql availability at db:3306 ...
Operation timed out
[ERROR] The mysql database db:3306 was not available within 60s ! eXo startup aborted ...
INFO: Configuration already done! skipping this step.
INFO: add-ons installation already done! skipping this step.
INFO: patches installation already done! skipping this step.
Waiting for database mysql availability at db:3306 ...
Operation timed out
[ERROR] The mysql database db:3306 was not available within 60s ! eXo startup aborted ...
INFO: Configuration already done! skipping this step.
INFO: add-ons installation already done! skipping this step.
INFO: patches installation already done! skipping this step.
Waiting for database mysql availability at db:3306 ...
Operation timed out
[ERROR] The mysql database db:3306 was not available within 60s ! eXo startup aborted ...
INFO: Configuration already done! skipping this step.
INFO: add-ons installation already done! skipping this step.
INFO: patches installation already done! skipping this step.
Waiting for database mysql availability at db:3306 ...
Operation timed out
[ERROR] The mysql database db:3306 was not available within 60s ! eXo startup aborted ...
Logs for exo db :
2023-08-22 17:59:38+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.34-1.el8 started.
2023-08-22 17:59:38+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2023-08-22 17:59:38+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.34-1.el8 started.
'/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
2023-08-22T17:59:39.235925Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.
2023-08-22T17:59:39.237586Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.34) starting as process 1
2023-08-22T17:59:39.246857Z 1 [System] [MY-011012] [Server] Starting upgrade of data directory.
2023-08-22T17:59:39.246882Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2023-08-22T17:59:39.770717Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2023-08-22T17:59:40.950418Z 2 [System] [MY-011003] [Server] Finished populating Data Dictionary tables with data.
2023-08-22T17:59:41.702336Z 5 [System] [MY-013381] [Server] Server upgrade from '50700' to '80034' started.
2023-08-22T17:59:47.979069Z 5 [System] [MY-013381] [Server] Server upgrade from '50700' to '80034' completed.
2023-08-22T17:59:48.049670Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2023-08-22T17:59:48.049723Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2023-08-22T17:59:48.051471Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
2023-08-22T17:59:48.070199Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock
2023-08-22T17:59:48.070290Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.34' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server - GPL.
Beta Was this translation helpful? Give feedback.
All reactions