V3.5.3升级后出现core组件容器启动不了

  1. 进行数据库变更
    表结构变更可能需要一段时间, 请耐心等待
    jms_mysql is up-to-date
    jms_redis is up-to-date

ERROR: for core Container “04eda0ee1c9c” is unhealthy.
ERROR: Encountered errors while bringing up the project.
jms_mysql is up-to-date
jms_redis is up-to-date

ERROR: for core Container “04eda0ee1c9c” is unhealthy.
ERROR: Encountered errors while bringing up the project.
Error: No such container: jms_core
[ERROR] 表结构变更失败!

  1. 该问题为升级过程中 core 容器启动失败导致表结构变更中断。请先进入安装包目录执行 ./jmsctl.sh status 检查组件健康状态。
  2. core 容器状态为 unhealthy,需进入 /opt/jumpserver/logs/ 目录查看 core 组件日志(如 jumpserver.log),定位具体错误原因。
  3. 常见原因包括数据库连接异常、配置文件错误或表结构冲突。请确保数据库服务正常运行,并检查配置文件 /opt/jumpserver/config/config.txt 是否正确。
  4. 如此前有手动导入数据库操作,可能因表已存在引发冲突,可尝试还原备份后重新执行 ./jmsctl.sh upgrade 完成升级。