-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MySQL Fails to build, Is unhealthy #5
Comments
Hello! Thanks, |
Hello! Having the same issue. Here is the logs for from the commands above `> docker compose down
|
Hello! Maybe you can delete the volume for mysql data, then try again. Can you please provide the logs for the Thank you! |
Hello! Here is the logs after following the steps above.
|
Hello! |
Fresh build, current version of Docker. Pull the git, change the HOST_IP as stated in the docs, docker compose --build will yield this everytime. I have since changed the docker network. Full Logfile attached.
unhealthy sql build docker opensips.txt
Network opensips-softswitch-ce_localnetwork Created 0.2s
✔ Container freeswitch Created 4.9s
✔ Container mysql Created 4.9s
✔ Container rtpproxy Created 10.0s
✔ Container opensips-cp Created 5.2s
✔ Container opensips Created 5.2s
Attaching to freeswitch, mysql, opensips, opensips-cp, rtpproxy
mysql | 2024-11-19 16:06:36+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 9.1.0-1.el9 started.
mysql | 2024-11-19 16:06:36+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
mysql | 2024-11-19 16:06:36+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 9.1.0-1.el9 started.
mysql | '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
mysql | 2024-11-19T16:06:36.648328Z 0 [System] [MY-015015] [Server] MySQL Server - start.
mysql | 2024-11-19T16:06:36.839692Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 9.1.0) starting as process 1
mysql | 2024-11-19T16:06:36.844401Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
mysql | 2024-11-19T16:06:36.941564Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
mysql | 2024-11-19T16:06:37.033952Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
mysql | 2024-11-19T16:06:37.033976Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
mysql | 2024-11-19T16:06:37.036440Z 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.
mysql | 2024-11-19T16:06:37.050085Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock
mysql | 2024-11-19T16:06:37.050157Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '9.1.0' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server - GPL.
freeswitch | ERROR: Failed to set SCHED_FIFO scheduler (Operation not permitted)
freeswitch | ERROR: Could not set nice level
freeswitch | 2024-11-19 16:06:38.461931 0.00% [CONSOLE] switch_loadable_module.c:1772 Successfully Loaded [mod_pgsql]
freeswitch | 2024-11-19 16:06:38.461952 0.00% [NOTICE] switch_loadable_module.c:500 Adding dsn prefix 'pgsql'
freeswitch | 2024-11-19 16:06:38.461962 0.00% [NOTICE] switch_loadable_module.c:500 Adding dsn prefix 'postgres'
freeswitch | 2024-11-19 16:06:38.461967 0.00% [NOTICE] switch_loadable_module.c:500 Adding dsn prefix 'postgresql'
freeswitch | 2024-11-19 16:06:38.462715 0.00% [INFO] switch_core_sqldb.c:3595 Opening DB
freeswitch | 2024-11-19 16:06:38.462742 0.00% [ERR] switch_core_sqldb.c:728 [db="core",type="core_db"] NATIVE SQL ERR [no such table: channels]
freeswitch | drop table channels
freeswitch | 2024-11-19 16:06:38.462787 0.00% [ERR] switch_core_sqldb.c:728 [db="core",type="core_db"] NATIVE SQL ERR [no such table: calls]
freeswitch | drop table calls
freeswitch | 2024-11-19 16:06:38.462798 0.00% [ERR] switch_core_sqldb.c:728 [db="core",type="core_db"] NATIVE SQL ERR [no such view: detailed_calls]
freeswitch | drop view detailed_calls
freeswitch | 2024-11-19 16:06:38.462807 0.00% [ERR] switch_core_sqldb.c:728 [db="core",type="core_db"] NATIVE SQL ERR [no such view: basic_calls]
freeswitch | drop view basic_calls
freeswitch | 2024-11-19 16:06:38.462816 0.00% [ERR] switch_core_sqldb.c:728 [db="core",type="core_db"] NATIVE SQL ERR [no such table: interfaces]
freeswitch | drop table interfaces
freeswitch | 2024-11-19 16:06:38.462825 0.00% [ERR] switch_core_sqldb.c:728 [db="core",type="core_db"] NATIVE SQL ERR [no such table: tasks]
freeswitch | drop table tasks
freeswitch | 2024-11-19 16:06:38.463072 0.00% [DEBUG] switch_core_sqldb.c:1494 SQL ERR [no such table: aliases]
freeswitch | [select hostname from aliases]
freeswitch | Auto Generating Table!
freeswitch | 2024-11-19 16:06:38.463088 0.00% [DEBUG] switch_core_sqldb.c:1501 Ignoring SQL ERR [no such table: aliases]
freeswitch | [DROP TABLE aliases]
freeswitch | 2024-11-19 16:06:38.463273 0.00% [DEBUG] switch_core_sqldb.c:1494 SQL ERR [no such table: complete]
freeswitch | [select hostname from complete]
freeswitch | Auto Generating Table!
freeswitch | 2024-11-19 16:06:38.463288 0.00% [DEBUG] switch_core_sqldb.c:1501 Ignoring SQL ERR [no such table: complete]
freeswitch | [DROP TABLE complete]
freeswitch | 2024-11-19 16:06:38.463387 0.00% [DEBUG] switch_core_sqldb.c:1494 SQL ERR [no such table: nat]
freeswitch | [select hostname from nat]
freeswitch | Auto Generating Table!
freeswitch | 2024-11-19 16:06:38.463401 0.00% [DEBUG] switch_core_sqldb.c:1501 Ignoring SQL ERR [no such table: nat]
freeswitch | [DROP TABLE nat]
freeswitch | 2024-11-19 16:06:38.463506 0.00% [DEBUG] switch_core_sqldb.c:1494 SQL ERR [no such table: registrations]
freeswitch | [delete from registrations where reg_user='']
freeswitch | Auto Generating Table!
freeswitch | 2024-11-19 16:06:38.463520 0.00% [DEBUG] switch_core_sqldb.c:1501 Ignoring SQL ERR [no such table: registrations]
freeswitch | [DROP TABLE registrations]
freeswitch | 2024-11-19 16:06:38.463632 0.00% [DEBUG] switch_core_sqldb.c:1494 SQL ERR [no such table: recovery]
freeswitch | [select hostname from recovery]
freeswitch | Auto Generating Table!
freeswitch | 2024-11-19 16:06:38.463645 0.00% [DEBUG] switch_core_sqldb.c:1501 Ignoring SQL ERR [no such table: recovery]
freeswitch | [DROP TABLE recovery]
freeswitch | 2024-11-19 16:06:38.467402 0.00% [INFO] switch_core_sqldb.c:1840 CORE Starting SQL thread.
freeswitch | 2024-11-19 16:06:40.496870 0.00% [CRIT] switch_loadable_module.c:1754 Error Loading module
mysql | 2024-11-19T16:06:41.332978Z 8 [Warning] [MY-013360] [Server] Plugin sha256_password reported: ''sha256_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
mysql | 2024-11-19T16:06:46.436417Z 9 [Warning] [MY-013360] [Server] Plugin sha256_password reported: ''sha256_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
mysql | 2024-11-19T16:06:51.549599Z 10 [Warning] [MY-013360] [Server] Plugin sha256_password reported: ''sha256_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
mysql | 2024-11-19T16:06:56.669500Z 11 [Warning] [MY-013360] [Server] Plugin sha256_password reported: ''sha256_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
mysql | 2024-11-19T16:07:06.765447Z 12 [Warning] [MY-013360] [Server] Plugin sha256_password reported: ''sha256_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
mysql | 2024-11-19T16:07:16.868938Z 13 [Warning] [MY-013360] [Server] Plugin sha256_password reported: ''sha256_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
mysql | 2024-11-19T16:07:26.956240Z 14 [Warning] [MY-013360] [Server] Plugin sha256_password reported: ''sha256_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
mysql | 2024-11-19T16:07:37.037768Z 15 [Warning] [MY-013360] [Server] Plugin sha256_password reported: ''sha256_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
Gracefully stopping... (press Ctrl+C again to force)
dependency failed to start: container mysql is unhealthy
The text was updated successfully, but these errors were encountered: