Added new Camera but Storage directory not created.
Tried creating manually, but did not help
Can't open /CamDrive/5/2018-09-16/184818/00744-capture.jpg: No such file or directory
Added Camera, But cannot write to storage
Re: Added Camera, But cannot write to storage
Linux distro and version? What kind of storage are you trying to write to?
Re: Added Camera, But cannot write to storage
Ubuntu 16.04.10 Linux version 4.4.0-135-generic
Trying to write to local drive..same drive and directory as the other 2 cameras (1 HikVision, 1 Foscam) are writing to all the time.
After the 1.32 update, 1 out of my 3 cameras (an Hikvision) would create 30+ minute events (6GB) every once in a while, even though there were only a few alarm frames.
So I tried updating it's firmware, but afterwards the usual HikVision source string (same as the other HikVision camera) would not work.
So I tried the source string I use for the Foscam camera...and it worked, but I still had the problem with the odd huge capture.
Next I deleted the camera (HiKVision) from Zoneminder, and re-added it. That's when I got the cannot write to storage error.
Only thing left to do was to purge Zoneminder and database, and re-install.
But so far I have not located the 1.32 versions installation guide, and the 1.30 version installation guide no longer applies.
Trying to write to local drive..same drive and directory as the other 2 cameras (1 HikVision, 1 Foscam) are writing to all the time.
After the 1.32 update, 1 out of my 3 cameras (an Hikvision) would create 30+ minute events (6GB) every once in a while, even though there were only a few alarm frames.
So I tried updating it's firmware, but afterwards the usual HikVision source string (same as the other HikVision camera) would not work.
So I tried the source string I use for the Foscam camera...and it worked, but I still had the problem with the odd huge capture.
Next I deleted the camera (HiKVision) from Zoneminder, and re-added it. That's when I got the cannot write to storage error.
Only thing left to do was to purge Zoneminder and database, and re-install.
But so far I have not located the 1.32 versions installation guide, and the 1.30 version installation guide no longer applies.
Re: Added Camera, But cannot write to storage
One thing you can try is to remove the entry in the my.cnf:
In the [mysqld] section remove the following for ZM 1.32.0
sql_mode = NO_ENGINE_SUBSTITUTION
then
service zoneminder stop
service mysql restart
service zoneminder start
If you need to reinstall Zoneminder 1.30.4 see:
https://wiki.zoneminder.com/Ubuntu_Serv ... e_easy_way
In the [mysqld] section remove the following for ZM 1.32.0
sql_mode = NO_ENGINE_SUBSTITUTION
then
service zoneminder stop
service mysql restart
service zoneminder start
If you need to reinstall Zoneminder 1.30.4 see:
https://wiki.zoneminder.com/Ubuntu_Serv ... e_easy_way
Re: Added Camera, But cannot write to storage
Thanks bbunge,
Unfortunately I had already purged the app, www-data and the database, so the script was not to happy about that.
It is a dedicated server, so it is best that I start from scratch.
Just not sure whether to go to Ubuntu 18, PHP 7.0, Zoneminder 1.32, or go back to Ubuntu 16.04, PHP 5.7, Zoneminder 1.30.
Any thoughts?
Unfortunately I had already purged the app, www-data and the database, so the script was not to happy about that.
It is a dedicated server, so it is best that I start from scratch.
Just not sure whether to go to Ubuntu 18, PHP 7.0, Zoneminder 1.32, or go back to Ubuntu 16.04, PHP 5.7, Zoneminder 1.30.
Any thoughts?
Re: Added Camera, But cannot write to storage
Bionic uses PHP 7.2
Xenial uses PHP 7.0
The WIKI has current install procedures for both using 1.30.4 64 bit.
There are reasons to use either Bionic or Xenial. For my production server I run Xenial, Mariadb, PHP, Apache2, ZM 1.30.4 and Webmin. Xenial is a bare bones install. No server utils from tasksel.
Xenial uses PHP 7.0
The WIKI has current install procedures for both using 1.30.4 64 bit.
There are reasons to use either Bionic or Xenial. For my production server I run Xenial, Mariadb, PHP, Apache2, ZM 1.30.4 and Webmin. Xenial is a bare bones install. No server utils from tasksel.
Re: Added Camera, But cannot write to storage
Well I stuck with it and managed to get the script to work with no errors.
But I am back to the problem of the live view on Zoneminder breaking up every 5-10 seconds and generating events.
Connecting directly to the camera's web interface is fine no matter how I set it up.
Next I will try an older firmware for the camera.
But I am back to the problem of the live view on Zoneminder breaking up every 5-10 seconds and generating events.
Connecting directly to the camera's web interface is fine no matter how I set it up.
Next I will try an older firmware for the camera.