PGYER / codefever

CodeFever 是完全免费开源的 Git 代码托管服务,支持一行命令安装到自己服务器!CodeFever Community Edition (A Self-hosted Git Services)!
https://codefever.cn
MIT License
2.68k stars 280 forks source link

服务器更新,CodeFever 容器 重启后,整个应用被初始化,咨询原因 #198

Open xiaoxiao11200 opened 4 months ago

xiaoxiao11200 commented 4 months ago

部署方式: Docker-compose. 环境: Windows Server Docker-Desktop 问题: 服务器升级重启,Dock 镜像启动后, log 显示连接失败,然后重新构建了数据库和应用。 日志:

1712893517433 2024-04-11 21:20:01 [SYSLOG] CRON[46443]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp) 2024-04-11 21:20:01 [SYSLOG] sm-msp-queue[46459]: My unqualified host name (f3baf0a71226) unknown; sleeping for retry 2024-04-11 21:21:01 [SYSLOG] sm-msp-queue[46459]: unable to qualify my own domain name (f3baf0a71226) -- using short name 2024-04-11 21:21:01 [SYSLOG] sm-msp-queue[46459]: 4387L1sF041067: to=postmaster, delay=3+06:00:00, xdelay=00:00:00, mailer=relay, pri=21099249, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] 2024-04-11 21:21:01 [SYSLOG] sm-msp-queue[46459]: 4383L1p9040790: to=postmaster, delay=3+10:00:00, xdelay=00:00:00, mailer=relay, pri=22177665, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] 2024-04-11 21:40:01 [SYSLOG] CRON[46464]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp) 2024-04-11 21:40:01 [SYSLOG] sm-msp-queue[46480]: My unqualified host name (f3baf0a71226) unknown; sleeping for retry 2024-04-11 21:41:01 [SYSLOG] sm-msp-queue[46480]: unable to qualify my own domain name (f3baf0a71226) -- using short name 2024-04-11 21:41:01 [SYSLOG] sm-msp-queue[46480]: 4387L1sF041067: to=postmaster, delay=3+06:20:00, xdelay=00:00:00, mailer=relay, pri=21189249, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] 2024-04-11 21:41:01 [SYSLOG] sm-msp-queue[46480]: 4383L1p9040790: to=postmaster, delay=3+10:20:00, xdelay=00:00:00, mailer=relay, pri=22267665, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] 2024-04-11 22:00:01 [SYSLOG] CRON[46485]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp) 2024-04-11 22:00:01 [SYSLOG] sm-msp-queue[46501]: My unqualified host name (f3baf0a71226) unknown; sleeping for retry 2024-04-11 22:01:01 [SYSLOG] sm-msp-queue[46501]: unable to qualify my own domain name (f3baf0a71226) -- using short name 2024-04-11 22:01:01 [SYSLOG] sm-msp-queue[46501]: 4387L1sF041067: to=postmaster, delay=3+06:40:00, xdelay=00:00:00, mailer=relay, pri=21279249, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] 2024-04-11 22:01:01 [SYSLOG] sm-msp-queue[46501]: 4383L1p9040790: to=postmaster, delay=3+10:40:00, xdelay=00:00:00, mailer=relay, pri=22357665, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] 2024-04-11 22:17:01 [SYSLOG] CRON[46506]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) 2024-04-11 22:20:01 [SYSLOG] CRON[46510]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp) 2024-04-11 22:20:01 [SYSLOG] sm-msp-queue[46526]: My unqualified host name (f3baf0a71226) unknown; sleeping for retry 2024-04-11 22:21:01 [SYSLOG] sm-msp-queue[46526]: unable to qualify my own domain name (f3baf0a71226) -- using short name 2024-04-11 22:21:01 [SYSLOG] sm-msp-queue[46526]: 4387L1sF041067: to=postmaster, delay=3+07:00:00, xdelay=00:00:00, mailer=relay, pri=21369249, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] 2024-04-11 22:21:01 [SYSLOG] sm-msp-queue[46526]: 4383L1p9040790: to=postmaster, delay=3+11:00:00, xdelay=00:00:00, mailer=relay, pri=22447665, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] 2024-04-11 22:40:01 [SYSLOG] CRON[46531]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp) 2024-04-11 22:40:01 [SYSLOG] sm-msp-queue[46547]: My unqualified host name (f3baf0a71226) unknown; sleeping for retry 2024-04-11 22:41:01 [SYSLOG] sm-msp-queue[46547]: unable to qualify my own domain name (f3baf0a71226) -- using short name 2024-04-11 22:41:01 [SYSLOG] sm-msp-queue[46547]: 4387L1sF041067: to=postmaster, delay=3+07:20:00, xdelay=00:00:00, mailer=relay, pri=21459249, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] 2024-04-11 22:41:01 [SYSLOG] sm-msp-queue[46547]: 4383L1p9040790: to=postmaster, delay=3+11:20:00, xdelay=00:00:00, mailer=relay, pri=22537665, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] 2024-04-11 23:00:01 [SYSLOG] CRON[46552]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp) 2024-04-11 23:00:01 [SYSLOG] sm-msp-queue[46568]: My unqualified host name (f3baf0a71226) unknown; sleeping for retry 2024-04-11 23:01:01 [SYSLOG] sm-msp-queue[46568]: unable to qualify my own domain name (f3baf0a71226) -- using short name 2024-04-11 23:01:01 [SYSLOG] sm-msp-queue[46568]: 4387L1sF041067: to=postmaster, delay=3+07:40:00, xdelay=00:00:00, mailer=relay, pri=21549249, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] 2024-04-11 23:01:01 [SYSLOG] sm-msp-queue[46568]: 4383L1p9040790: to=postmaster, delay=3+11:40:00, xdelay=00:00:00, mailer=relay, pri=22627665, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] 2024-04-11 23:17:01 [SYSLOG] CRON[46573]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) 2024-04-11 23:20:01 [SYSLOG] CRON[46577]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp) 2024-04-11 23:20:01 [SYSLOG] sm-msp-queue[46593]: My unqualified host name (f3baf0a71226) unknown; sleeping for retry 2024-04-11 23:21:01 [SYSLOG] sm-msp-queue[46593]: unable to qualify my own domain name (f3baf0a71226) -- using short name 2024-04-11 23:21:01 [SYSLOG] sm-msp-queue[46593]: 4387L1sF041067: to=postmaster, delay=3+08:00:00, xdelay=00:00:00, mailer=relay, pri=21639249, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] 2024-04-11 23:21:01 [SYSLOG] sm-msp-queue[46593]: 4383L1p9040790: to=postmaster, delay=3+12:00:00, xdelay=00:00:00, mailer=relay, pri=22717665, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] 2024-04-11 23:40:01 [SYSLOG] CRON[46598]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp) 2024-04-11 23:40:01 [SYSLOG] sm-msp-queue[46614]: My unqualified host name (f3baf0a71226) unknown; sleeping for retry 2024-04-11 23:41:01 [SYSLOG] sm-msp-queue[46614]: unable to qualify my own domain name (f3baf0a71226) -- using short name 2024-04-11 23:41:01 [SYSLOG] sm-msp-queue[46614]: 4387L1sF041067: to=postmaster, delay=3+08:20:00, xdelay=00:00:00, mailer=relay, pri=21729249, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] 2024-04-11 23:41:01 [SYSLOG] sm-msp-queue[46614]: 4383L1p9040790: to=postmaster, delay=3+12:20:00, xdelay=00:00:00, mailer=relay, pri=22807665, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] 2024-04-12 00:00:01 [SYSLOG] CRON[46619]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp) 2024-04-12 00:00:01 [SYSLOG] sm-msp-queue[46635]: My unqualified host name (f3baf0a71226) unknown; sleeping for retry 2024-04-12 00:01:01 [SYSLOG] sm-msp-queue[46635]: unable to qualify my own domain name (f3baf0a71226) -- using short name 2024-04-12 00:01:01 [SYSLOG] sm-msp-queue[46635]: 4387L1sF041067: to=postmaster, delay=3+08:40:00, xdelay=00:00:00, mailer=relay, pri=21819249, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] 2024-04-12 00:01:01 [SYSLOG] sm-msp-queue[46635]: 4383L1p9040790: to=postmaster, delay=3+12:40:00, xdelay=00:00:00, mailer=relay, pri=22897665, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] 2024-04-12 00:17:01 [SYSLOG] CRON[46640]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) 2024-04-12 00:20:01 [SYSLOG] CRON[46644]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp) 2024-04-12 00:20:01 [SYSLOG] sm-msp-queue[46660]: My unqualified host name (f3baf0a71226) unknown; sleeping for retry 2024-04-12 00:21:01 [SYSLOG] sm-msp-queue[46660]: unable to qualify my own domain name (f3baf0a71226) -- using short name 2024-04-12 00:21:01 [SYSLOG] sm-msp-queue[46660]: 4387L1sF041067: to=postmaster, delay=3+09:00:00, xdelay=00:00:00, mailer=relay, pri=21909249, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] 2024-04-12 00:21:01 [SYSLOG] sm-msp-queue[46660]: 4383L1p9040790: to=postmaster, delay=3+13:00:00, xdelay=00:00:00, mailer=relay, pri=22987665, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] 2024-04-12 00:40:01 [SYSLOG] CRON[46665]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp) 2024-04-12 00:40:01 [SYSLOG] sm-msp-queue[46681]: My unqualified host name (f3baf0a71226) unknown; sleeping for retry 2024-04-12 00:41:01 [SYSLOG] sm-msp-queue[46681]: unable to qualify my own domain name (f3baf0a71226) -- using short name 2024-04-12 00:41:01 [SYSLOG] sm-msp-queue[46681]: 4387L1sF041067: to=postmaster, delay=3+09:20:00, xdelay=00:00:00, mailer=relay, pri=21999249, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] 2024-04-12 00:41:01 [SYSLOG] sm-msp-queue[46681]: 4383L1p9040790: to=postmaster, delay=3+13:20:00, xdelay=00:00:00, mailer=relay, pri=23077665, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] 2024-04-12 01:00:01 [SYSLOG] CRON[46686]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp) 2024-04-12 01:00:01 [SYSLOG] sm-msp-queue[46702]: My unqualified host name (f3baf0a71226) unknown; sleeping for retry 2024-04-12 01:01:01 [SYSLOG] sm-msp-queue[46702]: unable to qualify my own domain name (f3baf0a71226) -- using short name 2024-04-12 01:01:01 [SYSLOG] sm-msp-queue[46702]: 4387L1sF041067: to=postmaster, delay=3+09:40:00, xdelay=00:00:00, mailer=relay, pri=22089249, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] 2024-04-12 01:01:01 [SYSLOG] sm-msp-queue[46702]: 4383L1p9040790: to=postmaster, delay=3+13:40:00, xdelay=00:00:00, mailer=relay, pri=23167665, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] 2024-04-12 01:17:01 [SYSLOG] CRON[46707]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) 2024-04-12 01:20:01 [SYSLOG] CRON[46711]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp) 2024-04-12 01:20:01 [SYSLOG] sm-msp-queue[46727]: My unqualified host name (f3baf0a71226) unknown; sleeping for retry 2024-04-12 01:21:01 [SYSLOG] sm-msp-queue[46727]: unable to qualify my own domain name (f3baf0a71226) -- using short name 2024-04-12 01:21:01 [SYSLOG] sm-msp-queue[46727]: 4387L1sF041067: to=postmaster, delay=3+10:00:00, xdelay=00:00:00, mailer=relay, pri=22179249, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] 2024-04-12 01:21:01 [SYSLOG] sm-msp-queue[46727]: 4383L1p9040790: to=postmaster, delay=3+14:00:00, xdelay=00:00:00, mailer=relay, pri=23257665, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] 2024-04-12 01:40:01 [SYSLOG] CRON[46732]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp) 2024-04-12 01:40:01 [SYSLOG] sm-msp-queue[46748]: My unqualified host name (f3baf0a71226) unknown; sleeping for retry 2024-04-12 01:41:01 [SYSLOG] sm-msp-queue[46748]: unable to qualify my own domain name (f3baf0a71226) -- using short name 2024-04-12 01:41:01 [SYSLOG] sm-msp-queue[46748]: 4387L1sF041067: to=postmaster, delay=3+10:20:00, xdelay=00:00:00, mailer=relay, pri=22269249, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] 2024-04-12 01:41:01 [SYSLOG] sm-msp-queue[46748]: 4383L1p9040790: to=postmaster, delay=3+14:20:00, xdelay=00:00:00, mailer=relay, pri=23347665, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] 2024-04-12 02:00:01 [SYSLOG] CRON[46753]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp) 2024-04-12 02:00:01 [SYSLOG] sm-msp-queue[46769]: My unqualified host name (f3baf0a71226) unknown; sleeping for retry 2024-04-12 02:01:01 [SYSLOG] sm-msp-queue[46769]: unable to qualify my own domain name (f3baf0a71226) -- using short name 2024-04-12 02:01:01 [SYSLOG] sm-msp-queue[46769]: 4387L1sF041067: to=postmaster, delay=3+10:40:00, xdelay=00:00:00, mailer=relay, pri=22359249, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] 2024-04-12 02:01:01 [SYSLOG] sm-msp-queue[46769]: 4383L1p9040790: to=postmaster, delay=3+14:40:00, xdelay=00:00:00, mailer=relay, pri=23437665, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] 2024-04-12 02:17:01 [SYSLOG] CRON[46774]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) 2024-04-12 02:20:01 [SYSLOG] CRON[46778]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp) 2024-04-12 02:20:01 [SYSLOG] sm-msp-queue[46794]: My unqualified host name (f3baf0a71226) unknown; sleeping for retry 2024-04-12 02:21:01 [SYSLOG] sm-msp-queue[46794]: unable to qualify my own domain name (f3baf0a71226) -- using short name 2024-04-12 02:21:01 [SYSLOG] sm-msp-queue[46794]: 4387L1sF041067: to=postmaster, delay=3+11:00:00, xdelay=00:00:00, mailer=relay, pri=22449249, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] 2024-04-12 02:21:01 [SYSLOG] sm-msp-queue[46794]: 4383L1p9040790: to=postmaster, delay=3+15:00:00, xdelay=00:00:00, mailer=relay, pri=23527665, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] 2024-04-12 02:40:01 [SYSLOG] CRON[46799]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail && /usr/share/sendmail/sendmail cron-msp) 2024-04-12 02:40:01 [SYSLOG] sm-msp-queue[46815]: My unqualified host name (f3baf0a71226) unknown; sleeping for retry 2024-04-12 02:41:01 [SYSLOG] sm-msp-queue[46815]: unable to qualify my own domain name (f3baf0a71226) -- using short name 2024-04-12 02:41:01 [SYSLOG] sm-msp-queue[46815]: 4387L1sF041067: to=postmaster, delay=3+11:20:00, xdelay=00:00:00, mailer=relay, pri=22539249, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] _2024-04-12 02:41:01 [SYSLOG] sm-msp-queue[46815]: 4383L1p9040790: to=postmaster, delay=3+15:20:00, xdelay=00:00:00, mailer=relay, pri=23617665, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] 2024-04-12 11:26:31 -> Executing /opt/docker/provision/entrypoint.d/05-permissions.sh 2024-04-12 11:26:31 -> Executing /opt/docker/provision/entrypoint.d/20-codefever.sh 2024-04-12 11:26:42 Database created! 2024-04-12 11:26:42 Data structure created! 2024-04-12 11:26:42 Default data created! 2024-04-12 11:26:42 Done! 2024-04-12 11:26:42 -e 2024-04-12 11:26:42 2024-04-12 11:26:42 2024-04-12 11:26:42 2024-04-12 11:26:42 === IMPORTANT NOTICE === 2024-04-12 11:26:42 1. Codefever community version is installed. 2024-04-12 11:26:42 2. Type http://127.0.0.1 OR http:// to login. 2024-04-12 11:26:42 3. Default login email: root@codefever.cn, password: 123456 . 2024-04-12 11:26:42 -> Executing /opt/docker/provision/entrypoint.d/20-nginx.sh 2024-04-12 11:26:42 -> Executing /opt/docker/provision/entrypoint.d/20-php-fpm.sh 2024-04-12 11:26:42 -> Executing /opt/docker/provision/entrypoint.d/20-php.sh 2024-04-12 11:26:43 -> Executing /opt/docker/bin/service.d/supervisor.d//10-init.sh_ 2024-04-12 11:26:44 2024-04-12 03:26:44,355 INFO Included extra file "/opt/docker/etc/supervisor.d/codefever-http-gateway.conf" during parsing 2024-04-12 11:26:44 2024-04-12 03:26:44,355 INFO Included extra file "/opt/docker/etc/supervisor.d/codefever-modify-authorized-keys.conf" during parsing 2024-04-12 11:26:44 2024-04-12 03:26:44,355 INFO Included extra file "/opt/docker/etc/supervisor.d/cron.conf" during parsing 2024-04-12 11:26:42 ERROR 1049 (42000) at line 1: Unknown database 'codefever_community' 2024-04-12 11:26:42 ./create_db.sh: 2: [: -ne: unexpected operator 2024-04-12 11:26:44 Unlinking stale socket /.supervisor.sock 2024-04-12 11:26:46 2024/04/12 03:26:45 [notice] 97#97: using the "epoll" event method 2024-04-12 11:26:46 2024/04/12 03:26:45 [notice] 97#97: nginx/1.22.0 2024-04-12 11:26:46 2024/04/12 03:26:45 [notice] 97#97: built by gcc 8.3.0 (Debian 8.3.0-6) 2024-04-12 11:26:46 2024/04/12 03:26:45 [notice] 97#97: OS: Linux 5.15.133.1-microsoft-standard-WSL2 2024-04-12 11:26:46 2024/04/12 03:26:45 [notice] 97#97: getrlimit(RLIMIT_NOFILE): 1048576:1048576 2024-04-12 11:26:46 2024/04/12 03:26:45 [notice] 97#97: start worker processes 2024-04-12 11:26:46 2024/04/12 03:26:45 [notice] 97#97: start worker process 123 2024-04-12 11:26:46 2024/04/12 03:26:45 [notice] 97#97: start worker process 124 2024-04-12 11:26:46 2024/04/12 03:26:45 [notice] 97#97: start worker process 125 2024-04-12 11:26:46 2024/04/12 03:26:45 [notice] 97#97: start worker process 126 2024-04-12 11:26:46 2024/04/12 03:26:45 [notice] 97#97: start worker process 127 2024-04-12 11:26:46 2024/04/12 03:26:45 [notice] 97#97: start worker process 128 2024-04-12 11:26:46 2024/04/12 03:26:45 [notice] 97#97: start worker process 129 2024-04-12 11:26:46 2024/04/12 03:26:45 [notice] 97#97: start worker process 130 2024-04-12 11:26:46 [2024-04-12T03:26:46.891419] WARNING: With use-dns(no), dns-cache() will be forced to 'no' too!; 2024-04-12 11:26:47 2024/04/12 03:26:47 [error] 123#123: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 172.22.0.1, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "vtisqinapp012:10010" 2024-04-12 11:26:49 [12-Apr-2024 03:26:49] NOTICE: fpm is running, pid 98 2024-04-12 11:26:49 [12-Apr-2024 03:26:49] NOTICE: ready to handle connections 2024-04-12 11:26:50 [php-fpm:access] 127.0.0.1 - 12/Apr/2024:03:26:49 +0000 "GET /index.php" 302 /data/www/codefever-community/www/index.php 693.074 2048 11.54% 2024-04-12 11:26:44 2024-04-12 03:26:44,355 INFO Included extra file "/opt/docker/etc/supervisor.d/dnsmasq.conf" during parsing 2024-04-12 11:26:44 2024-04-12 03:26:44,355 INFO Included extra file "/opt/docker/etc/supervisor.d/nginx.conf" during parsing 2024-04-12 11:26:44 2024-04-12 03:26:44,355 INFO Included extra file "/opt/docker/etc/supervisor.d/php-fpm.conf" during parsing 2024-04-12 11:26:44 2024-04-12 03:26:44,355 INFO Included extra file "/opt/docker/etc/supervisor.d/postfix.conf" during parsing 2024-04-12 11:26:44 2024-04-12 03:26:44,355 INFO Included extra file "/opt/docker/etc/supervisor.d/ssh.conf" during parsing 2024-04-12 11:26:44 2024-04-12 03:26:44,355 INFO Included extra file "/opt/docker/etc/supervisor.d/syslog.conf" during parsing 2024-04-12 11:26:44 2024-04-12 03:26:44,355 INFO Set uid to user 0 succeeded 2024-04-12 11:26:44 2024-04-12 03:26:44,675 INFO RPC interface 'supervisor' initialized 2024-04-12 11:26:44 2024-04-12 03:26:44,675 INFO supervisord started with pid 1 2024-04-12 11:26:45 2024-04-12 03:26:45,677 INFO spawned: 'syslogd' with pid 95 2024-04-12 11:26:45 2024-04-12 03:26:45,679 INFO spawned: 'codefever-modify-authorized-keys' with pid 96 2024-04-12 11:26:45 2024-04-12 03:26:45,681 INFO spawned: 'nginxd' with pid 97 2024-04-12 11:26:45 2024-04-12 03:26:45,683 INFO spawned: 'php-fpmd' with pid 98 2024-04-12 11:26:45 2024-04-12 03:26:45,704 INFO spawned: 'codefever-http-gateway' with pid 99 2024-04-12 11:26:45 2024-04-12 03:26:45,706 INFO spawned: 'crond' with pid 100 2024-04-12 11:26:45 2024-04-12 03:26:45,708 INFO spawned: 'sshd' with pid 101 2024-04-12 11:26:45 -> Executing /opt/docker/bin/service.d/syslog-ng.d//10-init.sh 2024-04-12 11:26:45 2024-04-12 03:26:45,732 INFO success: codefever-modify-authorized-keys entered RUNNING state, process has stayed up for

xiaoxiao11200 commented 4 months ago

这是配置文件: { "Id": "f3baf0a7122664375bbb79f8388ca5608efd086cee7705fc39e3f75888a3d3b8", "Created": "2024-03-11T07:11:25.495225605Z", "Path": "/entrypoint", "Args": [ "supervisord" ], "State": { "Status": "running", "Running": true, "Paused": false, "Restarting": false, "OOMKilled": false, "Dead": false, "Pid": 3429, "ExitCode": 0, "Error": "", "StartedAt": "2024-04-12T03:32:46.327589001Z", "FinishedAt": "2024-04-12T03:27:19.430275831Z" }, "Image": "sha256:ae003fb5806058642210fa4fea9c5cb9aa32ffe537ee8592fc8b6eaab78a4e3c", "ResolvConfPath": "/var/lib/docker/containers/f3baf0a7122664375bbb79f8388ca5608efd086cee7705fc39e3f75888a3d3b8/resolv.conf", "HostnamePath": "/var/lib/docker/containers/f3baf0a7122664375bbb79f8388ca5608efd086cee7705fc39e3f75888a3d3b8/hostname", "HostsPath": "/var/lib/docker/containers/f3baf0a7122664375bbb79f8388ca5608efd086cee7705fc39e3f75888a3d3b8/hosts", "LogPath": "/var/lib/docker/containers/f3baf0a7122664375bbb79f8388ca5608efd086cee7705fc39e3f75888a3d3b8/f3baf0a7122664375bbb79f8388ca5608efd086cee7705fc39e3f75888a3d3b8-json.log", "Name": "/codefever-codefever-1", "RestartCount": 0, "Driver": "overlay2", "Platform": "linux", "MountLabel": "", "ProcessLabel": "", "AppArmorProfile": "", "ExecIDs": null, "HostConfig": { "Binds": [ "/data/git-storage:/data/www/codefever-community/git-storage:rw", "/data/logs:/data/www/codefever-community/application/logs:rw" ], "ContainerIDFile": "", "LogConfig": { "Type": "json-file", "Config": {} }, "NetworkMode": "codefever_default", "PortBindings": { "22/tcp": [ { "HostIp": "", "HostPort": "10011" } ], "80/tcp": [ { "HostIp": "", "HostPort": "10010" } ] }, "RestartPolicy": { "Name": "no", "MaximumRetryCount": 0 }, "AutoRemove": false, "VolumeDriver": "", "VolumesFrom": null, "ConsoleSize": [ 0, 0 ], "CapAdd": null, "CapDrop": null, "CgroupnsMode": "host", "Dns": [], "DnsOptions": [], "DnsSearch": [], "ExtraHosts": [], "GroupAdd": null, "IpcMode": "private", "Cgroup": "", "Links": null, "OomScoreAdj": 0, "PidMode": "", "Privileged": false, "PublishAllPorts": false, "ReadonlyRootfs": false, "SecurityOpt": null, "UTSMode": "", "UsernsMode": "", "ShmSize": 67108864, "Runtime": "runc", "Isolation": "", "CpuShares": 0, "Memory": 0, "NanoCpus": 0, "CgroupParent": "", "BlkioWeight": 0, "BlkioWeightDevice": null, "BlkioDeviceReadBps": null, "BlkioDeviceWriteBps": null, "BlkioDeviceReadIOps": null, "BlkioDeviceWriteIOps": null, "CpuPeriod": 0, "CpuQuota": 0, "CpuRealtimePeriod": 0, "CpuRealtimeRuntime": 0, "CpusetCpus": "", "CpusetMems": "", "Devices": null, "DeviceCgroupRules": null, "DeviceRequests": null, "MemoryReservation": 0, "MemorySwap": 0, "MemorySwappiness": null, "OomKillDisable": false, "PidsLimit": null, "Ulimits": null, "CpuCount": 0, "CpuPercent": 0, "IOMaximumIOps": 0, "IOMaximumBandwidth": 0, "MaskedPaths": [ "/proc/asound", "/proc/acpi", "/proc/kcore", "/proc/keys", "/proc/latency_stats", "/proc/timer_list", "/proc/timer_stats", "/proc/sched_debug", "/proc/scsi", "/sys/firmware", "/sys/devices/virtual/powercap" ], "ReadonlyPaths": [ "/proc/bus", "/proc/fs", "/proc/irq", "/proc/sys", "/proc/sysrq-trigger" ] }, "GraphDriver": { "Data": { "LowerDir": "/var/lib/docker/overlay2/dd14da00327a9bf24a44b69906d9f077e0b32fe9ef90751bd0fd4dd636c5f4d2-init/diff:/var/lib/docker/overlay2/b6ab108eee6cdc1c0519279b8b56bed607660397f008876a3cf14560aac8aafe/diff:/var/lib/docker/overlay2/0f51040efe4db741816da36cb18fb542e0747f715d53642d2a7d797ed4a7efcd/diff:/var/lib/docker/overlay2/341e02119f1018b17725dd91a2fae3378a7683711c89c91f8fad4262c58b98ff/diff:/var/lib/docker/overlay2/c7e4a5e85eb42d0e301806ccd4d1ce8b0df2e06919857e96bbe1e3b44eb211cf/diff:/var/lib/docker/overlay2/d6dd18634491e52af13d2e3ba99f76d2b24fb1909af0234ede4526a0ca716941/diff:/var/lib/docker/overlay2/5acf5ebe4096adb0274ded01ec33a14471ed1423d6350fdf37ceab636a5af4b9/diff:/var/lib/docker/overlay2/db6be6b948352b4c0bb7122dfaca8c164995b0cfbb73be26bd228caed44ed7a0/diff:/var/lib/docker/overlay2/4ce75796a0bdc149f23b89525a8261bfa34ac907b703fa9725aa199154bc7695/diff:/var/lib/docker/overlay2/895e8d1b8337ee318e6f9434b2eaa9803fb80a426931f01a3be8841cc38b3d3e/diff:/var/lib/docker/overlay2/d1dc9631a24a77604bf33dc5927aec7edaa7c511f6da010494e13c2168fc67bd/diff:/var/lib/docker/overlay2/43264c9c2793d0df07b007169d65beea9d38cfc2be28519b802808f7a662ba3f/diff:/var/lib/docker/overlay2/0c9e601e9c3e9eb178e2f4be3d9878fdd5de3f148626c2e1d2a308c8c55e7c28/diff:/var/lib/docker/overlay2/8798dff9f0942c6e7a0c8ab0142c96376150ac1b68f140575e3cc232673c3ad8/diff:/var/lib/docker/overlay2/126610bcf156f600b8b0fb44caecc899babf0ce2991b98e4918900e51aedc3cf/diff:/var/lib/docker/overlay2/419694919fed69f0168b4cc54fd2aa93404398d8270e89ea2ec2a9f34e231363/diff:/var/lib/docker/overlay2/2bcdaaf215514531ed7191f85bc479417bee91aa0ec3f8a73aecae06e86b2a7a/diff:/var/lib/docker/overlay2/7eddcb1c74d4607807c036e093b6940b7c997a51160784ee8777301c8e2eae34/diff:/var/lib/docker/overlay2/1db62a1827efb28efc31ed29f4be9f81ecfaa5d9aaa34551aff6f68d3a65bdac/diff:/var/lib/docker/overlay2/71df156ebc764f202ee0f6d4fc29b52dc76acb3dc68410fa526f86e0495c412e/diff:/var/lib/docker/overlay2/db38403a515510a3bb7c1f6966da3031898e24a7e4414d3854af0640aabd6518/diff:/var/lib/docker/overlay2/e8d7066b58c33ef6f2146505ae15c10d29f7fa0903257d146511bb5fd54cc336/diff:/var/lib/docker/overlay2/7fb61789b9a10172ebb8c82d58a35a96572a5b018f9a0c63ede8539b67cf7276/diff:/var/lib/docker/overlay2/6a6577b0aaa5eaf4543667fff73af305b524e599dc513ea3814da879f7330832/diff:/var/lib/docker/overlay2/e4075256f888f03683115279e4361e29bfda9f4fa56cdfff3e2ac8ef43676e8c/diff:/var/lib/docker/overlay2/14a1601702a1ed3fc6f082363a56e74af7fd231f19478a18d60dbec7257b8ed5/diff:/var/lib/docker/overlay2/24a9077ced3c05f92c3a3017aaa8aafb5f0a222033b52bfcd9bb7935fb82bc6e/diff:/var/lib/docker/overlay2/9b7428b77dd6dfeafb3828d990ef907c08b22d59f7f01897f878e18e4a0c3ddf/diff:/var/lib/docker/overlay2/a5f49090503eb574e86e652738926f30d06a8a75ab2fa84f4ef797911a5bd864/diff:/var/lib/docker/overlay2/6496e7d36577be92fa392ea7d6cdbc88d574c6451302c0d398599dee65a4d162/diff:/var/lib/docker/overlay2/8e305a98bad5f15ae05a29e5ebc7aeeb52c071139c50d613f899e6587b983fb3/diff", "MergedDir": "/var/lib/docker/overlay2/dd14da00327a9bf24a44b69906d9f077e0b32fe9ef90751bd0fd4dd636c5f4d2/merged", "UpperDir": "/var/lib/docker/overlay2/dd14da00327a9bf24a44b69906d9f077e0b32fe9ef90751bd0fd4dd636c5f4d2/diff", "WorkDir": "/var/lib/docker/overlay2/dd14da00327a9bf24a44b69906d9f077e0b32fe9ef90751bd0fd4dd636c5f4d2/work" }, "Name": "overlay2" }, "Mounts": [ { "Type": "bind", "Source": "/data/logs", "Destination": "/data/www/codefever-community/application/logs", "Mode": "rw", "RW": true, "Propagation": "rprivate" }, { "Type": "bind", "Source": "/data/git-storage", "Destination": "/data/www/codefever-community/git-storage", "Mode": "rw", "RW": true, "Propagation": "rprivate" } ], "Config": { "Hostname": "f3baf0a71226", "Domainname": "", "User": "", "AttachStdin": false, "AttachStdout": true, "AttachStderr": true, "ExposedPorts": { "22/tcp": {}, "443/tcp": {}, "80/tcp": {}, "9000/tcp": {} }, "Tty": false, "OpenStdin": false, "StdinOnce": false, "Env": [ "DB_USER=root", "DB_PASS=123456", "DB_NAME=codefever_community", "DB_HOST=db", "DB_PORT=3306", "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", "PHPIZE_DEPS=autoconf \t\tdpkg-dev \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkg-config \t\tre2c", "PHP_INI_DIR=/usr/local/etc/php", "PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64", "PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64", "PHP_LDFLAGS=-Wl,-O1 -pie", "GPG_KEYS=42670A7FE4D0441C8E4632349E4FDC074A4EF02D 5A52880781F755608BF815FC910DEB46F53EA312", "PHP_VERSION=7.4.30", "PHP_URL=https://www.php.net/distributions/php-7.4.30.tar.xz", "PHP_ASC_URL=https://www.php.net/distributions/php-7.4.30.tar.xz.asc", "PHP_SHA256=ea72a34f32c67e79ac2da7dfe96177f3c451c3eefae5810ba13312ed398ba70d", "TERM=xterm", "LANG=C.UTF-8", "LC_ALL=C.UTF-8", "DOCKER_CONF_HOME=/opt/docker/", "LOG_STDOUT=", "LOG_STDERR=", "APPLICATION_USER=application", "APPLICATION_GROUP=application", "APPLICATION_PATH=/app", "APPLICATION_UID=1000", "APPLICATION_GID=1000", "PHP_SENDMAIL_PATH=/usr/sbin/sendmail -t -i", "COMPOSER_VERSION=2", "WEB_DOCUMENT_ROOT=/app", "WEB_DOCUMENT_INDEX=index.php", "WEB_ALIAS_DOMAIN=*.vm", "WEB_PHP_TIMEOUT=600", "WEB_PHP_SOCKET=127.0.0.1:9000", "SERVICE_NGINX_CLIENT_MAX_BODY_SIZE=50m", "GO111MODULE=off" ], "Cmd": [ "supervisord" ], "Image": "pgyer/codefever-community-lite:latest", "Volumes": null, "WorkingDir": "/", "Entrypoint": [ "/entrypoint" ], "OnBuild": null, "Labels": { "com.docker.compose.config-hash": "735338ac7355ab38015e76aebe2d0a8e43e7243f82d917deb4a8756262c52a29", "com.docker.compose.container-number": "1", "com.docker.compose.depends_on": "db:service_started:false", "com.docker.compose.image": "sha256:ae003fb5806058642210fa4fea9c5cb9aa32ffe537ee8592fc8b6eaab78a4e3c", "com.docker.compose.oneoff": "False", "com.docker.compose.project": "codefever", "com.docker.compose.project.config_files": "D:\Docker\codefever\docker-compose.yml", "com.docker.compose.project.working_dir": "D:\Docker\codefever", "com.docker.compose.service": "codefever", "com.docker.compose.version": "2.24.5", "io.webdevops.layout": "8", "io.webdevops.version": "1.5.0", "maintainer": "info@webdevops.io", "vendor": "WebDevOps.io" }, "StopSignal": "SIGQUIT" }, "NetworkSettings": { "Bridge": "", "SandboxID": "197e3ab4c63c9f28387cc6bdda2ea28529321ce25120fef97be10780c2eeabcb", "SandboxKey": "/var/run/docker/netns/197e3ab4c63c", "Ports": { "22/tcp": [ { "HostIp": "0.0.0.0", "HostPort": "10011" } ], "443/tcp": null, "80/tcp": [ { "HostIp": "0.0.0.0", "HostPort": "10010" } ], "9000/tcp": null }, "HairpinMode": false, "LinkLocalIPv6Address": "", "LinkLocalIPv6PrefixLen": 0, "SecondaryIPAddresses": null, "SecondaryIPv6Addresses": null, "EndpointID": "", "Gateway": "", "GlobalIPv6Address": "", "GlobalIPv6PrefixLen": 0, "IPAddress": "", "IPPrefixLen": 0, "IPv6Gateway": "", "MacAddress": "", "Networks": { "codefever_default": { "IPAMConfig": null, "Links": null, "Aliases": [ "codefever-codefever-1", "codefever", "f3baf0a71226" ], "MacAddress": "02:42:ac:16:00:03", "NetworkID": "1ac1a6d0f2d6bd941c84e916c732a0cf47ca61cbfd91108aaf0864cc915171ae", "EndpointID": "f5c925b4edb0189b625d80e0695740ace363c284facd857172efcc40333e7eb8", "Gateway": "172.22.0.1", "IPAddress": "172.22.0.3", "IPPrefixLen": 16, "IPv6Gateway": "", "GlobalIPv6Address": "", "GlobalIPv6PrefixLen": 0, "DriverOpts": null, "DNSNames": [ "codefever-codefever-1", "codefever", "f3baf0a71226" ] } } } }