docker方式从4.3升级到4.4启动卡在Updating CA certificates

docker方式安装,4.3使用正常,修改yml文件使用seatable/seatable-developer:4.4.0,启动后访问报 502 Bad Gateway,查询容器日志

seatable | *** Running /etc/my_init.d/01_init.sh…
seatable | *** Booting runit daemon…
seatable | *** Runit started as PID 16
seatable | *** Running /templates/enterpoint.sh…
seatable | 2024-05-11 09:06:25 Conf exists
seatable | 2024-05-11 09:06:25 Nginx ready
seatable | 2024-05-11 09:06:25 Updating CA certificates…

一直等待没有出现Start server

#cat init.log
[2024-05-11 09:20:00] Conf exists
[2024-05-11 09:20:00] Nginx ready
[2024-05-11 09:20:00] Updating CA certificates…
Updating certificates in /etc/ssl/certs…
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d…
done.

#cat dtable-web.error.log
2024/05/11 09:29:51 [error] 31#31: *1 connect() failed (111: Connection refused) while connecting to upstream, client: xxx, server: xxx, request: “GET / HTTP/1.1”, upstream: “http://127.0.0.1:8000/”, host: “xxx:13443”, referrer: “https://xxx:19443/
2024/05/11 09:29:51 [error] 31#31: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 172.16.160.120, server: xxx, request: “GET /favicon.ico HTTP/1.1”, upstream: “http://127.0.0.1:8000/favicon.ico”, host: “xxx:13443”, referrer: “https://xxx:13443/

修改yml回退4.3正常

没有看到其他出错提示,请问可以从哪里排查下问题,谢谢。

原因是我没有使用数据库root用户安装,并且修改了3个库的数据库名。

实际卡在了/templates/enterpoint.sh
auto upgrade sql
/templates/seatable.sh python-env /templates/upgrade_sql.py &>> /opt/seatable/logs/init.lo

发现/opt/seatable/logs/init.log中大量waiting for mysql server to be ready: %s (1045, “Access denied for user ‘root’@‘192.168.80.4’ (using password: YES)”)错误

1、到/templates/upgrade_sql.py,注释wait_for_mysql()不执行
2、手工升级数据库/opt/seatable/seatable-server-latest/sql/mysql/upgrade/${*:2}/dtable.sql
3、更新版本号/shared/seatable/conf/current_version.txt