root Jan 05, 2018 2669 5 0 这是什么错误 问题 这是什么错误 @ego008 0 See Also 新浪微博登陆出现404错误 一键安装出现的这个错误 求解救啊 手机qq登录出现100008错误 安装提示错误 出现错误 Nearby 上一篇 › python 在美国应用的增长惊人 下一篇 › 用go 提升百万WebSocket 连接性能 Discussion (5) Comment ego008 2018-01-05 12:16 模版文件找不到 0 root 2018-01-05 12:19 @ego008 晕。明明有的。。。汗 0 root 2018-01-05 12:19 0 ego008 2018-01-05 12:47 切换到网站程序目录运行 或者修改config.yaml 里下面三项,均改为绝对路径 PubDir: "static" ViewDir: "view/default" Youdb: "mytest.db" supervisor 里有个配置 directory 就是切换到指定路径 [program:youbbs] command = /srv/www/youbbs/goyoubbs -config=/srv/www/youbbs/config/config.yaml process_name = youbbs stopwaitsecs = 10 directory = /srv/www/youbbs redirect_stderr=true autostart=true autorestart=true stdout_logfile=/srv/logs/youbbs_out.log stderr_logfile=/srv/logs/youbbs_err.log 0 root 2018-01-05 14:00 @ego008 OK已解决 谢谢 0
模版文件找不到
@ego008 晕。明明有的。。。汗

切换到网站程序目录运行
或者修改config.yaml 里下面三项,均改为绝对路径
supervisor 里有个配置 directory 就是切换到指定路径
@ego008 OK已解决 谢谢