-
Notifications
You must be signed in to change notification settings - Fork 723
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
Docker Compose安装失败请教(更新了日志) #161
Comments
两个办法: |
谢谢你的帮助 第一个不成功 第二个确实有个pr 我用了他修改的 还是一样 这个和服务器本身mysql有关么 我宝塔应用商店上换版本和卸载好像都没区别 root@VM-8-8-debian:~/data/docker_data/wewe-rss# docker-compose up -d |
如果我用wewe-rss安装 会提示
Container wewe-rss-db-1 Waiting
⠿ Container wewe-rss-app-1 Created
container for service "db" is unhealthy
如果我用wewe-rss-sqlite安装 会和容器内别的容器冲突
Error response from daemon: Conflict. The container name "/easyimage" is already in use by container "608a4baf183d604fb592dd77b3dece4a08693f273af2828a8b16f86885709497". You have to remove name.
我把easyimage停止 删除容器 再次运行 却拉起了easyimage
root@VM-8-8-debian:~/data/docker_data/wewe-rss# docker-compose up -d
[+] Running 1/1
⠿ Container easyimage Started
不知道怎么安装了
root@VM-8-8-debian:
/data/docker_data/wewe-rss# docker start wewe-rss-db-1/data/docker_data/wewe-rss# docker logs wewe-rss-db-1wewe-rss-db-1
root@VM-8-8-debian:
2024-06-05 18:50:23+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.4.0-1.el9 started.
2024-06-05 18:50:23+08:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2024-06-05 18:50:23+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.4.0-1.el9 started.
'/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
2024-06-05T10:50:24.178976Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2024-06-05T10:50:24.473939Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.4.0) starting as process 1
2024-06-05T10:50:24.519579Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-06-05T10:50:25.256786Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
mysqld: Table 'mysql.plugin' doesn't exist
2024-06-05T10:50:25.601463Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.
2024-06-05T10:50:25.604699Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T10:50:25.605247Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T10:50:25.609325Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T10:50:25.611609Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T10:50:25.612204Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T10:50:25.612722Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T10:50:25.613250Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T10:50:25.712136Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-06-05T10:50:25.801216Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-06-05T10:50:25.856845Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-06-05T10:50:25.856915Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-06-05T10:50:25.866978Z 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.
2024-06-05T10:50:25.869370Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T10:50:25.869683Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
2024-06-05T10:50:25.869735Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.
2024-06-05T10:50:25.873214Z 0 [ERROR] [MY-010326] [Server] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
2024-06-05T10:50:25.873961Z 0 [ERROR] [MY-010952] [Server] The privilege system failed to initialize correctly. For complete instructions on how to upgrade MySQL to a new version please see the 'Upgrading MySQL' section from the MySQL manual.
2024-06-05T10:50:25.874173Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-06-05T10:50:27.380661Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.4.0) MySQL Community Server - GPL.
2024-06-05T10:50:27.380913Z 0 [System] [MY-015016] [Server] MySQL Server - end.
2024-06-05 18:59:34+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.4.0-1.el9 started.
2024-06-05 18:59:34+08:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2024-06-05 18:59:34+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.4.0-1.el9 started.
'/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
2024-06-05T10:59:35.270799Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2024-06-05T10:59:35.583926Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.4.0) starting as process 1
2024-06-05T10:59:35.639575Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-06-05T10:59:36.366617Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
mysqld: Table 'mysql.plugin' doesn't exist
2024-06-05T10:59:36.678475Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.
2024-06-05T10:59:36.678949Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T10:59:36.681414Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T10:59:36.683433Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T10:59:36.685339Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T10:59:36.685690Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T10:59:36.686044Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T10:59:36.686397Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T10:59:36.770335Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-06-05T10:59:36.865750Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-06-05T10:59:36.915696Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-06-05T10:59:36.915975Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-06-05T10:59:36.926294Z 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.
2024-06-05T10:59:36.928884Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T10:59:36.929340Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
2024-06-05T10:59:36.929415Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.
2024-06-05T10:59:36.931502Z 0 [ERROR] [MY-010326] [Server] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
2024-06-05T10:59:36.931671Z 0 [ERROR] [MY-010952] [Server] The privilege system failed to initialize correctly. For complete instructions on how to upgrade MySQL to a new version please see the 'Upgrading MySQL' section from the MySQL manual.
2024-06-05T10:59:36.931876Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-06-05T10:59:38.429746Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.4.0) MySQL Community Server - GPL.
2024-06-05T10:59:38.429778Z 0 [System] [MY-015016] [Server] MySQL Server - end.
2024-06-05 19:13:48+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.4.0-1.el9 started.
2024-06-05 19:13:49+08:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2024-06-05 19:13:49+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.4.0-1.el9 started.
'/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
2024-06-05T11:13:49.864968Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2024-06-05T11:13:50.152259Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.4.0) starting as process 1
2024-06-05T11:13:50.170251Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-06-05T11:13:50.810191Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
mysqld: Table 'mysql.plugin' doesn't exist
2024-06-05T11:13:51.065671Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.
2024-06-05T11:13:51.066061Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T11:13:51.066421Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T11:13:51.066746Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T11:13:51.067186Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T11:13:51.067456Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T11:13:51.067698Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T11:13:51.067943Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T11:13:51.141402Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-06-05T11:13:51.171628Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-06-05T11:13:51.193397Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-06-05T11:13:51.193460Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-06-05T11:13:51.205358Z 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.
2024-06-05T11:13:51.206150Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T11:13:51.206592Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
2024-06-05T11:13:51.206725Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.
2024-06-05T11:13:51.208455Z 0 [ERROR] [MY-010326] [Server] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
2024-06-05T11:13:51.208656Z 0 [ERROR] [MY-010952] [Server] The privilege system failed to initialize correctly. For complete instructions on how to upgrade MySQL to a new version please see the 'Upgrading MySQL' section from the MySQL manual.
2024-06-05T11:13:51.208886Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-06-05T11:13:52.710292Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.4.0) MySQL Community Server - GPL.
2024-06-05T11:13:52.710551Z 0 [System] [MY-015016] [Server] MySQL Server - end.
2024-06-05 19:24:54+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.4.0-1.el9 started.
2024-06-05 19:24:54+08:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2024-06-05 19:24:54+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.4.0-1.el9 started.
'/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
2024-06-05T11:24:55.318844Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2024-06-05T11:24:55.605395Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.4.0) starting as process 1
2024-06-05T11:24:55.615298Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-06-05T11:24:56.260594Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
mysqld: Table 'mysql.plugin' doesn't exist
2024-06-05T11:24:56.518672Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.
2024-06-05T11:24:56.519046Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T11:24:56.519338Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T11:24:56.519657Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T11:24:56.520041Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T11:24:56.520285Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T11:24:56.520556Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T11:24:56.520834Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T11:24:56.621550Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-06-05T11:24:56.711800Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-06-05T11:24:56.739292Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-06-05T11:24:56.739561Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-06-05T11:24:56.750373Z 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.
2024-06-05T11:24:56.752216Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T11:24:56.752630Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
2024-06-05T11:24:56.752748Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.
2024-06-05T11:24:56.754745Z 0 [ERROR] [MY-010326] [Server] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
2024-06-05T11:24:56.754910Z 0 [ERROR] [MY-010952] [Server] The privilege system failed to initialize correctly. For complete instructions on how to upgrade MySQL to a new version please see the 'Upgrading MySQL' section from the MySQL manual.
2024-06-05T11:24:56.755155Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-06-05T11:24:58.275116Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.4.0) MySQL Community Server - GPL.
2024-06-05T11:24:58.275230Z 0 [System] [MY-015016] [Server] MySQL Server - end.
2024-06-05 19:27:18+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.4.0-1.el9 started.
2024-06-05 19:27:18+08:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2024-06-05 19:27:18+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.4.0-1.el9 started.
'/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
2024-06-05T11:27:19.308080Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2024-06-05T11:27:19.585826Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.4.0) starting as process 1
2024-06-05T11:27:19.599136Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-06-05T11:27:20.225505Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
mysqld: Table 'mysql.plugin' doesn't exist
2024-06-05T11:27:20.477393Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.
2024-06-05T11:27:20.477902Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T11:27:20.478379Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T11:27:20.478784Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T11:27:20.485595Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T11:27:20.486083Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T11:27:20.487848Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T11:27:20.488224Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T11:27:20.560849Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-06-05T11:27:20.654679Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-06-05T11:27:20.679602Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-06-05T11:27:20.680001Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-06-05T11:27:20.693347Z 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.
2024-06-05T11:27:20.694076Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-06-05T11:27:20.694481Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
2024-06-05T11:27:20.694626Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.
2024-06-05T11:27:20.696418Z 0 [ERROR] [MY-010326] [Server] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
2024-06-05T11:27:20.696584Z 0 [ERROR] [MY-010952] [Server] The privilege system failed to initialize correctly. For complete instructions on how to upgrade MySQL to a new version please see the 'Upgrading MySQL' section from the MySQL manual.
2024-06-05T11:27:20.696778Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-06-05T11:27:22.216224Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.4.0) MySQL Community Server - GPL.
2024-06-05T11:27:22.216348Z 0 [System] [MY-015016] [Server] MySQL Server - end.
The text was updated successfully, but these errors were encountered: