Open chenxudong2020 opened 10 months ago
hey @chenxudong2020 did you copy the config.json
?
Review here: https://github.com/kerberos-io/agent/tree/master/deployments/docker#attach-a-volume
I couldn't find this file, so I didn't copy it either. Your answer has already been found. Thank you
According to your steps, you added config.json and restarted the container with an error message
The underlying system is synology 7.2 system kernel, which is 4.4
Looks like the timezone isn't set correctly.
I had the same problem running on Docker. To fix it, I created the config.json file using this one as an example: config.json
After executing the container startup using the following command, the log error is as follows
docker run -p 9999:80 --name mycamera \ -e AGENT_USERNAME=xxx\ -e AGENT_PASSWORD=xxx \ -e AGENT_TIMEZONE=GMT+8 \ -v $(pwd)/agent/config:/home/agent/data/config \ -v $(pwd)/agent/recordings:/home/agent/data/recordings \ -d --restart=always kerberos/agent:latest