Giter Club home page Giter Club logo

Comments (6)

michaelarnauts avatar michaelarnauts commented on May 30, 2024

This is due to the ZM_CACHEDIR. The path should be /var/cache/zoneminder, but that doesn't exists, so zoneminder can't write to it. Also, the apache config isn't modified to allow downloading from these folders.

#13 is the the consequence of this issue.

from docker-zoneminder.

thelamer avatar thelamer commented on May 30, 2024

I apologize for the long delay without even a response on this, we are planning on changing massive amounts of logic for this to go live, your help with testing would be appreciated:

#21

from docker-zoneminder.

PX03AFK avatar PX03AFK commented on May 30, 2024

I know this is marked as closed but I am intrigued to know why this error is occurring when ZM is stopped.

from docker-zoneminder.

PX03AFK avatar PX03AFK commented on May 30, 2024

Also, the directory needs permissions for ZM to use it.

from docker-zoneminder.

PX03AFK avatar PX03AFK commented on May 30, 2024

What I had forgotten is that I have a cron job that periodically checks whether ZM should be running so it does a status check but doesn't, in this instance, start ZM. So the error was presumably showing up because of the status check.

from docker-zoneminder.

thelamer avatar thelamer commented on May 30, 2024

The old container is dead, any problems you had with it will never get fixed.
If you want to test the new one please see the tags to use in that PR:

lspipepr/zoneminder:none-pkg-none-pr-21

And follow the instructions in the readme:

https://github.com/linuxserver/docker-zoneminder/blob/alpine/README.md

Specifically use this compose example:

version: "3"
services:
  mariadb:
    image: linuxserver/mariadb:latest
    container_name: zoneminder_mariadb
    restart: always
    environment:
      - MYSQL_ROOT_PASSWORD=dbpass
      - TZ=Europe/London
  zoneminder:
    image: lsiodev/zoneminder:latest
    container_name: zoneminder
    restart: always
    depends_on:
      - mariadb
    environment:
      - DB_HOST=mariadb
      - DB_USER=root
      - DB_PASS=dbpass
      - TZ=Europe/London
    ports:
      - "80:80"

from docker-zoneminder.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.