Help with Zoneminder on Pi

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
joshuachristie
Posts: 4
Joined: Fri Sep 06, 2024 3:17 pm

Help with Zoneminder on Pi

Post by joshuachristie »

Soo Zoneminder installed fine on my Desktop on Debian but with the Rasberry Pi 5 with the Radxa penta Sata hat in zfs pools in omv on docker it hasn’t been going well. I created the directories and such as a docker compose file but it isn’t working correctly. Any chance someone could help me with this issue or knows much about this that could help me with it?
sodaso
Posts: 2
Joined: Tue Sep 17, 2024 8:48 am

Re: Help with Zoneminder on Pi

Post by sodaso »

Ensure that your docker-composegeometry dash subzeroyml file is set up correctly for Zoneminder. Double-check the volumes, network settings, and environment variables to make sure they are correct.

Code: Select all

version: '3.3'
services:
  zoneminder:
    image: zoneminderhq/zoneminder:latest
    container_name: zoneminder
    restart: always
    ports:
      - "8080:80"
    volumes:
      - /path/to/your/data:/var/cache/zoneminder
      - /path/to/your/config:/etc/zm
    environment:
      - TZ=America/New_York
      - MYSQL_ROOT_PASSWORD=your_password
      - ZM_DB_HOST=db
    depends_on:
      - db
  db:
    image: mariadb
    container_name: zm_db
    environment:
      - MYSQL_ROOT_PASSWORD=your_password
      - MYSQL_DATABASE=zm
      - MYSQL_USER=zmuser
      - MYSQL_PASSWORD=zmpass
    volumes:
      - /path/to/your/db:/var/lib/mysql
    restart: always
joshuachristie
Posts: 4
Joined: Fri Sep 06, 2024 3:17 pm

Re: Help with Zoneminder on Pi

Post by joshuachristie »

Code: Select all

version: '3.3'
services:
  zoneminder:
    image: pliablepixels/zoneminder
    container_name: zoneminder
    restart: always
    ports:
      - "8089:80"
    volumes:
      - /ZFS/Docker/ZoneMinder/data:/var/cache/zoneminder
      - /ZFS/Docker/ZoneMinder/config:/etc/zm
    environment:
      - TZ=America/New_York
      - MYSQL_ROOT_PASSWORD=your_password
      - ZM_DB_HOST=db
    depends_on:
      - db
  db:
    image: mariadb
    container_name: zm_db
    environment:
      - MYSQL_ROOT_PASSWORD=your_password
      - MYSQL_DATABASE=zm
      - MYSQL_USER=zmuser
      - MYSQL_PASSWORD=zmpass
    volumes:
      - /ZFS/Docker/ZoneMinder/db:/var/lib/mysql
    restart: always
Last edited by joshuachristie on Mon Sep 23, 2024 1:47 pm, edited 1 time in total.
joshuachristie
Posts: 4
Joined: Fri Sep 06, 2024 3:17 pm

Re: Help with Zoneminder on Pi

Post by joshuachristie »

This is what I get
root@joshua:/ZFS/Docker/ZoneMinder# sudo docker-compose up -d
[+] Running 4/4
✔ Network zoneminder_default Created 0.2s
✔ Container zm_db Started 0.4s
✔ Container zoneminder Started 0.8s
! zoneminder The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested 0.0s
root@joshua:/ZFS/Docker/ZoneMinder#
mikb
Posts: 655
Joined: Mon Mar 25, 2013 12:34 pm

Re: Help with Zoneminder on Pi

Post by mikb »

joshuachristie wrote: Mon Sep 23, 2024 1:47 pm The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8)
That line, in English says ... "You appear to be trying to run a PC/x86 architecture binary on a Raspberry Pi"

I don't think that works.
joshuachristie
Posts: 4
Joined: Fri Sep 06, 2024 3:17 pm

Re: Help with Zoneminder on Pi

Post by joshuachristie »

I understand that however is there a arm version of zoneminder that works with the pi or not?
blaczero
Posts: 21
Joined: Sat Sep 21, 2024 12:19 pm

Re: Help with Zoneminder on Pi

Post by blaczero »

Post Reply