Coder Social home page Coder Social logo

Glances V4 Support about core HOT 9 OPEN

ABEIDO avatar ABEIDO commented on September 26, 2024 11
Glances V4 Support

from core.

Comments (9)

zollak avatar zollak commented on September 26, 2024 7

I was able to solve it to revert back the earlier version like this:

root@pve:~# pip uninstall glances
root@pve:~# pip install -v glances==3.4.0.5

root@pve:~# glances -w --username --password
Define the Glances webserver username: glances
Bottle module not found. Glances cannot start in web server mode.

root@pve:~# pip install bottle
root@pve:~# glances -w --username --password

root@pve:~# glances --version
Glances v3.4.0.5 with PsUtil v5.9.8
Log file: /root/.local/share/glances/glances.log
root@pve:~# systemctl enable glances.service
root@pve:~# systemctl start glances.service

Of course, it not solve the v4 API related issue. In the Glances HA integration the new v4 API support should be implemented...

from core.

nohumaninput avatar nohumaninput commented on September 26, 2024 3

I have same problem. Looks like V4 API is not supported by the integration atm.

Glances version: 4.0.4
Glances API version: 4
PsUtil version: 5.9.4

from core.

rcastberg avatar rcastberg commented on September 26, 2024 1

A quick workaround until the HomeAssistant plugin has support is to change the repository line in Unraid to:
nicolargo/glances:3.4.0.5
This will downgrade galnces to the last v3.

from core.

home-assistant avatar home-assistant commented on September 26, 2024

Hey there @engrbm87, mind taking a look at this issue as it has been labeled with an integration (glances) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of glances can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign glances Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


glances documentation
glances source
(message by IssueLinks)

from core.

zollak avatar zollak commented on September 26, 2024

Same here, my glances version is the following:

root@pve:~# glances --version
Glances version:        4.0.1
Glances API version:    4
PsUtil version:         5.9.8
Log file:               /root/.local/share/glances/glances.log

Proxmox version where I run glances:

root@pve:~# pveversion 
pve-manager/8.1.10/4b06efb5db453f29 (running kernel: 6.5.13-3-pve)

root@pve:~# cat /etc/*release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian

HA version where I would add glances as a new integration:

Core 2024.5.3
Supervisor 2024.05.1
Operating System 12.3
Frontend 20240501.1

from core.

ABEIDO avatar ABEIDO commented on September 26, 2024

From errorlog: Error setting up entry UNRAID for glances: Could not connect to Glances API version 2 or 3
Feels like the api vers 3 is gone and only a new v4 is alive, but its just my guess

from core.

stefan1495 avatar stefan1495 commented on September 26, 2024

Seems like their Versioning is always breaking-changing 👎
See https://github.com/nicolargo/glances/blob/develop/docs/api.rst (v4) and https://github.com/nicolargo/glances/blob/support/glancesv3/docs/api.rst (v3)

from core.

latel avatar latel commented on September 26, 2024

same here

glances -V

Glances version: 4.0.2
Glances API version: 4
PsUtil version: 5.9.8
Log file: /tmp/glances-root.log

from core.

AnthonyBe avatar AnthonyBe commented on September 26, 2024

I certainly hope that the integration can be updated to support Glances v4 API!

from core.

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.