Closed SilentPotat0 closed 11 months ago
I had the same same error and found it appeared to have kept an old glances.conf with an old [influxdb2] section from a prior attempt of setting up glances with influxdb2 before it was supported by the add-on. I removed the glances.conf, reinstalled the add-on and configured it for influxdb2. The add-on now starts but doesn't write an [influxdb2] section to the glances.conf. Trying to manually add an [influxdb2] section to the glances.conf results in the
configparser.DuplicateSectionError:` While reading from '/etc/glances.conf' [line 332]: section 'influxdb2' already exists
error again. Also when saving the influxdb config in the add-on it automatically adds the influxdb v1 options
username: glances
password: ""
back into the config.
There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!
Problem/Motivation
Glances crashes on boot and cant be used to export data to an influxdb 2 database
Expected behavior
Glances to boot on startup, or if booted manually
Actual behavior
Steps to reproduce
Current config: