I was wrong that only the data folder comes up with mysql running.
All the folders come up, only that they take a LONG time to do so.
Maybe I am starting zm before it finishes configuration?? But how long can the configuration take, hours??
How can I know it is finished??
This morning I looked at docker/Zoneminder/conf/zm.default
Code: Select all
# ==========================================================================
#
# ZoneMinder Base Configuration
#
# ==========================================================================
#
# *** DO NOT EDIT THIS FILE ***
#
# To make custom changes to the variables below, create a new configuration
# file, with an extention of .conf, under the /etc/zm/conf.d
# folder, containing your desired modifications.
#
# Path to installed data directory, used mostly for finding DB upgrade scripts
ZM_PATH_DATA=/usr/share/zoneminder
# Path to ZoneMinder binaries
ZM_PATH_BIN=/usr/bin
# Path to ZoneMinder libraries (none at present, for future use)
ZM_PATH_LIB=/usr/lib/x86_64-linux-gnu
# Path to ZoneMinder configuration (this file only at present)
ZM_PATH_CONF=/etc/zm
......
I looked on my Linux partition and most of these folders don't exist.
My only guess is that these folders exist inside docker, which I haven't been able to see.
Docker is a container which is still closed to me.
I have question if my definitions are reasonable, as to where to store the zm information.
In the code on the first page it has
Code: Select all
-v "/home/ilan/ilan/docker/Zoneminder":"/config":rw \
-v "/home/ilan/ilan/docker/Zoneminder/data":"/var/cache/zoneminder":rw \
dlandon/zoneminder
Maybe putting it on my home partition, instead of the Liinux partition, is a mistake?
While I was at it, I looked at the available log files. Mostly they were binary and not text.
I looked with a hex editor but didn't get any useful information.
I must have some major mistake in what I am doing, but since I pretty much copied what was suppose to work, it isn't clear where my blunder could be.
Can anyone give me some help?
Thanks,
Ilan