influxdb2
install with the new version of MyController
(this is a lot, influxdb2 and MyC v2.00
development/mycontroller-server-2.0.0-devel-linux-arm64.tar.gz)
install :https://portal.influxdata.com/downloads/
$ wget -q https://repos.influxdata.com/influxdata-archive_compat.key
echo '393e8779c89ac8d958f81f942f9ad7fb82a25e133faddaf92e15b16e6ac9ce4c influxdata-archive_compat.key' | sha256sum -c && cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg > /dev/null
----influxdata-archive_compat.key: OK---
$ echo 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
$ sudo apt update
----AtteintΒ :1 http://ports.ubuntu.com focal InRelease----
----RΓ©ception deΒ :7 https://repos.influxdata.com/debian stable/main----
$ sudo apt install influxdb2
$ systemctl start influxdb.service
$ sudo systemctl enable influxdb.service
$ sudo /opt/apps/mycontroller/mcctl.sh start
------ start command issued to the MyController server -----
but a mistake, Log MyController
hostId:}", "loggerConfig": {"Mode":"record_all","Encoding":"console","Level":{"Core":"info","WebHandler":"info","Storage":"info","Metric":"warn"},"EnableStacktrace":false}}
2023-03-25T18:43:25.873+0100 error metric_influxdb extra_v1/admin.go:42 error on calling api {"error": "failed with status code. [status: 401 Unauthorized, statusCode: 401, body: {\"code\":\"unauthorized\",\"message\":\"unauthorized access\"}]"}
2023-03-25T18:43:25.873+0100 error helper/server.go:112 error on getting metric database {"error": "failed with status code. [status: 401 Unauthorized, statusCode: 401, body: {\"code\":\"unauthorized\",\"message\":\"unauthorized access\"}]"}
2023-03-25T18:43:25.873+0100 fatal cmd/root.go:38 error on starting server {"error": "failed with status code. [status: 401 Unauthorized, statusCode: 401, body: {\"code\":\"unauthorized\",\"message\":\"unauthorized access\"}]"}
2023-03-25T18:45:33.062+0100 info helper/helper.go:29 welcome to MyController server :)
2023-03-25T18:45:33.065+0100 info helper/helper.go:33 version information {"versionInfo": "{version:2.0.0-devel, buildDate:2023-03-24T15:27:53+00:00, gitCommit:7e4cd9f569fbf1b0894465bcdc023fe98704aad6, goVersion:go1.20.2, compiler:gc, platform:linux, arch:arm64,
no connection to the web page 
xxx.x.x.x refused to connect. 

influxDB is functional