# Problem setup Docker influxdb grafana nodered

**URL:** <https://www.wago.community/t/problem-setup-docker-influxdb-grafana-nodered/1452>\
**Category:** Node-RED\
**Created:** [December 31, 2024, 1:56pm UTC](https://www.wago.community/t/problem-setup-docker-influxdb-grafana-nodered/1452 "2024-12-31T13:56:58Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![JF89](https://avatars.discourse-cdn.com/v4/letter/j/ecc23a/32.png) [@JF89](https://www.wago.community/u/JF89)\
**Post date:** [December 31, 2024, 1:56pm UTC](https://www.wago.community/t/problem-setup-docker-influxdb-grafana-nodered/1452/1 "2024-12-31T13:56:58Z")

</div>

Hello ,

i have problems to setup docker influxdb grafana.  
i reset the 8212 with 2 reset buttons  
i used Mr Braun menu to set up the programs

curl -L [https://raw.githubusercontent.com/braunku/pfc-provisioning-tool/main/menu.sh](https://raw.githubusercontent.com/braunku/pfc-provisioning-tool/main/menu.sh) -o menu.sh -s && sh menu.sh

it succeeded .all the files were loaded and unzipped

but when i want to access to docker it doesn’t work:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/e/eb2b51a890abe1f4ef7987299a615bccaadf5288.png)

But for grafana and nodered it works, but not at all for grafana, I have the last login and password

 ![image](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/5/53520092fd9b4ee93c2242a0408bbe846c6f5ba1.jpeg)  
So, the reset was not good at all.

for influxdb it doesn’t work

 ![image](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/1/17e9e783a3f457439cd88b137b481387fc091d73.png)

is it a problem of volume or a port not declared ?  
It’s strange because it works for nodered:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/a/adb62a5e1955aad85cf48199fc8fc1ff128f5376.png)

Any idea ?

---

<div class="post-metadata">

**Author:** ![JF89](https://avatars.discourse-cdn.com/v4/letter/j/ecc23a/32.png) [@JF89](https://www.wago.community/u/JF89)\
**Post date:** [December 31, 2024, 2:17pm UTC](https://www.wago.community/t/problem-setup-docker-influxdb-grafana-nodered/1452/2 "2024-12-31T14:17:48Z")

</div>

Perhaps it will help ?

 ![image](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/b/bc3075ca7b14cad5454cbe9bd952973be448b32f.png)

---

<div class="post-metadata">

**Author:** ![JF89](https://avatars.discourse-cdn.com/v4/letter/j/ecc23a/32.png) [@JF89](https://www.wago.community/u/JF89)\
**Post date:** [January 2, 2025, 10:17am UTC](https://www.wago.community/t/problem-setup-docker-influxdb-grafana-nodered/1452/3 "2025-01-02T10:17:36Z")

</div>

> [@JF89](#):
>
> curl -L [https://raw.githubusercontent.com/braunku/pfc-provisioning-tool/main/menu.sh](https://raw.githubusercontent.com/braunku/pfc-provisioning-tool/main/menu.sh) -o menu.sh -s && sh menu.sh

 ![image](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/6/6e7cdfc9b2f705f11a122766f4b5531449ad93f9.png)

 ![image](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/c/c5fea0e161e3afa5930a9ff8cf63b85bb60b1b73.png)

---

<div class="post-metadata">

**Author:** ![AdamReeve](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/adamreeve/32/59_2.png) [@AdamReeve](https://www.wago.community/u/AdamReeve)\
**Post date:** [January 3, 2025, 3:14pm UTC](https://www.wago.community/t/problem-setup-docker-influxdb-grafana-nodered/1452/4 "2025-01-03T15:14:00Z")

</div>

The “docker images” command is showing that you have successfully loaded the influx and grafana images to the system, but what “run” command syntax are you using? Does a “docker ps -a” command show active and running containers?

---

<div class="post-metadata">

**Author:** ![JF89](https://avatars.discourse-cdn.com/v4/letter/j/ecc23a/32.png) [@JF89](https://www.wago.community/u/JF89)\
**Post date:** [January 3, 2025, 4:11pm UTC](https://www.wago.community/t/problem-setup-docker-influxdb-grafana-nodered/1452/5 "2025-01-03T16:11:12Z")

</div>

Hello Adam,  
thanks for your reply.  
a docker ps -a command shows that:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/7/75ecebe4a4f972cdaeaf5fc5d831a044211085c6.png)

the influxdb container seems to be active:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/2/24bc1e960f64aa09ad2a99372b33d4b9934a1596.png)

but when i want to open it on a web browser , nothing happens

 ![image](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/2/24bc1e960f64aa09ad2a99372b33d4b9934a1596.png)  
page not found

 ![image](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/f/f1cf79a1fd2c27e0c4bb5fd62fd4daddb52f7f74.png)

I followed the NT 0038 French application note, but there is in my opinion missing files.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/9/996670efcf6e3e137b9039ba1687c15c9fd10ce6.png)  
the command above works properly,  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/6/6ebbc545176a3e8fa629b1b4dbd4a07e178cd5d7.png)

i use docker exec -it c\_influxdb influx command , and the result is:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/d/d3d022dfebd7e5635ec9857a5b79d81925f71531.png)

but they say that in additionnal pages of the documentation there is a SQL script  
to create a database with 3 users and differents “privileges” (rights)

 ![image](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/6/6d90f877a29ace85964a8e1198506cb2b52601da.png)

and they says to copy the additionnal file and to stick it in a command line ssh

 ![image](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/2/22f2f2a34a46322bed157a33ebffe22b628b47ec.png)

 ![image](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/8/804a6543f49af293208151422968a7d550e0b5f4.png)

I think the exportinfludb.sql and exportgrafana.json files are missing.  
Even when i create a database and i tell him to use mydb the command  
docker exec -it c\_influxdb influx doesn’t work

 ![image](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/9/97c78e1d2f213fcd08586e1befd8dbfd9a9d2ad1.png)

i submitted the problem to wago France but I stil haven’t an answer.

I tried with kurt Braun solutions with ssh menu , but i think ports number are missing for influxdb at least

So that’s why I use the wago community.

i you want I can send you the French tutorial

Thanks for your help

JF

---

<div class="post-metadata">

**Author:** ![AdamReeve](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/adamreeve/32/59_2.png) [@AdamReeve](https://www.wago.community/u/AdamReeve)\
**Post date:** [January 3, 2025, 7:11pm UTC](https://www.wago.community/t/problem-setup-docker-influxdb-grafana-nodered/1452/6 "2025-01-03T19:11:52Z")

</div>

I noticed that the image being used is for InfluxDB 1.8.4. I think (although I’m not 100% certain) that InfluxDB 1.x does not have the web interface on port 8086 that InfluxDB 2.x has made available. That is why a browser connection isn’t bringing you to the login screen - I don’t think there is one!

So I think your InfluxDB container is working just fine. You can either use the docker exec command (like you show above) to enter the container and do commands like CREATE DATABASE \<db\_name\>, SHOW DATABASES, USE \<db\_name\>, etc. or you could use whatever tools are available in the program you will to interface with InfluxDB, like the WagoAppInfluxDB library, the Node-Red InfluxDB pallette, etc.

(One of your screenshots does seem to confirm it is working…you enter “use mydb” and the response back is “using database mydb”, which is correct.)

If you are trying to exactly replicate something in the app note from WAGO France, I think contacting them directly will be your best bet. I’m afraid I’ll have little insight into that and I’d have to Google Translate the entire thing.

---

<div class="post-metadata">

**Author:** ![JF89](https://avatars.discourse-cdn.com/v4/letter/j/ecc23a/32.png) [@JF89](https://www.wago.community/u/JF89)\
**Post date:** [January 4, 2025, 10:40am UTC](https://www.wago.community/t/problem-setup-docker-influxdb-grafana-nodered/1452/7 "2025-01-04T10:40:32Z")

</div>

Hello Adam,

thank you for your reply .

i tried to install influxdb version 2 linux container, but it failed.  
the answer was: it’s not an arm32v7 platform or something like that.

So I don’t think influxdb version 2 can be setup on PFC 200 8212 FW26.

I’s a pity because you can’t use web browser port 8086 to commission your measurements tags and fields .  
The only way is to use commands, that it’s not easy.

Have you got an other way to do it ?

Does influxdb version 3.0 will be available for wago PLC ?

---

<div class="post-metadata">

**Author:** ![AdamReeve](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/adamreeve/32/59_2.png) [@AdamReeve](https://www.wago.community/u/AdamReeve)\
**Post date:** [January 6, 2025, 1:57pm UTC](https://www.wago.community/t/problem-setup-docker-influxdb-grafana-nodered/1452/8 "2025-01-06T13:57:39Z")

</div>

I agree - I tried to find a container of InfluxDB 2.x for arm32v7 and I was unsuccessful as well. I have only ever used version 2.x on an Edge Computer (amd64).

And sorry, I don’t know anything at all about InfluxDB 3.0. But I would guess that if 2.x can’t do arm32v7, 3.x won’t either.

When the PFC300 controller is released later this year, it will have 64-bit processor, so I am also guessing that arm64 containers will work on it.

---

<div class="post-metadata">

**Author:** ![WagoDamRud](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/wagodamrud/32/258_2.png) [@WagoDamRud](https://www.wago.community/u/WagoDamRud)\
**Post date:** [January 14, 2025, 10:06am UTC](https://www.wago.community/t/problem-setup-docker-influxdb-grafana-nodered/1452/9 "2025-01-14T10:06:39Z")

</div>

Last version with arm7 support is influx:1.8, here is where you can check it in [dockerhub.com](http://dockerhub.com) ( [influxdb Tags | Docker Hub](https://hub.docker.com/_/influxdb/tags))

 ![image](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/5/5c52695b974a0512892c95ecaf23dbf4007ee3b0.png)

Other versions are x64, so you have to use **Edge Computer** or **PFC300**.  
Influx v1 doesn’t have any UI. To create dbs you can use Wago library or [Time Series Admin](https://github.com/timeseriesadmin/timeseriesadmin)

Inlux v2 has UI:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/9/99abfdc396f586fa264d42dd9bfeb9e4b0c253e9.png)

---

<div class="post-metadata">

**Author:** ![JF89](https://avatars.discourse-cdn.com/v4/letter/j/ecc23a/32.png) [@JF89](https://www.wago.community/u/JF89)\
**Post date:** [January 27, 2025, 5:20pm UTC](https://www.wago.community/t/problem-setup-docker-influxdb-grafana-nodered/1452/10 "2025-01-27T17:20:30Z")

</div>

Hello,  
So, you suggest PFC 300 that works with ubuntu. But I would like to try at first with a raspberry pi and a tutorial of Kurt Braun (arm7) .

[![](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/a/a264e3acd7a3194985d10d939d6e949a641cd532.jpeg "Open Source Historian: Grafana & InfluxDB") ](https://www.youtube.com/watch?v=BBcj-ZoufMw&t=79s)

I can setup the configuration until this error:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/e/e093e57f136949711b9a2ebe55472dbbe8b3cf94.png)

It’s the same as the tutorial but i think INFLUXD is a name of a server that should be declared before.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/8/83c76c90aea5416219218fc236b03e2e4fa2e35a.jpeg)  
I don’t know how to declare that server: influx

What do you suggest ?

---

<div class="post-metadata">

**Author:** ![JF89](https://avatars.discourse-cdn.com/v4/letter/j/ecc23a/32.png) [@JF89](https://www.wago.community/u/JF89)\
**Post date:** [January 28, 2025, 7:28am UTC](https://www.wago.community/t/problem-setup-docker-influxdb-grafana-nodered/1452/11 "2025-01-28T07:28:18Z")

</div>

version 1.8 of influxdb has UI too:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/e/e9cfde18b498fcee3bbe30ad69d4e46e58f3c878.png)

---

<div class="post-metadata">

**Author:** ![bjornidar](https://avatars.discourse-cdn.com/v4/letter/b/5fc32e/32.png) [@bjornidar](https://www.wago.community/u/bjornidar)\
**Post date:** [January 30, 2025, 11:36pm UTC](https://www.wago.community/t/problem-setup-docker-influxdb-grafana-nodered/1452/12 "2025-01-30T23:36:21Z")

</div>

If you need to export the config, I guess you’re using the wrong command, config should be print-config (?) then copy it “out of the container”.

If you’re trying to run Influx with a config file of your own, you’ll have to map it as a -v (volume) with the path to your config.

---

<div class="post-metadata">

**Author:** ![WagoKurt](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/wagokurt/32/11_2.png) [@WagoKurt](https://www.wago.community/u/WagoKurt)\
**Post date:** [February 4, 2025, 12:16am UTC](https://www.wago.community/t/problem-setup-docker-influxdb-grafana-nodered/1452/13 "2025-02-04T00:16:43Z")

</div>

If you are using Influx 1.8, they you can use Chronograf and access it with port 8888. V2, they are both in the same image.

docker run -d   
–name chronograf   
-p 8888:8888   
-v chronograf-data:/var/lib/chronograf   
chronograf:1.8

Though you might try network=host for both containers at first to get it working. 😄

---

<div class="post-metadata">

**Author:** ![JF89](https://avatars.discourse-cdn.com/v4/letter/j/ecc23a/32.png) [@JF89](https://www.wago.community/u/JF89)\
**Post date:** [February 17, 2025, 5:32pm UTC](https://www.wago.community/t/problem-setup-docker-influxdb-grafana-nodered/1452/14 "2025-02-17T17:32:50Z")

</div>

Hello M Braun,

yours unix commands works well to install chronograph 1.8  
but i have to update influxdb 1.8 command :

 ![image](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/3/358a862c75a9e55a446b2d3c9865491c57cbd037.png)

I succeded to instal influxdb docker image, like this:  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/d/d6ac020a98b7547fe4375b9b77d0fbabdb533212.png)

The influxdb.conf file was good as yours.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/e/e0e6bab1035984a3c9d13b5ee2acc21523bf1e24.png)

But , I have to update your command  
sudo docker run -d -p 8086:8086 --name=influxdb --network=“wago” -v /home/art/influxdb.conf:/etc/influxdb/ , because it’s not the latest version , but 1.8  
i tried several commands without success.  
I’m just a plc wago programmer and doesn’t know unix commands.

Would you mind tell me how to update that command with 1.8?

---

<div class="post-metadata">

**Author:** ![JF89](https://avatars.discourse-cdn.com/v4/letter/j/ecc23a/32.png) [@JF89](https://www.wago.community/u/JF89)\
**Post date:** [February 19, 2025, 10:22am UTC](https://www.wago.community/t/problem-setup-docker-influxdb-grafana-nodered/1452/15 "2025-02-19T10:22:32Z")

</div>

I don’t understand why the command underlines below in green works , and the red doesn’t work

 ![setup_influxdb_1_8_4_2](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/9/92820635202744793a9311b4ea853b9583590d53.png)

With the green underline on the screenshot below the container seems to be installed, but when lookink the container list , there is no !!

 ![setup_influxdb_1_8_4_3](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/6/66db4ee2b58e43f1fdcfde083ab1c11c9e275d26.png)

Have you got any idea ?

I don’t understand why chronograph can help me.

I’m just interested in by collecting datas with influxdb and to show them in grafana as the video tutorial shows.

---

<div class="post-metadata">

**Author:** ![WagoDamRud](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/wagodamrud/32/258_2.png) [@WagoDamRud](https://www.wago.community/u/WagoDamRud)\
**Post date:** [February 21, 2025, 9:53pm UTC](https://www.wago.community/t/problem-setup-docker-influxdb-grafana-nodered/1452/16 "2025-02-21T21:53:37Z")

</div>

hello,  
this command is needed to create local config file. `influxd` is an entrypoint. So the InfluxDB container is called from image `influxdb:1.8.4`, and then `influxd` (its a daemon which starts and runs all the processes necessary for InfluxDB to function) is called with parameter `config` (which outputs default configuration and then `> influxdb.conf` redirects the output to a file.

When `influxd` finish his job the container stops - and here is why this docker command is called with `--rm` which ensures the container is automatically removed after execution.

This way you can have default configuration file for InfluxDB, edit it and then attach it as volume to docker run command.

---

<div class="post-metadata">

**Author:** ![JF89](https://avatars.discourse-cdn.com/v4/letter/j/ecc23a/32.png) [@JF89](https://www.wago.community/u/JF89)\
**Post date:** [March 14, 2025, 4:42pm UTC](https://www.wago.community/t/problem-setup-docker-influxdb-grafana-nodered/1452/17 "2025-03-14T16:42:12Z")

</div>

Hello,  
I succeded to install docker grafana and influxdb 1.8 with the help of a linux computer engeneer.

In a config file command I forgot a space before /config/

Thanks for your help DamRud, especially for the command `influxdb:1.8.4 that is mandatory otherwise it takes the latest version and doesn’t work

 ![image](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/e/eef84d71cd6829f0b11f667f7ce5d07c975ed94c.png)

a grafana screenshot of the temperature supply of my heatpump taken from a modbus tcp request with nodered is enclosed

Now I need to learn grafana !

---

<div class="post-metadata">

**Author:** ![JF89](https://avatars.discourse-cdn.com/v4/letter/j/ecc23a/32.png) [@JF89](https://www.wago.community/u/JF89)\
**Post date:** [June 16, 2026, 2:58pm UTC](https://www.wago.community/t/problem-setup-docker-influxdb-grafana-nodered/1452/18 "2026-06-16T14:58:34Z")

</div>

Hello

here are the line commands I used to install influxdb and grafana on a raspberry pi 3.0 B+ with several modifications

, it’s taken from a video tutorial . A computer unix engenner helped me.

I would like to update it to install on a sd card of PFC200 .

is-it possible ?

on Wago files of the PFC it’s not possible to see the os version, it seems to be a special "prempt’ version.

Line Commands I used to install influxdb and grafana on Raspberry PI

```
1 curl -sSL https://get.docker.com | sh puis sudo reboot

2 sudo usermod -aG docker art

```

3 sudo docker network create -d bridge wago

4 sudo docker run -d -p 3000:3000 grafana/grafana

5 docker ps -a (xxxxx)

6 docker stop xxxxx

7 sudo docker rm xxxxx

8 sudo docker volume create grafana-storage

9 docker run -d -p 3000:3000 --network=“wago” --name=grafana -v grafana-storage:/var/lib/grafana grafana/grafana

10 sudo docker container ls

10 Sudo docker pull influxdb:1.8. 4

![image](https://us1.discourse-cdn.com/flex016/uploads/wago/optimized/2X/1/1a649422a1df61034aae1094a623094948f5c1f4_2_690x51.png)

11 sudo docker run --rm influxdb :1.8.4 influxd config \> influxdb.conf //influxd ou influxdb ???

sudo docker run --rm influxdb influxdb config | tee influxdb.conf (chat-gpt)

12 sudo nano influxdb.conf

13 docker images

![image](https://us1.discourse-cdn.com/flex016/uploads/wago/optimized/2X/d/d8becd9222442c1af84ba06b0433fdc6184a44e6_2_690x33.png)

14 sudo docker run -d -p 8086:8086 --name=influxdb --network=“wago” -v /home/art/influxdb.conf:/etc/influxdb/influxdb.conf:ro influxdb :1.8.4 -config /etc/influxdb/influxdb .conf

15 docker ps -a

16 curl [http://192.168.140.9:8086/query](http://192.168.140.9:8086/query) --data-urlencode ‘q=CREATE DATABASE “mydb”’

17 curl -i -XPOST “[http://192.168.140.9:8086/write?db=mydb&precision=s](http://192.168.140.9:8086/write?db=mydb&precision=s)” --data-binary ‘myvar,mytag=1 value=1 1549412796’

18 curl -G ‘[http://192.168.140.9:8086/query?db=mydb](http://192.168.140.9:8086/query?db=mydb)’ --data-urlencode ‘q=SELECT \* FROM “myvar”’

Copy actual docker data root folder to sd card.

cp -r /home/docker /media/sd/

---

<div class="post-metadata">

**Author:** ![wagoalex](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/wagoalex/32/483_2.png) [@wagoalex](https://www.wago.community/u/wagoalex)\
**Post date:** [June 18, 2026, 1:14pm UTC](https://www.wago.community/t/problem-setup-docker-influxdb-grafana-nodered/1452/19 "2026-06-18T13:14:11Z")

</div>

Hi there of course ypu can run it on a sd card.

1. Update to latest Firmware (currently FW31)
2. Activate Docker in Web Based Management(WBM)
3. change in /etc/docker/daemon.json docker root from /home/docker to “/docker/sd”
4. reboot
5. then use your docker commands
