question

bertie-bezuidenhout avatar image
bertie-bezuidenhout asked

Venus Docker Grafana 64-bit Images

Good day

I have a 64-bit Raspberry Pi 4 with an Ubuntu operating system on which I have installed a 64-bit Docker system.

Now I am wondering if anyone can help me to find the venus-docker-server, venus-docker-grafana and venus-docker-upnp images that I can use, if such images are available.

Regards

grafana
1 comment
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Justin Cook avatar image Justin Cook ♦♦ commented ·

Moved to "Modifications" Space for non-Victron-supported systems and interfaces.

0 Likes 0 ·
7 Answers
kenthusvik avatar image
kenthusvik answered ·

Having the same issue.

Pulling server (victronenergy/venus-docker-server:latest)...

latest: Pulling from victronenergy/venus-docker-server

ERROR: no matching manifest for linux/arm64/v8 in the manifest list entries

1 comment
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

sureshskr avatar image sureshskr commented ·
use with "sudo" command
0 Likes 0 ·
Marcel avatar image
Marcel answered ·

I recently installed this on an OrangePi running on Armbian.

With some trial and error I now got it working.


The steps i followed:

1. install docker for linux as described on the docker site. https://docs.docker.com/engine/install/ubuntu/

and test it with hello-world


2. Install the docker compose command. (this was missing

sudo apt install docker-compose

3. add user pi to the system

useradd pi

4. give it a password

sudo passwd pi

5. add pi to docker

sudo usermod -aG docker pi

6. create directory victron in systemroot

mkdir victron

7. download the docker-compose.yaml from https://raw.githubusercontent.com/victronenergy/venus-docker-grafana/master/docker-compose.yaml

8. Edit the Yaml file (and this makes it working)

change all the image instances from: "victronenergy/venus-docker-server:latest" to "victronenergy/venus-docker-server:armhf-latest"

mine now looks like this:

version: '3.4'
services:
  server:
    image: "victronenergy/venus-docker-server:armhf-latest"
    ports:
     - "8088:8088"
    volumes:
     - "config-storage:/config"
  upnp:
    image: "victronenergy/venus-docker-upnp:armhf-latest"
    network_mode: host
  influxdb:
    image: "influxdb:1.7"
    ports:
     - "8086:8086"
    volumes:
     - "influxdb-storage:/var/lib/influxdb"
    environment:
     - INFLUXDB_HTTP_LOG_ENABLED=false
  graphing:
    image: "victronenergy/venus-docker-grafana:armhf-latest"
    volumes:
     - "grafana-storage:/var/lib/grafana"
    ports:
     - "3000:3000"
    
volumes:
 influxdb-storage:
 grafana-storage:
 config-storage:

9. execute command docker compose up

docker-compose up -d

10. The command at point 9 showed the same results as Matthijs had in his video. During pulling and building the Victron-Grafana code it looked like this:


2021-12-04-20-03-57-victron-root.png

11. After the complete messages I browsed to the http://localhost:8088 and got the following dashboard overview:

2021-12-04-20-07-21-venus-docker-grafana.png


I then were able to connect my VenusOS raspberryPi and pulling data from it in a grafana dashboard

The only thing I now need to figure out is how to automaticly start the Venus-docker instances after a reboot of the Pi.

I now restarted them by exceuting the command docker-compose up --d But I want them to start again at a reboot.


The reason I edited my docker-compose.yaml file was the following.

I fresly installed docker and confirmed it was running hello-world. The documentation stated it is a standard image.

I then searched the docker site for victronenery and found the following containers on their site:

https://hub.docker.com/search?q=victronenergy&type=image

I then went to https://hub.docker.com/r/victronenergy/venus-docker-grafana/tags

I there found some info on architecture; chose the armhf-2.0.2 as this sounded most logical to me.

Hope this helps someone in the future.

regards,

Marcel


2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

dunnp avatar image
dunnp answered ·

Hi Marcel.

A trick I discovered was to force a restart of the services in the docker-compose.yaml file.

Four places - highlighted in blue below. Just re-run docker-compose up after the change. Worked for me; hope it works for you.

server:

image: "victronenergy/venus-docker-server:latest"

ports:

- "8088:8088"

volumes:

- "config-storage:/config"

restart: always

upnp:

image: "victronenergy/venus-docker-upnp:latest"

network_mode: host

restart: always

influxdb:

image: "influxdb:1.7"

ports:

- "8086:8086"

volumes:

- "influxdb-storage:/var/lib/influxdb"

environment:

- INFLUXDB_HTTP_LOG_ENABLED=false

restart: always

graphing:

image: "victronenergy/venus-docker-grafana:latest"

volumes:

- "grafana-storage:/var/lib/grafana"

ports:

- "3000:3000"

restart: always

volumes:

influxdb-storage:

grafana-storage:

config-storage:

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Marcel avatar image
Marcel answered ·

Hi dunnp,


Thank you for your Help. I indeed found an older post from in which you;'ve mentioned the same. But I got an error message when I've added the restart line.



root@Grafana-host:/victron# docker-compose up --d
ERROR: yaml.parser.ParserError: while parsing a block collection
in "./docker-compose.yaml", line 8, column 6
expected <block end>, but found '?'
in "./docker-compose.yaml", line 9, column 6
root@Grafana-host:/victron#

I edit it with Notepad ++ insted of the editor in linux

1 comment
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Marcel avatar image Marcel commented ·

I think I got it. When editing in Notepad++ it autmaticly groups the commands.

I've removed a [ ] space which made it an individual entry.

docker-compose.png


After that I restarted the command:

root@Grafana-host:/victron# docker-compose up --d
Recreating victron_upnp_1 ... done
Recreating victron_influxdb_1 ... done
Recreating victron_server_1 ... done
Recreating victron_graphing_1 ... done
root@Grafana-host:/victron#

I've rebooted the Pi and indeed now my dashboard is instantly..

Now it's time to start customizing the dashboard.


Thank you for your help.

0 Likes 0 ·
docker-compose.png (58.6 KiB)
sureshskr avatar image
sureshskr answered ·

Finally have Grafana running in Rpi 64-bit OS

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

rob-wilson avatar image
rob-wilson answered ·

Hi, I have just tried getting this to work with the following versions:

Raspberry Pi OS (64-bit)

  • Release date: April 4th 2022
  • System: 64-bit
  • Kernel version: 5.15
  • Debian version: 11 (bullseye)

Along with latest venus-grafana-docker (as of today).


Everything works fine on my m1 macbook, but when adjusting the docker tag for each image to `armhf-latest` to run on the raspberry pi, I get the following error in grafana:

screenshot-2022-07-05-at-164125.png

Has anyone else experienced this and have any idea how to fix?


Many thanks!



2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

rob-wilson avatar image
rob-wilson answered ·

For anyone else encountering the above issue, I managed to solve it by changing the venus-docker-grafana tag from armhf-latest to armhf-2.0.0 since armhf-latest isn't actually the latest build for the grafana image. The other two image tags remain as armhf-latest.

It also looks like someone else also found another possible solution by building their own image - they talk about it here: https://github.com/victronenergy/venus-docker-grafana-images/issues/12

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Related Resources

Additional resources still need to be added for this topic