12.5.3版本在linux下备份失败
禅道版本是从12.4.4升级到12.5.3的
进行数据备份的时候,只备份累数据库,并且手工备份的时候页面卡住了。
在bug反馈中找到一条类似的问题,打开日志后,看到如下错误
<?php
die();
?>
10:11:21 Uncaught PDOException: SQLSTATE[HY000]: General error: 1033 Incorrect information in file: './zentao/zt_suitecase.frm' in /opt/zbox/app/zentao/lib/zdb/zdb.class.php:245
Stack trace:
#0 /opt/zbox/app/zentao/lib/zdb/zdb.class.php(245): PDO->query('select * from `...')
#1 /opt/zbox/app/zentao/module/backup/model.php(24): zdb->dump('/home/root/shar...')
#2 /opt/zbox/app/zentao/module/backup/control.php(92): backupModel->backSQL('/home/root/shar...')
#3 /opt/zbox/app/zentao/framework/base/router.class.php(1714): backup->backup('yes')
#4 /opt/zbox/app/zentao/www/index.php(72): baseRouter->loadModule()
#5 {main}
thrown in /opt/zbox/app/zentao/lib/zdb/zdb.class.php on line 245 when visiting backup-backup-yes
10:11:49 Uncaught PDOException: SQLSTATE[HY000]: General error: 1033 Incorrect information in file: './zentao/zt_suitecase.frm' in /opt/zbox/app/zentao/lib/zdb/zdb.class.php:245
Stack trace:
#0 /opt/zbox/app/zentao/lib/zdb/zdb.class.php(245): PDO->query('select * from `...')
#1 /opt/zbox/app/zentao/module/backup/model.php(24): zdb->dump('/home/root/shar...')
#2 /opt/zbox/app/zentao/module/backup/control.php(92): backupModel->backSQL('/home/root/shar...')
#3 /opt/zbox/app/zentao/framework/base/router.class.php(1714): backup->backup('yes')
#4 /opt/zbox/app/zentao/www/index.php(72): baseRouter->loadModule()
#5 {main}
thrown in /opt/zbox/app/zentao/lib/zdb/zdb.class.php on line 245 when visiting backup-backup-yes
10:15:19 Uncaught PDOException: SQLSTATE[HY000]: General error: 1033 Incorrect information in file: './zentao/zt_suitecase.frm' in /opt/zbox/app/zentao/lib/zdb/zdb.class.php:245
Stack trace:
#0 /opt/zbox/app/zentao/lib/zdb/zdb.class.php(245): PDO->query('select * from `...')
#1 /opt/zbox/app/zentao/module/backup/model.php(24): zdb->dump('/home/root/shar...')
#2 /opt/zbox/app/zentao/module/backup/control.php(92): backupModel->backSQL('/home/root/shar...')
#3 /opt/zbox/app/zentao/framework/base/router.class.php(1714): backup->backup('yes')
#4 /opt/zbox/app/zentao/www/index.php(72): baseRouter->loadModule()
#5 {main}
thrown in /opt/zbox/app/zentao/lib/zdb/zdb.class.php on line 245 when visiting backup-backup-yes
10:17:19 file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in module/misc/control.php on line 70 when visiting misc-checkUpdate-19138f5750a818330799fba06186e4e6
10:17:19 file_get_contents(https://api.zentao.net/updater-isLatest-12.5.3-19138f5750a818330799fba06186e4e6.html?lang=zh_cn): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in module/misc/control.php on line 70 when visiting misc-checkUpdate-19138f5750a818330799fba06186e4e6
浏览器访问下 checktable.php ,看下是不是有表受损了? 修复下试试.
如果还是不行, 可以联系官网顶部商务QQ, 邀请加入技术交流群沟通.