BookStack
BookStack copied to clipboard
部署成功无法正常访问!求教!
请按照一下格式提交issue,谢谢!
-
你当前使用的是哪个版本的 BookStack? BookStack v2.1
-
你当前使用的是什么操作系统? Docker容器 ubuntu16.04
-
你是如何操作的? 安装完成访问首页
-
你期望得到什么结果? 正常访问
-
当前遇到的是什么结果? 网页空白,无法正常显示 控制显示台日志:
root@ad82556f8340:/www/BookStack# ./BookStack
2019/10/07 02:17:53 载入sego词典 /www/BookStack/dictionary/dictionary.txt
Service: BookStack
Version: v2.1
BuildAt: 2019-09-24T20:52:14+0800
GitHash: b3186e6b6eea656325e3e583b2c46827ffab8719
2019/10/07 02:17:53 [I] [asm_amd64.s:1357] http server Running on http://:8181
2019/10/07 02:17:56 sego词典载入完毕
[ORM]2019/10/07 02:18:17 -[Queries/default] - [ OK / db.Query / 0.2ms] - [SELECT T0.`option_id`, T0.`option_title`, T0.`option_name`, T0.`option_value`, T0.`remark` FROM `md_options` T0 LIMIT 1000]
[ORM]2019/10/07 02:18:17 -[Queries/default] - [ OK / db.Query / 0.3ms] - [SELECT T0.`id`, T0.`sort`, T0.`link`, T0.`title`, T0.`status` FROM `md_friend_link` T0 WHERE T0.`status` = ? ORDER BY T0.`sort` ASC LIMIT 1000] - `1`
[ORM]2019/10/07 02:18:17 -[Queries/default] - [ OK / db.Query / 0.3ms] - [SELECT T0.`id`, T0.`pid`, T0.`title`, T0.`intro`, T0.`icon`, T0.`cnt`, T0.`sort`, T0.`status` FROM `md_category` T0 WHERE T0.`status` = ? ORDER BY T0.`status` DESC, T0.`sort` ASC, T0.`title` ASC LIMIT 1000] - `1`
[ORM]2019/10/07 02:18:17 -[Queries/default] - [ OK / db.Query / 0.2ms] - [SELECT T0.`id`, T0.`page`, T0.`statement`, T0.`title`, T0.`keywords`, T0.`description` FROM `md_seo` T0 WHERE T0.`page` = ? LIMIT 1] - `cate`
[ORM]2019/10/07 02:18:17 -[Queries/default] - [ OK / db.Query / 0.1ms] - [select count(book_id) cnt from md_books where privately_owned=0 and order_index>=0 and order_index>0]
2019/10/07 02:18:17 [D] [controller.go:256] template Execute err: template: widgets/header.html:20:25: executing "widgets/header.html" at <eq .CloseOpenSourceLink false>: error calling eq: invalid type for comparison
2019/10/07 02:18:17 [E] [server.go:2802] template: widgets/header.html:20:25: executing "widgets/header.html" at <eq .CloseOpenSourceLink false>: error calling eq: invalid type for comparison
2019/10/07 02:18:17 [D] [server.go:2802] | 10.0.0.86| 200 | 6.956816ms| match| GET / r:/
eq .CloseOpenSourceLink false 问题应该出在这里,我也跟你一样的情况,这个地方好像是缺少一个比较用的变量