GithubHelp home page GithubHelp logo

Comments (9)

stilleshan avatar stilleshan commented on May 21, 2024

检查本地 vnstat 安装的目录和挂载目录是否一致

from dockerfiles.

airysoar avatar airysoar commented on May 21, 2024

检查本地 vnstat 安装的目录和挂载目录是否一致
检查确认过,没有问题的。我安装官方的vnstat-docker也能正常的显示流量信息的,就是官方的vnstat-docker的图片太丑了

from dockerfiles.

stilleshan avatar stilleshan commented on May 21, 2024

你 vnstat 的安装过程发一下

from dockerfiles.

airysoar avatar airysoar commented on May 21, 2024

你 vnstat 的安装过程发一下

正常的本地先apt安装vnstat以后,然后再安装docker版本的,试了下,好像原版的两个tomangert/vnstat-dashboard,和alexandermarston/vnstat-dashboard也是一样的错误。我用其他的vps安装了2次官方的vnstat-docker都是能正常打开,正常显示官方vnstati生成的图片的

from dockerfiles.

stilleshan avatar stilleshan commented on May 21, 2024

vnstat-dashboard 是非官方的面板,是要基于服务器安装了 vnstat 才能用,不能用 docker 安装 vnstat, 你发的 vnstat-docker 都没挂载数据到宿主机,肯定更没法用 dashboard

from dockerfiles.

airysoar avatar airysoar commented on May 21, 2024

vnstat-dashboard 是非官方的面板,是要基于服务器安装了 vnstat 才能用,不能用 docker 安装 vnstat, 你发的 vnstat-docker 都没挂载数据到宿主机,肯定更没法用 dashboard

嗯,是服务器安装了vnstat的,不是docker安装vnstat的,就是服务器本地安装vnstat后,你们三个的面板部署后都提示错误。用官方的vnstat-docker是可以正常调用服务器上的vnstat的。

from dockerfiles.

stilleshan avatar stilleshan commented on May 21, 2024

我是在 centos 上 yum install 安装的,或者官方github编译安装的都可以,不知道你是怎么装的

from dockerfiles.

airysoar avatar airysoar commented on May 21, 2024

我是在 centos 上 yum install 安装的,或者官方github编译安装的都可以,不知道你是怎么装的

我是在debian上apt install和官方github编译安装都试过,都是面板提示出错,官方的docker显示正常,不知道为啥不行

from dockerfiles.

stilleshan avatar stilleshan commented on May 21, 2024

https://github.com/vergoh/vnstat/blob/master/INSTALL.md

你参考这个编译安装试试吧.

我的ARM CentOS 就是按照这个编译安装没问题.

如果还是不行我也没办法了

from dockerfiles.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.