kizniche / Mycodo

An environmental monitoring and regulation system
http://kylegabriel.com/projects/
GNU General Public License v3.0
2.89k stars 486 forks source link

mycodo ERROR - mycodo.influx - Unknown Influxdb version: #1364

Closed danOS144 closed 4 months ago

danOS144 commented 5 months ago

Hi there, I have a fresh installed Mycodo ( Mycodo 8.15.13 /influxDB v.1.8.10/ raspberry pi OS lite (32 bit) on a Raspberry zero W) For testing i added the cpu-Load input and activated it. When I go to the live-Measurement page the input is shown but it gets no data. The mycodo-logs show: 2024-01-28 11:58:35,001 - ERROR - mycodo.influx - Unknown Influxdb version: So I guess the problem is Mycodo can't connect to influxDB. I would be happy if anyone knows a solution for this, or can give me advice how to handle this! Thankful for help

Dan

Versions:

silverhawk1983 commented 4 months ago

it installs the latest version 2.0 of influxdb but wants only older 1.8 and drops out

danOS144 commented 4 months ago

this threat is solved in : https://forum.radicaldiy.com/t/error-mycodo-influx-unknown-influxdb-version/1773

the error occured because mycodo didn't install Influxdb at all....

kizniche commented 4 months ago

It will attempt to install whichever version of influxdb you specify. Whether or not you have a 64-bit CPU and OS to be able to install the 64-bit version of influxdb (2.x) is another issue that is dependent on the user (user error). You must be knowledgeable of your CPU and OS to know if you can even install influxdb v2.x.