question

h2009 avatar image
h2009 asked

Need help with Grafana on pi 4 -

Hi

I'm trying to setup Grafana on Raspberry Pi 4 but keep having different issues. Based on the GitHub link, when composing the file I get the following output;

Basically the issue is the compose is seeing it as non-windows PC I believe?

  1. ! server The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested 0.0s
  2. ! graphing The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested 0.0s

Can anyone help. Thanks.


  1. pi@raspberrypi:~/victron $ docker compose up -d
  2. [+] Running 43/26
  3. graphing 11 layers [⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿] 0B/0B Pulled 95.5s
  4. server 11 layers [⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿] 0B/0B Pulled 336.7s
  5. upnp 9 layers [⣿⣿⣿⣿⣿⣿⣿⣿⣿] 0B/0B Pulled 334.8s
  6. influxdb 8 layers [⣿⣿⣿⣿⣿⣿⣿⣿] 0B/0B Pulled 172.8s
  7. [+] Running 6/8
  8. Network victron_default Created0.8s 0.1s
  9. Volume "victron_grafana-storage" Created0.1s 0.0s
  10. Volume "victron_config-storage" Created0.0s 4.8s
  11. Volume "victron_influxdb-storage" Created0.0s 4.8s
  12. [+] Running 6/9ctron-influxdb-1 Network victron_default Created0.8s Volume "victron_grafana-storage" Created0.1s Volume "victron_config-storage" Created0.0s Volume "victron_influxdb-storage" Created0.0s amd64) does not match the detected host platform (linux/arm/v7) and[+] Running 6/9ctron-influxdb-1 Network victron_default Created0.8s Volume "victron_grafana-storage" Created0.1s Volume "victron_config-storage" Created0.0s Volume "victron_influxdb-storage" Created0.0s d64) does not match the detected host platform (linux/arm/v7) and Container victron-influxdb-1 [+] Running 6/10 Starting5.1s
  13. Network victron_default Created0.8s
  14. Volume "victron_grafana-storage" Created0.1s
  15. Volume "victron_config-storage" Created0.0s
  16. Volume "victron_influxdb-storage" Created0.0s
  17. Container victron-influxdb-1 [+] Running 6/10 Starting5.2s
  18. Network victron_default Created0.8s
  19. Volume "victron_grafana-storage" Created0.1s
  20. Volume "victron_config-storage" Created0.0s
  21. Volume "victron_influxdb-storage" Created0.0s
  22. Container victron-influxdb-1 [+] Running 6/10 Starting5.3s
  23. Network victron_default Created0.8s
  24. Volume "victron_grafana-storage" Created0.1s
  25. Volume "victron_config-storage" Created0.0s
  26. Volume "victron_influxdb-storage" Created0.0s
  27. Container victron-influxdb-1 [+] Running 6/10 Starting5.4s
  28. Network victron_default Created0.8s
  29. Volume "victron_grafana-storage" Created0.1s
  30. Volume "victron_config-storage" Created0.0s
  31. Volume "victron_influxdb-storage" Created0.0s
  32. Container victron-influxdb-1 [+] Running 6/10 Starting5.5s
  33. Network victron_default Created0.8s
  34. Volume "victron_grafana-storage" Created0.1s
  35. Volume "victron_config-storage" Created0.0s
  36. Volume "victron_influxdb-storage" Created0.0s
  37. Container victron-influxdb-1 [+] Running 6/10 Starting5.6s
  38. Network victron_default Created0.8s
  39. Volume "victron_grafana-storage" Created0.1s
  40. Volume "victron_config-storage" Created0.0s
  41. Volume "victron_influxdb-storage" Created0.0s
  42. Container victron-influxdb-1 [+] Running 6/10 Starting5.7s
  43. Network victron_default Created0.8s
  44. Volume "victron_grafana-storage" Created0.1s
  45. Volume "victron_config-storage" Created0.0s
  46. Volume "victron_influxdb-storage" Created0.0s
  47. Container victron-influxdb-1 [+] Running 6/10 Starting5.8s
  48. Network victron_default Created0.8s
  49. Volume "victron_grafana-storage" Created0.1s
  50. Volume "victron_config-storage" Created0.0s
  51. Volume "victron_influxdb-storage" Created0.0s
  52. Container victron-influxdb-1 [+] Running 6/10 Starting5.9s
  53. Network victron_default Created0.8s
  54. Volume "victron_grafana-storage" Created0.1s
  55. Volume "victron_config-storage" Created0.0s
  56. Volume "victron_influxdb-storage" Created0.0s
  57. Container victron-influxdb-1 [+] Running 6/10 Starting6.0s
  58. Network victron_default Created0.8s
  59. Volume "victron_grafana-storage" Created0.1s
  60. Volume "victron_config-storage" Created0.0s
  61. Volume "victron_influxdb-storage" Created0.0s
  62. Container victron-influxdb-1 [+] Running 6/10 Starting6.1s
  63. Network victron_default Created0.8s
  64. Volume "victron_grafana-storage" Created0.1s
  65. Volume "victron_config-storage" Created0.0s
  66. Volume "victron_influxdb-storage" Created0.0s
  67. Container victron-influxdb-1 [+] Running 6/10 Starting6.2s
  68. Network victron_default Created0.8s
  69. Volume "victron_grafana-storage" Created0.1s
  70. Volume "victron_config-storage" Created0.0s
  71. Volume "victron_influxdb-storage" Created0.0s
  72. Container victron-influxdb-1 [+] Running 6/10 Starting6.3s
  73. Network victron_default Created0.8s
  74. Volume "victron_grafana-storage" Created0.1s
  75. Volume "victron_config-storage" Created0.0s
  76. Volume "victron_influxdb-storage" Created0.0s
  77. Container victron-influxdb-1 [+] Running 6/10 Starting6.4s
  78. Network victron_default Created0.8s
  79. Volume "victron_grafana-storage" Created0.1s
  80. Volume "victron_config-storage" Created0.0s
  81. Volume "victron_influxdb-storage" Created0.0s
  82. Container victron-influxdb-1 [+] Running 6/10 Starting6.5s
  83. Network victron_default Created0.8s
  84. Volume "victron_grafana-storage" Created0.1s
  85. Volume "victron_config-storage" Created0.0s
  86. Volume "victron_influxdb-storage" Created0.0s
  87. Container victron-influxdb-1 [+] Running 6/10 Starting6.6s
  88. Network victron_default Created0.8s
  89. Volume "victron_grafana-storage" Created0.1s
  90. Volume "victron_config-storage" Created0.0s
  91. Volume "victron_influxdb-storage" Created0.0s
  92. Container victron-influxdb-1 [+] Running 6/10 Starting6.7s
  93. Network victron_default Created0.8s
  94. Volume "victron_grafana-storage" Created0.1s
  95. Volume "victron_config-storage" Created0.0s
  96. Volume "victron_influxdb-storage" Created0.0s
  97. Container victron-influxdb-1 [+] Running 6/10 Starting6.8s
  98. Network victron_default Created0.8s
  99. Volume "victron_grafana-storage" Created0.1s
  100. Volume "victron_config-storage" Created0.0s
  101. Volume "victron_influxdb-storage" Created0.0s
  102. Container victron-influxdb-1 [+] Running 6/10 Starting6.9s
  103. Network victron_default Created0.8s
  104. Volume "victron_grafana-storage" Created0.1s
  105. Volume "victron_config-storage" Created0.0s
  106. Volume "victron_influxdb-storage" Created0.0s
  107. Container victron-influxdb-1 [+] Running 6/10 Starting7.0s
  108. Network victron_default Created0.8s
  109. Volume "victron_grafana-storage" Created0.1s
  110. Volume "victron_config-storage" Created0.0s
  111. Volume "victron_influxdb-storage" Created0.0s
  112. Container victron-influxdb-1 [+] Running 6/10 Starting7.1s
  113. Network victron_default Created0.8s
  114. Volume "victron_grafana-storage" Created0.1s
  115. Volume "victron_config-storage" Created0.0s
  116. Volume "victron_influxdb-storage" Created0.0s
  117. Container victron-influxdb-1 [+] Running 6/10 Starting7.2s
  118. Network victron_default Created0.8s
  119. Volume "victron_grafana-storage" Created0.1s
  120. Volume "victron_config-storage" Created0.0s
  121. Volume "victron_influxdb-storage" Created0.0s
  122. Container victron-influxdb-1 [+] Running 6/10 Starting7.3s
  123. Network victron_default Created0.8s
  124. Volume "victron_grafana-storage" Created0.1s
  125. Volume "victron_config-storage" Created0.0s
  126. Volume "victron_influxdb-storage" Created0.0s
  127. Container victron-influxdb-1 [+] Running 6/10 Starting7.4s
  128. Network victron_default Created0.8s
  129. Volume "victron_grafana-storage" Created0.1s
  130. Volume "victron_config-storage" Created0.0s
  131. Volume "victron_influxdb-storage" Created0.0s
  132. Container victron-influxdb-1 [+] Running 6/10 Starting7.5s
  133. Network victron_default Created0.8s
  134. Volume "victron_grafana-storage" Created0.1s
  135. Volume "victron_config-storage" Created0.0s
  136. Volume "victron_influxdb-storage" Created0.0s
  137. Container victron-influxdb-1 [+] Running 6/10 Starting7.6s
  138. Network victron_default Created0.8s
  139. Volume "victron_grafana-storage" Created0.1s
  140. Volume "victron_config-storage" Created0.0s
  141. Volume "victron_influxdb-storage" Created0.0s
  142. Container victron-influxdb-1 [+] Running 6/10 Starting7.7s
  143. Network victron_default Created0.8s
  144. Volume "victron_grafana-storage" Created0.1s
  145. Volume "victron_config-storage" Created0.0s
  146. Volume "victron_influxdb-storage" Created0.0s
  147. Container victron-influxdb-1 [+] Running 7/10 Starting7.8s
  148. Network victron_default Created0.8s
  149. Volume "victron_grafana-storage" Created0.1s
  150. Volume "victron_config-storage" Created0.0s
  151. Volume "victron_influxdb-storage" Created0.0s
  152. Container victron-influxdb-1 [+] Running 7/10 Starting7.9s
  153. Network victron_default Created0.8s
  154. Volume "victron_grafana-storage" Created0.1s
  155. Volume "victron_config-storage" Created0.0s
  156. Volume "victron_influxdb-storage" Created0.0s
  157. Container victron-influxdb-1 [+] Running 7/10 Starting8.0s
  158. Network victron_default Created0.8s
  159. Volume "victron_grafana-storage" Created0.1s
  160. Volume "victron_config-storage" Created0.0s
  161. Volume "victron_influxdb-storage" Created0.0s
  162. Container victron-influxdb-1 [+] Running 7/10 Starting8.1s
  163. Network victron_default Created0.8s
  164. Volume "victron_grafana-storage" Created0.1s
  165. Volume "victron_config-storage" Created0.0s
  166. Volume "victron_influxdb-storage" Created0.0s
  167. Container victron-influxdb-1 [+] Running 7/10 Starting8.2s
  168. Network victron_default Created0.8s
  169. Volume "victron_grafana-storage" Created0.1s
  170. Volume "victron_config-storage" Created0.0s
  171. Volume "victron_influxdb-storage" Created0.0s
  172. Container victron-influxdb-1 [+] Running 7/10 Starting8.3s
  173. Network victron_default Created0.8s
  174. Volume "victron_grafana-storage" Created0.1s
  175. Volume "victron_config-storage" Created0.0s
  176. Volume "victron_influxdb-storage" Created0.0s
  177. Container victron-influxdb-1 [+] Running 7/10 Starting8.4s
  178. Network victron_default Created0.8s
  179. Volume "victron_grafana-storage" Created0.1s
  180. Volume "victron_config-storage" Created0.0s
  181. Volume "victron_influxdb-storage" Created0.0s
  182. Container victron-influxdb-1 [+] Running 7/10 Starting8.5s
  183. Network victron_default Created0.8s
  184. Volume "victron_grafana-storage" Created0.1s
  185. Volume "victron_config-storage" Created0.0s
  186. Volume "victron_influxdb-storage" Created0.0s
  187. Container victron-influxdb-1 [+] Running 7/10 Starting8.6s
  188. Network victron_default Created0.8s
  189. Volume "victron_grafana-storage" Created0.1s
  190. Volume "victron_config-storage" Created0.0s
  191. Volume "victron_influxdb-storage" Created0.0s
  192. Container victron-influxdb-1 [+] Running 7/10 Starting8.7s
  193. Network victron_default Created0.8s
  194. Volume "victron_grafana-storage" Created0.1s
  195. Volume "victron_config-storage" Created0.0s
  196. Volume "victron_influxdb-storage" Created0.0s
  197. Container victron-influxdb-1 [+] Running 7/10 Starting8.8s
  198. Network victron_default Created0.8s
  199. Volume "victron_grafana-storage" Created0.1s
  200. Volume "victron_config-storage" Created0.0s
  201. Volume "victron_influxdb-storage" Created0.0s
  202. Container victron-influxdb-1 [+] Running 7/10 Starting8.9s
  203. Network victron_default Created0.8s
  204. Volume "victron_grafana-storage" Created0.1s
  205. Volume "victron_config-storage" Created0.0s
  206. Volume "victron_influxdb-storage" Created0.0s
  207. Container victron-influxdb-1 [+] Running 7/10 Starting9.0s
  208. Network victron_default Created0.8s
  209. Volume "victron_grafana-storage" Created0.1s
  210. Volume "victron_config-storage" Created0.0s
  211. Volume "victron_influxdb-storage" Created0.0s
  212. Container victron-influxdb-1 [+] Running 7/10 Starting9.1s
  213. Network victron_default Created0.8s
  214. Volume "victron_grafana-storage" Created0.1s
  215. Volume "victron_config-storage" Created0.0s
  216. Volume "victron_influxdb-storage" Created0.0s
  217. Container victron-influxdb-1 [+] Running 7/10 Starting9.2s
  218. Network victron_default Created0.8s
  219. Volume "victron_grafana-storage" Created0.1s
  220. Volume "victron_config-storage" Created0.0s
  221. Volume "victron_influxdb-storage" Created0.0s
  222. Container victron-influxdb-1 [+] Running 7/10 Starting9.3s
  223. Network victron_default Created0.8s
  224. Volume "victron_grafana-storage" Created0.1s
  225. Volume "victron_config-storage" Created0.0s
  226. Volume "victron_influxdb-storage" Created0.0s
  227. Container victron-influxdb-1 [+] Running 7/10 Starting9.4s
  228. Network victron_default Created0.8s
  229. Volume "victron_grafana-storage" Created0.1s
  230. Volume "victron_config-storage" Created0.0s
  231. Volume "victron_influxdb-storage" Created0.0s
  232. Container victron-influxdb-1 [+] Running 7/10 Starting9.5s
  233. Network victron_default Created0.8s
  234. Volume "victron_grafana-storage" Created0.1s
  235. Volume "victron_config-storage" Created0.0s
  236. Volume "victron_influxdb-storage" Created0.0s
  237. Container victron-influxdb-1 [+] Running 7/10 Starting9.6s
  238. Network victron_default Created0.8s
  239. Volume "victron_grafana-storage" Created0.1s
  240. Volume "victron_config-storage" Created0.0s
  241. Volume "victron_influxdb-storage" Created0.0s
  242. Container victron-influxdb-1 [+] Running 8/10 Starting9.7s
  243. Network victron_default Created0.8s
  244. Volume "victron_grafana-storage" Created0.1s
  245. Volume "victron_config-storage" Created0.0s
  246. Volume "victron_influxdb-storage" Created0.0s
  247. Container victron-influxdb-1 [+] Running 9/10 Starting9.8s
  248. Network victron_default Created0.8s
  249. Volume "victron_grafana-storage" Created0.1s
  250. Volume "victron_config-storage" Created0.0s
  251. Volume "victron_influxdb-storage" Created0.0s
  252. Container victron-influxdb-1 [+] Running 9/10 Started9.8s
  253. Network victron_default Created0.8s
  254. Volume "victron_grafana-storage" Created0.1s
  255. Volume "victron_config-storage" Created0.0s
  256. Volume "victron_influxdb-storage" Created0.0s
  257. Container victron-influxdb-1 [+] Running 10/10 Started9.8s
  258. Network victron_default Created0.8s s
  259. Volume "victron_grafana-storage" Created0.1s
  260. Volume "victron_config-storage" Created0.0s
  261. Volume "victron_influxdb-storage" Created0.0s
  262. Container victron-influxdb-1 Started9.8s
  263. Container victron-server-1 Started10.0s
  264. Container victron-upnp-1 Started7.9s
  265. Container victron-graphing-1 Started9.7s
  266. ! server The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested 0.0s
  267. ! graphing The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested 0.0s
Raspberry Pigrafanadocker
2 |3000

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

2 Answers
h2009 avatar image
h2009 answered ·

Update:

It seems that you need change the yaml compose file for anyone else whom is stuck (add in ARMHF):


Also you can use this video guide to auto-restart services: https://youtu.be/QqIp9rsh4Ro


This file works as of 30/04/23:

  1. version: '3.4'
  2. services:
  3. server:
  4. image: "victronenergy/venus-docker-server:armhf-latest"
  5. ports:
  6. - "8088:8088"
  7. volumes:
  8. - "config-storage:/config"
  9. upnp:
  10. image: "victronenergy/venus-docker-upnp:latest"
  11. network_mode: host
  12. influxdb:
  13. image: "influxdb:1.7"
  14. ports:
  15. - "8086:8086"
  16. volumes:
  17. - "influxdb-storage:/var/lib/influxdb"
  18. environment:
  19. - INFLUXDB_HTTP_LOG_ENABLED=false
  20. graphing:
  21. image: "victronenergy/venus-docker-grafana:armhf-latest"
  22. volumes:
  23. - "grafana-storage:/var/lib/grafana"
  24. ports:
  25. - "3000:3000"
  26. volumes:
  27. influxdb-storage:
  28. grafana-storage:
  29. config-storage:
  30.  
2 |3000

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

kevgermany avatar image
kevgermany answered ·

@h2009

Thanks for the update.

Moving this to the modifications space.

2 |3000

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