cppla
cppla
python代码挺简单,无复杂算法,自己看一下就能明白 @CHN-STUDENT
清空缓存 ---------- 该邮件从移动设备发送 --------------原始邮件-------------- 发件人:"liyin37 ***@***.***>; 发送时间:2024年8月27日(星期二) 上午9:29 收件人:"cppla/ServerStatus" ***@***.***>; 抄送:"Subscribed ***@***.***>; 主题:[cppla/ServerStatus] 配置后提示错误 (Issue #256) ----------------------------------- image.png (view on web) — Reply to this email directly, view it on...
> @cppla 关键这个文件http://192.168.119.189:8080/json/stats.json 从哪里来的,我没看到呢 $web/json/stats.json 清空浏览器缓存就好了,和其他无关。
你用的容器安装的还是手动部署的? 如果容器docker-compose,删除重新拉。自己研究研究再回复。。。 docker-compose up -d
> 我是容器部署的,在香港主机上执行,会自动构建镜像,是不是不支持在rocky9上构建镜像 支持的。docker logs xxx,可以自己debug下。 或者自己docker pull cppla/serverstatus 试试
docker exec -ti serverstatus bash cd /usr/share/nginx/html/json
>  也是空的 那就需要你自己调试下了。或者用编译好的 docker pull cppla/serverstatus
> 哎,我这边用的后面就是您dockerhub上的cppla/serverstatus:1.1.5或者cppla/serverstatus:latest 已在aws上测试,无法复现 测试环境: 1、centos9,docker build 2、centos9,docker pull cppla/serverstatus:latest 3、centos7,docker pull cppla/serverstatus:latest 补充一下
> 这个stats.json文件是镜像里面自带的还是后面生成的,用了cppla/serverstatus:latest 直接启动一个,不做映射,容器里面也没有这个文件存在,web/json目录下有个.gitingore,里面是忽略stats.json的 sergate生成的,需要指定正确的web路径才行,例如: ``` ./sergate --config=config.json --web-dir=/home/wwwroot/default ./sergate --config=config.json --web-dir=/var/www/html ./sergate --config=config.json --web-dir=/usr/share/nginx/html ```
> 出現相同的問題,回滾到1.1.4,沒問題 什么系统?自己构建的镜像 ? 还是用的cppla/serverstatus:latest ?