ragflow icon indicating copy to clipboard operation
ragflow copied to clipboard

[Question]: dependency failed to start: container ragflow-mysql is unhealthy [Warning] Failed to set up SSL because of the following SSL library error: TLS version is invalid

Open alanOO7 opened this issue 1 year ago • 3 comments

Describe your problem

docker compose -f docker-compose-CN.yml up -d run error: :(

(base) [root@UEVLBAIDU01 docker]# docker compose -f docker-compose-CN.yml up -d WARN[0000] The "MACOS" variable is not set. Defaulting to a blank string. [+] Running 6/6 ✔ Network docker_ragflow Created 0.6s ✔ Container ragflow-redis Started 2.4s ✔ Container ragflow-es-01 Healthy 57.0s ✘ Container ragflow-mysql Error 35.0s ✔ Container ragflow-minio Started 2.3s ✔ Container ragflow-server Created 0.1s dependency failed to start: container ragflow-mysql is unhealthy (base) [root@UEVLBAIDU01 docker]# docker logs ragflow-mysql 2024-08-01T09:39:55.701533Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details). 2024-08-01T09:39:55.716396Z 0 [Note] mysqld (mysqld 5.7.18) starting as process 1 ... 2024-08-01T09:39:55.745019Z 0 [Note] InnoDB: PUNCH HOLE support available 2024-08-01T09:39:55.745059Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2024-08-01T09:39:55.745062Z 0 [Note] InnoDB: Uses event mutexes 2024-08-01T09:39:55.745064Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier 2024-08-01T09:39:55.745066Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3 2024-08-01T09:39:55.745067Z 0 [Note] InnoDB: Using Linux native AIO 2024-08-01T09:39:55.745581Z 0 [Note] InnoDB: Number of pools: 1 2024-08-01T09:39:55.745683Z 0 [Note] InnoDB: Using CPU crc32 instructions 2024-08-01T09:39:55.772639Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M 2024-08-01T09:39:55.799219Z 0 [Note] InnoDB: Completed initialization of buffer pool 2024-08-01T09:39:55.808232Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2024-08-01T09:39:55.834347Z 0 [Note] InnoDB: Highest supported file format is Barracuda. 2024-08-01T09:39:55.866599Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2024-08-01T09:39:55.866682Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2024-08-01T09:39:55.906603Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2024-08-01T09:39:55.907240Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active. 2024-08-01T09:39:55.907251Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active. 2024-08-01T09:39:55.907522Z 0 [Note] InnoDB: Waiting for purge to start 2024-08-01T09:39:55.958316Z 0 [Note] InnoDB: 5.7.18 started; log sequence number 12139872 2024-08-01T09:39:55.958638Z 0 [Note] Plugin 'FEDERATED' is disabled. 2024-08-01T09:39:55.960120Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 2024-08-01T09:39:55.972714Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them. 2024-08-01T09:39:55.972753Z 0 [Warning] Failed to set up SSL because of the following SSL library error: TLS version is invalid 2024-08-01T09:39:55.980490Z 0 [Note] InnoDB: Buffer pool(s) load completed at 240801 17:39:55 2024-08-01T09:39:55.982178Z 0 [Note] Server hostname (bind-address): '*'; port: 3306 2024-08-01T09:39:55.982267Z 0 [Note] IPv6 is available. 2024-08-01T09:39:55.982279Z 0 [Note] - '::' resolves to '::'; 2024-08-01T09:39:55.982322Z 0 [Note] Server socket created on IP: '::'. 2024-08-01T09:39:55.995476Z 0 [Warning] 'user' entry 'root@localhost' ignored in --skip-name-resolve mode. 2024-08-01T09:39:55.995530Z 0 [Warning] 'user' entry 'mysql.sys@localhost' ignored in --skip-name-resolve mode. 2024-08-01T09:39:55.995958Z 0 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode. 2024-08-01T09:39:55.996350Z 0 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode. 2024-08-01T09:39:56.010904Z 0 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode. 2024-08-01T09:39:56.065776Z 0 [Note] Event Scheduler: Loaded 0 events 2024-08-01T09:39:56.065984Z 0 [Note] Execution of init_file '/data/application/init.sql' started. 2024-08-01T09:39:56.067364Z 0 [Note] Execution of init_file '/data/application/init.sql' ended. 2024-08-01T09:39:56.067438Z 0 [Note] mysqld: ready for connections. Version: '5.7.18' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server (GPL) 2024-08-01T09:39:56.067450Z 0 [Note] Executing 'SELECT * FROM INFORMATION_SCHEMA.TABLES;' to get a list of tables using the deprecated partition engine. You may use the startup option '--disable-partition-engine-check' to skip this check. 2024-08-01T09:39:56.067451Z 0 [Note] Beginning of list of non-natively partitioned tables 2024-08-01T09:39:56.138471Z 0 [Note] End of list of non-natively partitioned tables

alanOO7 avatar Aug 01 '24 09:08 alanOO7

Are you using MAC? If you are, change mysql to mariaDB and set MACOS=1 in docker/.env

KevinHuSh avatar Aug 02 '24 02:08 KevinHuSh

Are you using MAC? If you are, change mysql to mariaDB and set MACOS=1 in docker/.env

i am using oracle linux 9,

alanOO7 avatar Aug 03 '24 02:08 alanOO7

I have the same problem on my macbook m1.

tanerozel avatar Aug 03 '24 08:08 tanerozel

docker-compose-CN.yml has been deleted in main. Please use newer release.

yuzhichang avatar Nov 28 '24 07:11 yuzhichang