没半小时禅道页面不能使用
启动禅道后,能正常登录页面。但一到半小时左右页面则不能使用。刷新也是空白的。
需要重新启动程序才能再次使用。
查看日志信息,
启动时mysql日志报
2022-08-25 15:48:40 0 [Warning] InnoDB: Ignoring tablespace for `gitea`.`action` because it could not be opened.
2022-08-25 15:48:40 0 [ERROR] InnoDB: Operating system error number 3 in a file operation.
2022-08-25 15:48:40 0 [ERROR] InnoDB: The error means the system cannot find the path specified.
2022-08-25 15:48:40 0 [ERROR] InnoDB: If you are installing InnoDB, remember that you must create directories yourself, InnoDB does not create them.
2022-08-25 15:48:40 0 [ERROR] InnoDB: Cannot open datafile for read-only: '.\gitea\app_state.ibd' OS error: 203
2022-08-25 15:48:40 0 [ERROR] InnoDB: Could not find a valid tablespace file for ``gitea`.`app_state``. Please refer to https://mariadb.com/kb/en/innodb-data-dictionary-troubleshooting/ for how to resolve the issue.
请问这个怎么处理
mysql配置文件中,添加下下面的配置,重启服务再试试:
innodb_force_recovery=1
- 附件:
- 数据库显示的异常信息.txt
访问zentao/checktable.php 看看