Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config file is not found ./data/config/config.json #129

Open
chenxudong2020 opened this issue Nov 29, 2023 · 5 comments
Open

Config file is not found ./data/config/config.json #129

chenxudong2020 opened this issue Nov 29, 2023 · 5 comments
Assignees
Labels
question Further information is requested

Comments

@chenxudong2020
Copy link

chenxudong2020 commented Nov 29, 2023

After executing the container startup using the following command, the log error is as follows

image

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

@cedricve
Copy link
Member

cedricve commented Dec 3, 2023

@cedricve cedricve self-assigned this Dec 3, 2023
@cedricve cedricve added the question Further information is requested label Dec 3, 2023
@chenxudong2020
Copy link
Author

I couldn't find this file, so I didn't copy it either. Your answer has already been found. Thank you

@chenxudong2020
Copy link
Author

chenxudong2020 commented Dec 4, 2023

According to your steps, you added config.json and restarted the container with an error message

image
The underlying system is synology 7.2 system kernel, which is 4.4

@cedricve
Copy link
Member

Looks like the timezone isn't set correctly.

@HugoDL
Copy link

HugoDL commented Jun 20, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants