homarr: Cant load any Dash. dashboard into homarr, not even the public demo

Environment

Docker

Version

0.10.3

Describe the problem

I can’t load any Dash. site into homarr. I tried all possible configurations of the three buttons:

  • CPU Multi-Core View
  • Storage Multi-Drive View
  • Use Compact View

I did this for both my private instance running on the same server in a docker-compose environment accessible using http://localhosst:8086 or from https://dashdot.homeserver.box using a nginx reverseproxy and the public instance on https://dash.mauz.io/ , both without success, even if those Dash. sites seem to be working flawlessly.

The homarr widget prints only the following output: “Cannot acquire information from dash. - are you running the latest version?” image

I have also added both the public demo and my own instance of Dash. as apps to the homarr dashboard.

What i have tried:

  • remove Environment Vars of dashdots docker-compose.yml
  • Try diffrent browsers
  • Try public Dash. demo
  • setup the containers again
  • remove parts of The Dash. widget (ex: only show CPU)

Additional info

image image

Tried it with both Chromium and Firefox, it’s not a FF only thing.

full homarr configs:

{
  "name": "default",
  "services": [
    {
      "id": "9f755da3-fe3a-4239-b7f8-897b05191503",
      "type": "Other",
      "name": "old dash",
      "icon": "https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/flame.png",
      "url": "https://flame.homeserver.box"
    },
    {
      "id": "f5fd1027546027518a00de0c3f85929ec65f69b1940f404647f3042d74b35eb9",
      "type": "Other",
      "name": "nextcloud",
      "icon": "https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/nextcloud.png",
      "url": "https://nextcloud.homeserver.box"
    },
    {
      "id": "a4e812f6abf39ecb2aaf766302f86413f2ef1f61ad109229797932b5205a9035",
      "type": "Dash.",
      "name": "dash.",
      "icon": "https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/dashdot.png",
      "url": "https://dashdot.homeserver.box"
    },
    {
      "id": "740ef6be-87dc-44cc-9c68-84030f244041",
      "type": "Dash.",
      "name": "dash. demo",
      "icon": "/favicon.png",
      "url": "https://dash.mauz.io/"
    }
  ],
  "settings": {
    "searchUrl": "https://searxng.homeserver.box/search?q=%s",
    "logo": "/icons/homeserver.png",
    "widgetPosition": "left",
    "title": "homeserver.box - Start",
    "appCardWidth": 1.6,
    "primaryColor": "orange",
    "secondaryColor": "red",
    "favicon": "/icons/favicon/favicon.ico",
    "background": "/imgs/Center_of_the_Milkyway.jpg "
  },
  "modules": {
    "Search Bar": {
      "enabled": true
    },
    "calendar": {
      "enabled": false
    },
    "dashdot": {
      "enabled": true,
      "options": {
        "cpuMultiView": {
          "value": false
        },
        "storageMultiView": {
          "value": false
        },
        "url": {
          "value": "https://dashdot.homeserver.box/"
        },
        "useCompactView": {
          "value": false
        }
      }
    },
    "date": {
      "enabled": true
    },
    "search": {
      "enabled": true
    },
    "dlspeed": {
      "enabled": false
    },
    "ping": {
      "enabled": true
    },
    "docker": {
      "enabled": true
    },
    "weather": {
      "enabled": true
    }
  }
}

homarr docker-compose.yml

version: '3'
services:
  homarr:
    container_name: homarr
    image: ghcr.io/ajnart/homarr:latest
    restart: unless-stopped
    volumes:
      - ./homarr/configs:/app/data/configs
      - /var/www/html/icons:/app/public/icons
      - /var/www/html/images:/app/public/imgs
      - /var/run/docker.sock:/var/run/docker.sock
    ports:
      - '8084:7575'

Dash. docker-compose.yml

version: '3.5'

services:
  dashdot:
    environment:
      DASHDOT_ENABLE_CPU_TEMPS: 'true'
      DASHDOT_SHOW_HOST: 'true'
      DASHDOT_ENABLE_STORAGE_SPLIT_VIEW: 'true'
      DASHDOT_ALWAYS_SHOW_PERCENTAGES: 'true'
      DASHDOT_PAGE_TITLE: 'homeserver.box - Dashboard'
      DASHDOT_NETWORK_LABEL_LIST: 'type,speed_up,speed_down,interface_speed, public_ip'
    image: mauricenino/dashdot:latest
    restart: unless-stopped
    privileged: true
    ports:
      - '8086:3001'
    volumes:
      - /:/mnt/host:ro

Please tick the boxes

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 1
  • Comments: 31 (5 by maintainers)

Most upvoted comments

If somebody has the problem with self-signed certs here is my solution:

first in your docker-compose you add the path to your local ca and a folder in the container and setup the environment like this

    environment:
    - NODE_EXTRA_CA_CERTS=/etc/ssl/certs/private/ca/ca-root.pem <<-- path in container
    volumes:
      - ./volumes/homarr/configs:/app/data/configs
      - ./volumes/homarr/icons:/app/public/icons
      - /etc/ssl/private/ca:/etc/ssl/certs/private/ca:ro <<-- path to your local self-signed ca

and now node.js knows your self-signed ca and dash. is working