禅道15.7.1升级到18.13的过程中出现502错误已解决 悬赏5积分
我的禅道是通过nginx+php搭建的,将新版本的禅道文件覆盖旧版本后执行升级的过程中,网页出现502错误,开启debug模式 upgrade.20241204.log.php文件的最后20行是
SELECT * FROM zt_doc
wHeRe module
!= '0'
SELECT * FROM zt_module
wHeRe type
= 'doc'
2024-12-04 17:39:10 Execute 16_3
2024-12-04 17:39:10 Run Method execSQL
2024-12-04 17:39:10 ALTER TABLE zt_kanban
MODIFY COLUMN archived
enum('0','1') NOT NULL DEFAULT '1'
2024-12-04 17:39:10 ALTER TABLE zt_bug
add issueKey
varchar(50) NOT NULL DEFAULT '' AFTER repoType
2024-12-04 17:39:11 Execute 16_4
2024-12-04 17:39:11 Run Method execSQL
2024-12-04 17:39:11 ALTER TABLE zt_userquery
ADD common
enum('0','1') NOT NULL DEFAULT '0'
2024-12-04 17:39:11 ALTER TABLE zt_project
ADD vision
varchar(10) NOT NULL DEFAULT 'rnd' AFTER order
2024-12-04 17:39:11 ALTER TABLE zt_product
ADD vision
varchar(10) NOT NULL DEFAULT 'rnd' AFTER order
2024-12-04 17:39:11 ALTER TABLE zt_task
ADD vision
varchar(10) NOT NULL DEFAULT 'rnd' AFTER deleted
2024-12-04 17:39:13 ALTER TABLE zt_projectstory
ADD INDEX story
(`story`)
2024-12-04 17:39:13 ALTER TABLE zt_group
ADD vision
varchar(10) NOT NULL DEFAULT 'rnd' AFTER project
2024-12-04 17:39:13 ALTER TABLE zt_lang
ADD vision
varchar(10) NOT NULL DEFAULT 'rnd' AFTER system
2024-12-04 17:39:13 ALTER TABLE zt_lang
DROP INDEX lang
, ADD UNIQUE lang
(`lang`,`module`,`section`,`key`,`vision`)
2024-12-04 17:39:13 ALTER TABLE zt_doc
ADD vision
varchar(10) NOT NULL DEFAULT 'rnd' AFTER id
2024-12-04 17:39:13 ALTER TABLE zt_doclib
ADD vision
varchar(10) NOT NULL DEFAULT 'rnd' AFTER type
2024-12-04 17:39:13 ALTER TABLE zt_action
ADD vision
varchar(10) NOT NULL DEFAULT 'rnd' AFTER read
2024-12-04 17:39:30 ALTER TABLE zt_searchindex
ADD vision
varchar(10) NOT NULL DEFAULT 'rnd' AFTER id
禅道版本:禅道开源版 15.x-17.x
安装包类型:源码包
操作系统:CentOS
客户端浏览器:Chrome
⛄ 可以在php.ini 中修改超时参数max_execution_time ,修改之后重启服务生效
回复
|
php超时时间问题设置错误导致,问题已解决,不必再理会