Closed gylove1994 closed 2 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
我在这边回答有写示例,你可以参考一下。 https://github.com/cloudreve/Cloudreve/issues/749#issuecomment-1200378568
问题描述 我在对cloudreve pro的linux版进行部署时,前台运行良好,但是只要涉及到sysytemd进程守护运行时,就会出现一些令人匪夷所思的BUG。从输出的问题来看很可能是数据库方面的问题,但是无论使用litedb数据库,还是换用mysql数据库,都会存在一些非常致命的问题。最后,希望各位可以协助我解决这一问题,谢谢。 如何复原这一情况 请遵循一下步骤:
可能的情况 在查看报错提示时,我发现在进程守护下运行时,mysql数据库连接失败,但是在前台运行时却无报错警告。 很有可能是与权限相关的问题,但是由于我对于linux系统以及mysql数据库不太了解,无法解决这一问题。
相关配置及日志 程序所在目录:
/etc/cloudreve
配置conf.ini: 配置cloudreve.service: systemctl status: journalctl -u cloudreve: 前台运行: