Hi all, I have been using Influxdb and Grafana for sometime. I want to be able to do some ai work on the data so walked through several of the posts out there on Loud ML and Influx. I installed the full TICK stack but I am having issues with Loud. I have installed the TICK stack along with LoudML but I do not see the One Click ML button in Chronograf. Where do I start to troubleshoot?
I found this link but it has not solved my problem.
opened 12:27PM - 15 Jun 19 UTC
closed 07:17AM - 19 Feb 20 UTC

The 1-click ML button is not available, please see attached screenshot.
Have followed a tutorial here: https://medium.com/loud-ml/a-devops-tutorial-to-setup-intelligent-machine-learning-driven-alerts-c4de93cf6d66
InfluxDB/Telegraf/Kapacitor run on a Raspberry Pi 3B:
Kapacitor OSS 1.5.2 (git: HEAD 3086452d00830e01d932838d8c6d1df818648ad3)
Influxdb OSS 1.7.6 de0528dc-8f69-11e9-847f-b827eb200a4c
Telegraf 1.10.3 (git: HEAD 294bb666)
Chronograf/LoudML - on Ubuntu 2018.4:
Docker version 18.09.6, build 481bc77
```
f6400ffb5415 loudml/chronograf "/usr/bin/chronograf…" 2 hours ago Up 2 hours 0.0.0.0:8888->8888/tcp compose_chronograf_1
d1d044d237ce loudml/community "/bin/sh -c /usr/bin…" 2 hours ago Up 2 hours 0.0.0.0:8077->8077/tcp compose_loudml_1
```
loudml.yml:
```
datasources:
- name: influx
type: influxdb
addr: 192.168.1.211:8086
database: telegraf
- name: kapacitor
type: influxdb
addr: 192.168.1.211:9092
database: from_loudml
storage:
path: /var/lib/loudml
server:
listen: 0.0.0.0:8077
```
docker-compose:
```
# This is a Docker Compose file to work with Loud ML and an InfluxDB stack.
version: "2"
services:
loudml:
image: loudml/community
volumes:
- ./etc/loudml.yml:/etc/loudml/config.yml:ro
- ./var/loudml:/var/lib/loudml
ports:
- "8077:8077"
chronograf:
image: loudml/chronograf
depends_on:
- loudml
ports:
- "8888:8888"
volumes:
- ./var/chronograf:/var/lib/chronograf
environment:
INFLUXDB_URL: http://192.168.1.211:8086
LOUDML_URL: http://localhost:8077
KAPACITOR_URL: http://192.168.1.211:9092
```
Some log:
```
Starting compose_loudml_1 ... done
Starting compose_chronograf_1 ... done
Attaching to compose_loudml_1, compose_chronograf_1
loudml_1 | ERROR:root:detected development environment - incremental training disabled
loudml_1 | INFO:root:starting Loud ML server on 0.0.0.0:8077
chronograf_1 | time="2019-06-15T14:44:18Z" level=info msg="Running migration 59b0cda4fc7909ff84ee5c4f9cb4b655b6a26620"
chronograf_1 | time="2019-06-15T14:44:18Z" level=info msg="Serving chronograf at http://[::]:8888" component=server
chronograf_1 | time="2019-06-15T14:44:18Z" level=info msg="Reporting usage stats" component=usage freq=24h reporting_addr="https://usage.influxdata.com" stats="os,arch,version,cluster_id,uptime"
chronograf_1 | time="2019-06-15T14:44:42Z" level=info msg="Serving assets" component=server method=GET remote_addr="172.20.0.1:37192" url=/
```
This might be important:
```
chronograf_1 | 2019/06/15 14:45:46 http: proxy error: dial tcp 127.0.0.1:8077: connect: connection refused
chronograf_1 | time="2019-06-15T14:45:46Z" level=info msg="Response: Bad Gateway" component=server method=GET remote_addr="172.20.0.1:37226" response_time=10.004400907s status=502
chronograf_1 | 2019/06/15 14:45:46 http: proxy error: dial tcp 127.0.0.1:8077: connect: connection refused
chronograf_1 | time="2019-06-15T14:45:46Z" level=info msg="Response: Bad Gateway" component=server method=GET remote_addr="172.20.0.1:37218" response_time=10.008969819s status=502
```
Just noticed that `linear` fill is not supported, have tried `previous` - no change.
When mouse is over the button I see a pop up with the following message (among other things that look ok):
```
Unable to find LoadML datasource for selected database. Check configuration.
```
localhost:8077 returns:
```
{"host_id":"52b5926e7a3120d537f86eff37162d2c","tagline":"The Disruptive Machine Learning API","version":"1.5.0"}
```
thanks!
Hello @boilermanc ,
I’m not sure the LoudML solution is a fork of InfluxDB. I’m afraid if it’s not working, they’re the only ones with answers.
That being said, you might be interested in executing ML tasks with InfluxDB v2.x.
You can use:
Thanks @Anaisdg , I will work through what you sent and yes, I thought I may have to chat with the Loud folks and see if they know. Will post back once we figure it out.
Thanks!
1 Like
Dear @boilermanc ,
You got any response. I am also looking for an option like this