-
关于 Latke 配置错误的解决办法
2020-03-24 18:58是要在这个启动参数修改么
docker run --detach --name solo --network=host
--env RUNTIME_DB="MYSQL"
--env JDBC_USERNAME="root"
--env JDBC_PASSWORD="123"
--env JDBC_DRIVER="com.mysql.cj.jdbc.Driver"
--env JDBC_URL="jdbc:
--volume /dockerData/solo/skins/:/dockerData/solo/skins/
b3log/solo
--listen_port=8080
--server_scheme=https
--server_host=www.123.top
--server_port= -
博客访问 HTTP 500
2020-02-05 10:25错误信息
FTL stack trace ("~" means nesting-related):
- Failed at: ${statistic.statisticPublishedBlogCom... [in template "skins/solo-nexmoe/side.ftl" at line 32, column 13]
- Reached through: #include "side.ftl" [in template "skins/solo-nexmoe/index.ftl" at line 35, column 5]
-
从零开始安装 solo 博客
2019-10-22 10:15我知道问题在这里,皮肤我也下载了
但是从 git pull 下来的默认主题 Pinghsu 项目名字叫 solo-skins,我试着从新命名也不行
我以为是目录的问题,然后就在两个目录下都 pull 了
这是我的文件信息 Samsung.zip -
从零开始安装 solo 博客
2019-10-22 09:34# 命令 docker run --detach --name solo --network=host \ --env RUNTIME_DB="MYSQL" \ --env JDBC_USERNAME="root" \ --env JDBC_PASSWORD="5201314chenxi" \ --env JDBC_DRIVER="com.mysql.cj.jdbc.Driver" \ --env JDBC_URL="jdbc:mysql://127.0.0.1:3306/solo?useUnicode=yes&characterEncoding=UTF-8&useSSL=false&serverTimezone=UTC" \ --volume /dockerData/solo/skins/:/opt/solo/skins/ \ b3log/solo --listen_port=8080 --server_scheme=https --server_host=www.bestdarren.top --server_port=
这是日志
[INFO ]-[2019-10-22 00:00:16]-[org.b3log.solo.SoloServletListener:99]: Solo is booting [ver=3.6.5, servletContainer=jetty/9.4.12.v20180830, os=Linux, isDocker=true, luteAvailable=false, pid=1, runtimeDatabase=MYSQL, runtimeMode=PRODUCTION, jdbc.username=root, jdbc.URL=jdbc:
[ERROR]-[2019-10-22 00:00:16]-[org.b3log.latke.Latkes:829]: Read skin [Pinghsu]'s configuration failed: null
[ERROR]-[2019-10-22 00:00:16]-[org.b3log.solo.SoloServletListener:315]: Can't load the default skins, please make sure skin [Pinghsu] is under skins directory and structure correctly
[INFO ]-[2019-10-22 09:33:12]-[org.b3log.solo.SoloServletListener:99]: Solo is booting [ver=3.6.5, servletContainer=jetty/9.4.12.v20180830, os=Linux, isDocker=true, luteAvailable=false, pid=1, runtimeDatabase=MYSQL, runtimeMode=PRODUCTION, jdbc.username=root, jdbc.URL=jdbc:
[ERROR]-[2019-10-22 09:33:12]-[org.b3log.latke.Latkes:829]: Read skin [Pinghsu]'s configuration failed: null
[ERROR]-[2019-10-22 09:33:12]-[org.b3log.solo.SoloServletListener:315]: Can't load the default skins, please make sure skin [Pinghsu] is under skins directory and structure correctly -
关于 Solo 安装后的问题
2019-10-21 18:29我现在试着挂载皮肤,挂载完之后加载不了皮肤啊
# 挂载目录 --volume /dockerData/solo/skins/:/opt/solo/skins/ 这两个目录我都已经git了
-
从零开始安装 solo 博客
2019-10-21 18:09但是又出现问题了,挂载皮肤的时候
使用你的那条语句-v 指定会出问题,我看帮助使用--volume 指定 Ok,但是现在加载不了默认皮肤,皮肤我已经 git 了# /opt/solo/skins/ # /dockerData/solo/skins/ # 这两个目录都下载了,不过默认的主体git下载后的名字是solo-skins,我需要修改文件夹名字么
-
从零开始安装 solo 博客
2019-10-21 16:47那问题应该是出在我的 solo 了,我试过
docker start solo docker restart solo
都启动不了,nginx、mysql 都可以启动
-
从零开始安装 solo 博客
2019-10-21 16:33带端口 8080 就访问不了
不带 8080 端口就是 404
2019/10/21 08:28:02 [error] 6#6: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 113.110.224.5, server: localhost, request: "GET / HTTP/1.1", upstream: "https://39.105.14.42:8080/", host: "www.bestdarren.top"
2019/10/21 08:28:02 [error] 6#6: *1 open() "/usr/share/nginx/html/50x.html" failed (2: No such file or directory), client: 113.110.224.5, server: localhost, request: "GET / HTTP/1.1", upstream: "https://39.105.14.42:8080/", host: "www.bestdarren.top"
2019/10/21 08:28:04 [error] 6#6: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 113.110.224.5, server: localhost, request: "GET /sw.js HTTP/1.1", upstream: "https://39.105.14.42:8080/sw.js", host: "www.bestdarren.top", referrer: "www.bestdarren.top/sw.js"
2019/10/21 08:28:04 [error] 6#6: *1 open() "/usr/share/nginx/html/50x.html" failed (2: No such file or directory), client: 113.110.224.5, server: localhost, request: "GET /sw.js HTTP/1.1", upstream: "https://39.105.14.42:8080/sw.js", host: "www.bestdarren.top", referrer: "www.bestdarren.top/sw.js"
这是错误日志,
2019/10/21 08:30:51 [error] 6#6: *9 open() "/usr/share/nginx/html/50x.html" failed (2: No such file or directory),像这个错误日志,还是知道什么问题的,这个是物理机的文件不存在但是不知道怎么解决了,本身我物理机上就没有装 nginx -
关于 Solo 安装后的问题
2019-10-21 16:00docker 容器的话我是第一次接触,所以也不怎么会用
我想问下 docker 容器我怎么知道我已经安装了哪些环境了?怎么访问 docker 容器的文件信息?类似使用 ls cat vim 查看 docker 文件信息