Issue with dashboard?

Hi I was wondering if someone could shed some light on the issue im having,
Currently i have crowdsec working, but cant seem to get it working with the dashboard
of crowdsec
this is the log

crowdsec-dashboard | 2022-08-17 23:17:39,729 WARN db.env :: WARNING: Using Metabase with an H2 application database is not recommended for production deployments. For production deployments, we highly recommend using Postgres, MySQL, or MariaDB instead. If you decide to continue to use H2, please be sure to back up the database file regularly. For more information, see 

crowdsec-dashboard | 2022-08-17 23:18:05,176 INFO plugins.dependencies :: Metabase cannot initialize plugin Metabase Vertica Driver due to required dependencies. Metabase requires the Vertica JDBC driver in order to connect to Vertica databases, but we can't ship it as part of Metabase due to licensing restrictions. See

when i go to the 192.168.7.206:1111/

i get error ssl protocol error when i try to access the website

This is my docker compose

version: "2.1"
services:
  swag:
    build: .
    container_name: swag
    cap_add:
      - NET_ADMIN
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/Bogota
      - URL=domain.co
      - SUBDOMAINS=admin
      - VALIDATION=http
      - MAXMINDDB_LICENSE_KEY=Wde5xxxxxxx
      - DOCKER_MODS=linuxserver/mods:swag-maxmind|linuxserver/mods:swag-dashboard
      - CROWDSEC_API_KEY=70f1f70088b25xxxxxxx
      - CROWDSEC_LAPI_URL=http://crowdsec:8080
      - ONLY_SUBDOMAINS=true
    networks:
      - lsio
    volumes:
      - /swag:/config
    ports:
      - 443:443
      - 80:80
      - 81:81
    restart: unless-stopped

  crowdsec:
     container_name: crowdsec
     image: crowdsecurity/crowdsec:latest
     restart: unless-stopped
     depends_on:
       - swag
     networks:
       -  lsio
     environment:
       - COLLECTIONS=crowdsecurity/nginx
       - GID=1000
     volumes:
       -  /swag/log/nginx:/var/log/nginx
       - ./crowdsec/acquis.yaml:/etc/crowdsec/acquis.yaml
       - ./crowdsec/crowdsec-db:/var/lib/crowdsec/data/
       - ./crowdsec/crowdsec-config:/etc/crowdsec/
     security_opt:
      - no-new-privileges=true

  dashboard:
    container_name: crowdsec-dashboard
    build: ./crowdsec/dashboard
    restart: unless-stopped
    depends_on:
      - crowdsec
    networks:
       -  lsio
    ports:
      - 1111:3000
    environment:
      - MB_DB_FILE=/data/metabase.db
      - MGID=1000
    volumes:
      - ./crowdsec/crowdsec-db:/metabase-data/
networks:
  lsio:
   name: lsio

Thank you

Several things could be wrong here. So I would suggest that you try and access metabase without swag and see if that works. If not, those errors that you pasted in the log could be relevant to fix. I see those at related more to Metabase than CrowdSec so we won’t be able to help with that.
If it does work without swag it looks like swag is the problem and not metabase (or CrowdSec). So if that’s the case, look for help in a metabase specific forum.

Does that make sense?

1 Like

Thank you so much for the reply, it seems that i had to wait a while for it to come up the dashboard but after a while it started to work thank you again