Help with Zoneminder on Pi
-
- Posts: 4
- Joined: Fri Sep 06, 2024 3:17 pm
Help with Zoneminder on Pi
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?
Re: Help with Zoneminder on Pi
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
-
- Posts: 4
- Joined: Fri Sep 06, 2024 3:17 pm
Re: Help with Zoneminder on Pi
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.
-
- Posts: 4
- Joined: Fri Sep 06, 2024 3:17 pm
Re: Help with Zoneminder on Pi
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#
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#
Re: Help with Zoneminder on Pi
That line, in English says ... "You appear to be trying to run a PC/x86 architecture binary on a Raspberry Pi"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)
I don't think that works.
-
- Posts: 4
- Joined: Fri Sep 06, 2024 3:17 pm
Re: Help with Zoneminder on Pi
I understand that however is there a arm version of zoneminder that works with the pi or not?