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

Create Zoneminder data directories on install #4

Merged
merged 1 commit into from Jan 6, 2019

Conversation

Projects
None yet
2 participants
@davidjb
Copy link

davidjb commented Jan 6, 2019

Without these commands, a newly installed plugin lacks the required directories for ZM to function. /var/db/zoneminder exists and is writeable by the www user but ZM doesn't make any attempts to mkdir, causing errors like this to appear repeatedly in the logs (and capture to be broken):

ERR	Path /var/db/zoneminder/events does not exist.
WAR	Storage::disk_usage_percent: path /var/db/zoneminder/events does not exist
WAR	Cannot write to content dirs('/var/db/zoneminder/events','/var/db/zoneminder/images'). Check that these exist and are owned by the web account user
Create Zoneminder data directories on install
Without these commands, a newly installed plugin lacks the required directories for ZM to function.  `/var/db/zoneminder` exists and is writeable by the www user but ZM doesn't make any attempts to mkdir, causing errors like this to appear repeatedly in the logs (and capture to be broken):

```
ERR	Path /var/db/zoneminder/events does not exist.
WAR	Storage::disk_usage_percent: path /var/db/zoneminder/events does not exist
WAR	Cannot write to content dirs('/var/db/zoneminder/events','/var/db/zoneminder/images'). Check that these exist and are owned by the web account user
```

@miwi-fbsd miwi-fbsd merged commit a430dae into freenas:master Jan 6, 2019

@miwi-fbsd

This comment has been minimized.

Copy link

miwi-fbsd commented Jan 6, 2019

Thank you David.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment