docker升级到18.7后一直302到upgrade.php

2023-10-08 13:19:28
Woo
  • 访问次数: 4
  • 注册日期: 2023-10-08
  • 最后登录: 2023-10-09
  • 我的积分: 61
  • 门派等级: 无门派

提示升级成功,然后访问一直302到upgrade.php,日志如下

[Sun Oct 08 13:06:37.732641 2023] [core:warn] [pid 474] AH00098: pid file /opt/zbox/tmp/apache/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Oct 08 13:06:37.735222 2023] [mpm_prefork:notice] [pid 474] AH00163: Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips configured -- resuming normal operations
[Sun Oct 08 13:06:37.735248 2023] [core:notice] [pid 474] AH00094: Command line: '/opt/zbox/run/apache/httpd -D FOREGROUND'
172.18.0.1 - - [08/Oct/2023:13:06:38 +0800] "GET /upgrade.php HTTP/1.1" 302 - "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 Edg/118.0.2088.27"
172.18.0.1 - - [08/Oct/2023:13:06:38 +0800] "GET /upgrade.php HTTP/1.1" 302 - "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 Edg/118.0.2088.27"
172.18.0.1 - - [08/Oct/2023:13:06:38 +0800] "GET /upgrade.php HTTP/1.1" 302 - "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 Edg/118.0.2088.27"
172.18.0.1 - - [08/Oct/2023:13:06:38 +0800] "GET /upgrade.php HTTP/1.1" 302 - "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 Edg/118.0.2088.27"
172.18.0.1 - - [08/Oct/2023:13:06:39 +0800] "GET /upgrade.php HTTP/1.1" 302 - "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 Edg/118.0.2088.27"


沙发
2023-10-08 16:11:57
❤️️‍️️️ 禅道 闫敏
  • 访问次数: 1645
  • 注册日期: 2019-03-11
  • 最后登录: 2024-04-29
  • 我的积分: 5578
  • 门派等级: 释迦 等级6

升级完成还是提示升级这个问题,一般是源码包文件覆盖不全导致的问题 

可以看下 zentao/VERSION 这个文件的内容和 数据库里面 zt_config 表里面 `key`='version' 的 value 的值 是否一致 ? 

或者重现覆盖代码,再升级一遍看看(操作前记得数据库要还原到升级前的状态)

另外咱们进支持群里面看看这个问题吧 

1/1 1