Install Zoneminder Please refer Connor's web site Open the terminal and run following commands.
sudo add-apt-repository ppa:iconnor/zoneminder-master sudo apt-get update sudo apt install zoneminder
sudo su
rm /etc/mysql/my.cnf
cp /etc/mysql/mysql.conf.d/mysqld.cnf /etc/mysql/my.cnf
gedit /etc/mysql/my.cnf
add the following line at 32
sql_mode = NO_ENGINE_SUBSTITUTION
systemctl restart mysql
Create Zoneminder database in MySQL (Note: this also creates the default Zoneminder user and permissions in MySQL)
mysql -uroot -p < /usr/share/zoneminder/db/zm_create.sql mysql -uroot -p -e "grant all on zm.* to 'zmuser'@localhost identified by 'zmpass';"
mysqladmin -uroot -p reload
chmod 740 /etc/zm/zm.conf
chown root:www-data /etc/zm/zm.conf
adduser www-data video
a2enmod cgi
a2enconf zoneminder
a2enmod rewrite
chown -R www-data:www-data /usr/share/zoneminder/
systemctl enable zoneminder
service zoneminder start
Add timezone to PHP
gedit /etc/php/7.2/apache2/php.ini
edit line 939 with your timezone
Then save the file php.ini Your time zone can be get from here
Adding cambozola.jar to the directory /usr/share/zoneminder/www/ Download the latest cambozola and extract to the Downloads directory of your PC Then copy the cambozola.jar to the directory /usr/share/zoneminder/www/ On the ubuntu terminal run sudo cp /home/bkjaya1952/Downloads/cambozola-latest/cambozola-0.936/dist/cambozola.jar /usr/share/zoneminder/www/
Open zoneminder web console (http://localhost/zm/) It was observed in ZM-Console, the monitor adding editing Deleting buttons are not working. This is due to the default setting in /etc/apache2/conf-available/zoneminder.conf This problem can be solved by editing the zoneminder.conf file as follows. Open the terminal and run following commands (In ZoneMinder, v1.31.45 this error has been rectified) sudo gedit /etc/apache2/conf-available/zoneminder.conf Add following lines at 13 and 14 as shown in the above figure and save AllowOverride All Require all granted Then to restart Apache
sudo service apache2 reload
Then open the ZM-Console and restart zoneminder Now you can see all the buttons in zm-console are working. In my case ,I have added an usb camera as shown in the following figures Adding USB camera Adding USB camera ZM- Console after adding the camera Camera view Facility to add storage areas Reference - Zoneminder forums
Thanks much for the instructions! Big help in getting this running.
Hi Grant
You are welcome !
really good. snx
Hi Shamil
Thanks
[…] camera on mobile phone using Hik-Connect app For installation of Zoneminder on Ubuntu please refer my other post Our main objective is to see how to connect this camera to zoneminder . To add a camera monitor to […]
Hi,
can You help, i added 4 ip cameras, and cpu runs at 100% . on windows with luxriot soft its about 20-30% cpu usage.
Hi Romas
It seems you have installed Zoneminder on a virtual machine running on windows. I think ,running directly on linux is much efficient than running on a linux system installed on a virtual machine .Therefore it it better to have a partition on the desk and install linux on it to run Zoneminder . I have not used luxriot software . But following link may be useful to improve the performance ,if you still want to use VM on Windows to run zoneminder .
https://community.spiceworks.com/topic/427547-help-all-guest-vms-100-cpu
No, I have ubuntu on difrent partition.
Even if enebled function ‘monitor’ , cpu runs at 60-70%, only when swich to ‘none’, cpu usage falls down to 3-4%.
Hi Romas
Please see the instructions given in this link to reduce the cpu usage.https://wiki.zoneminder.com/Managing_Load
. By using low resolution streaming ( reduced picture size) and black and white pictures, will reduce cpu usage considerably .
I am stuck on your document as I can’t seem to copy the cambozola.jar over to the /usr/share/zoneminder/www/ . I am very new at Ubuntu so I must be missing something. I can copy to other folders just not the one you indicate. Must be read only folder.
Thanks,
Hi Jerry
First download Cambozla from this link http://www.andywilcock.com/code/cambozola/cambozola-latest.tar.gz to your Download folder.
Then right click the mouse on the folder and extract it in to your Download folder. If you go through the extracted file you can see the “cambozolar.jar” in the sub folder called “dist “.This “cambozola.jar” file has to be copied in to the folder at /uasr/share/zomeminder/www/.
Open the ubuntu terminal
Then run
On the ubuntu terminal run
sudo cp /home/bkjaya1952/Downloads/cambozola-latest/cambozola-0.936/dist/cambozola.jar /usr/share/zoneminder/www/
Then open the ZM panel and goto Options-> Images -> and tick the box at OPT_CAMBOZOLA . Then check weather the PATH_CAMBOZOLA cage is filled with cambozola.jar. Then save the setting in ZM options .Then restart ZM .
Best regards
B.K.Jayasundera
Hello, everything went fine except the instruction “Add timezone to PHP” that returns me that the order was not found, so I skipped that step and continue with the following ones. When I try to open the browser with the address “http: // localhost / zm /” it returns “ZoneMinder is not installed properly: php’s date.timezone is not set to a valid timezone”
Hi Oslaf
Please open php.ini file at the directory /etc/php/7.2/apache2/ using gedit command as follows
Open the ubuntu terminal
sudo gedit /etc/php/7.2/apache2/php.ini
Then go to line number 939 and enter your time zone as shown in the instructions of my blog
Please ensure to delete ” ; ” in front of date.timezone .
The respective timezone of your country can be obtained from this site http://php.net/manual/en/timezones.php
If the above procedure does not work ,please uninstall zoneminder and apache completely using synaptic package manager and reinstall
Hello, thank you very much for the help. I followed your instructions and everything worked very well. That was a test on a virtual machine running Ubuntu 18.04, so I installed it on the hard drive in a new partition and followed the instructions in the same way but things were different. (1) I ran the ZoneMinder installer available on Connorś web site and apparently it did not work because I did not find the program among the installed ones, (2) then “rm /etc/mysql/my.cnf” and “cp / etc / mysql / mysql .conf.d / mysqld.cnf /etc/mysql/my.cnf “did not find the files” my.cnf “and” mysqld.cnf “, (3) I installed MySQL following internet instructions and ran the first two instructions but edit “my.cnf” the content is different and I can not replace line 32. (4) I tried to move on but the next instruction did not run anymore.
It’s a shame because I wanted to replace an ISpy monitoring system running on Windows that gives problems. For users like me Linux is really very complicated.
Dear Oslaf
You can’t edit my.cnf file unless you are in root.Therefore for editing my.cnf please use sudo command.
sudo gedit /etc/mysql/my.cnf
When the file is opened , place the mouse cursor at line number 32 and press ‘Enter’ key so that you will add an empty line at line number 32. Now you can copy sql_mode = NO_ENGINE_SUBSTITUTION in to that line. Then save my.cnf .
For me Linux is better than Windows.
Best regards
B.K.Jayasundera
Hi Oslaf
I think ,some thing wrong with the PHP version .Please go to /etc/php/ and see whether any other version of PHP exits .If any other PHP version is available, go to apache2 folder and put your “date.timezone ” in php.ini
Hey thank you for your post, I did everything you mentioned but i got this message on the browser
ZoneMinder is not installed properly: php’s date.timezone is not set to a valid timezone
I did change the time zone as you mention.
do you have any thoughts on this?
Using ubuntu 18.04
thanks
Hi Bruno
Uninstall apache and zoneminder. Then open the ubuntu terminal.
Enter
sudo apt autoremove.
(Or clean using ubuntu tweak)
Then first install apahe then install zoneminder and follow the steps in my blog. Restart zoneminder.
Thank you for replying,
Installing Apache Im guessing is in your post from the line
sudo su
??
Sorry bodering you so much, I have this issue now
root@Linuxbruno:/home/bruno# mysql -uroot -p < /usr/share/zoneminder/db/zm_create.sql
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Dear Bruno
Open the Ubuntu terminal and enter
sudo su
mysql -uroot -p < /usr/share/zoneminder/db/zm_create.sql
mysql -uroot -p -e "grant all on zm.* to 'zmuser'@localhost identified by 'zmpass';"
mysqladmin -uroot -p reload
and proceed as shown in the blog…….
In each case when asking for password, just press the "Enter key" (blank password) of your key board.
Dear Bruno
If you start with sudo su ,you do not have to use sudo for each command as you are in root.
Otherwise you will have to use sudo for each and every command in order to get root permission.
Thank you for all your help, let me tell you what I’m doing. After installing and unistalling so many times I decided to reinstall ubuntu 18 from zero.
I started folowing all your steps, everything is wonderfull until this step
root@LinuxBruno:/home/bruno# a2enconf zoneminder
Enabling conf zoneminder.
To activate the new configuration, you need to run:
systemctl reload apache2
root@LinuxBruno:/home/bruno# systemctl reload apache2
Job for apache2.service failed because the control process exited with error code.
See “systemctl status apache2.service” and “journalctl -xe” for details.
If I run “journalctl -xe” i found this error
Job for apache2.service failed because the control process exited with error code.
See “systemctl status apache2.service” and “journalctl -xe” for details.
root@LinuxBruno:/home/bruno# journalctl -xe
Jul 20 19:00:37 LinuxBruno apachectl[10633]: AH00526: Syntax error on line 37 of
Jul 20 19:00:37 LinuxBruno apachectl[10633]: Invalid command ‘RewriteEngine’, pe
Jul 20 19:00:37 LinuxBruno apachectl[10633]: Action ‘graceful’ failed.
Jul 20 19:00:37 LinuxBruno apachectl[10633]: The Apache error log may have more
Jul 20 19:00:37 LinuxBruno systemd[1]: apache2.service: Control process exited,
Jul 20 19:00:37 LinuxBruno systemd[1]: Reload failed for The Apache HTTP Server.
— Subject: Unit apache2.service has finished reloading its configuration
— Defined-By: systemd
— Support: http://www.ubuntu.com/support
—
— Unit apache2.service has finished reloading its configuration
—
— The result is RESULT.
Jul 20 19:04:09 LinuxBruno systemd[1]: Started Run anacron jobs.
— Subject: Unit anacron.service has finished start-up
— Defined-By: systemd
— Support: http://www.ubuntu.com/support
—
— Unit anacron.service has finished starting up.
—
— The start-up result is RESULT.
Jul 20 19:04:09 LinuxBruno anacron[10650]: Anacron 2.3 started on 2018-07-20
Jul 20 19:04:09 LinuxBruno anacron[10650]: Normal exit (0 jobs run)
If I run ” systemctl status apache2.service”
root@LinuxBruno:/home/bruno# systemctl status apache2.service
● apache2.service – The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset:
Drop-In: /lib/systemd/system/apache2.service.d
└─apache2-systemd.conf
Active: active (running) (Result: exit-code) since Fri 2018-07-20 18:56:40 ED
Process: 10633 ExecReload=/usr/sbin/apachectl graceful (code=exited, status=1/
Main PID: 9908 (apache2)
Tasks: 6 (limit: 4915)
CGroup: /system.slice/apache2.service
├─9908 /usr/sbin/apache2 -k start
├─9910 /usr/sbin/apache2 -k start
├─9911 /usr/sbin/apache2 -k start
├─9912 /usr/sbin/apache2 -k start
├─9913 /usr/sbin/apache2 -k start
└─9914 /usr/sbin/apache2 -k start
Jul 20 18:56:40 LinuxBruno systemd[1]: Starting The Apache HTTP Server…
Jul 20 18:56:40 LinuxBruno apachectl[9904]: AH00558: apache2: Could not reliably
Jul 20 18:56:40 LinuxBruno systemd[1]: Started The Apache HTTP Server.
Jul 20 19:00:37 LinuxBruno systemd[1]: Reloading The Apache HTTP Server.
Jul 20 19:00:37 LinuxBruno apachectl[10633]: AH00526: Syntax error on line 37 of
Jul 20 19:00:37 LinuxBruno apachectl[10633]: Invalid command ‘RewriteEngine’, pe
Jul 20 19:00:37 LinuxBruno apachectl[10633]: Action ‘graceful’ failed.
I don’t want to try to solve it with other posts because they have been making me install things and uninstall things that never fix the problem.
Do you have any idea? It’s a new linux installation.
Again thank you
Dear Bruno
I think you have missed the command “sudo service apache2 reload” placed at the bottom part of my blog.
Please try this command on the Ubuntu terminal
sudo a2enmod rewrite && sudo service apache2 restart
Hello I would like to ask some questions about the instructions on this page. Are you still monitoring it? Thanks for your time.
Hi Martin
Please ask the questions. I will try to answer.
Yes I am at this step, mysql -uroot -p -e “grant all on zm.* to ‘zmuser’@localhost identified by ‘zmpass’;” and i am confused by zmuser@localhost identified by zmpass
Is this making a user called zmpass?
Also I am wondering about www-data video
Where does www-data come from? video is a user right? The reason I ask is because this machine is running ubuntu server 18.04 and has gnome desktop installed. It logs in as “user74” and I am wondering if this will create a problem for me?
I am a novice linux user with a strong computer background in case you are wondering. I appreciate your time.
Hi Martin
Answer to your question on “zmpass” is explained in this link https://zoneminder.readthedocs.io/en/stable/installationguide/multiserver.html
“adduser www-data video” comes under Apache2 configuration. As the zoneminder is run by apache, we need to add the video device to apache:
Logging in as “user74” will not create problem for the Zoneminder.
When creating Zoneminder database in MySQL there will be prompts asking for password,.It is advisable to use a blank password for those prompts (Just press the Enter key)
Thank you for the reply. I seem to have run into a problem. I listed everything I have done recently below. Hopefully it all makes sense and is clear.
The problem is that when I execute http://localhost/zm/ I get an error telling me that “php’s date.timezone is not set to a valid timezone”
I did run gedit /etc/php/7.2/apache2/php.ini and this is the format I saved there
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
;date.timezone = America/Los_Angeles
I executed this command BEFORE asking you questions.
root@nvr:/home/user74# mysql -uroot -p ^C
root@nvr:/home/user74# mysql -uroot -p -e “grant all on zm.* to
> ‘zmuser’@localhost identified by ‘zmpass’;”^C I ABORTED THESE COMMANDS AND ASKED YOU QUESTIONS.
Here is a copy of the commands I executed after receiving your reply to my questions. I do realize that I did not execute the reload and restart commands for apache until I had completed some of the subsequent steps but I don’t think that would affect it running, would it?
root@nvr:/home/user74# mysql -uroot -p -e “grant all on zm.* to ‘zmuser’@localhost identified by ‘zmpass’;”
Enter password:
root@nvr:/home/user74# mysqladmin -uroot -p reload
Enter password:
root@nvr:/home/user74# chmod 740 /etc/zm/zm.conf
root@nvr:/home/user74# chown root:www-data /etc/zm/zm.conf
root@nvr:/home/user74# adduser www-data video
Adding user `www-data’ to group `video’ …
Adding user www-data to group video
Done.
root@nvr:/home/user74# a2enmod cgi
Module cgi already enabled
root@nvr:/home/user74# a2enconf zoneminder
Enabling conf zoneminder.
To activate the new configuration, you need to run:
systemctl reload apache2
root@nvr:/home/user74# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
systemctl restart apache2
root@nvr:/home/user74# chown -R www-data:www-data /usr/share/zoneminder/
root@nvr:/home/user74# systemctl enable zoneminder
Created symlink /etc/systemd/system/multi-user.target.wants/zoneminder.service → /lib/systemd/system/zoneminder.service.
root@nvr:/home/user74# service zoneminder start
root@nvr:/home/user74# gedit /etc/php/7.2/apache2/php.ini
root@nvr:/home/user74# cp /home/user74/Downloads/cambozola-latest/cambozola-0.936/dist/cambozola.jar /usr/share/zoneminder/www/
root@nvr:/home/user74# systemctl reload apache2
root@nvr:/home/user74# a2enmod rewrite
Module rewrite already enabled
root@nvr:/home/user74# systemctl restart apache2
root@nvr:/home/user74# gedit /etc/php/7.2/apache2/php.ini
root@nvr:/home/user74# gedit /etc/php/7.2/apache2/php.ini
root@nvr:/home/user74# systemctl restart apache2
Thanks for your time and guidance. – Martin
Dear Martin
You have not uncommented the line of timezone in the php.ini when entering the timezone .When the line is uncommented only the command can be executed.For uncommenting you will have to delete the Semicolon (;) at the beginning of line.When “;” is deleted the letters of date.timezone will become green.
;date.timezone = America/Los_Angeles is wrong
date.timezone = America/Los_Angeles is correct( after deleting Semicolon)
I made an error above. Where it says “I executed this command BEFORE asking you questions”, please strike that from the above sequence. I meant for that to go with the following command…
root@nvr:/home/user74# mysql -uroot -p < /usr/share/zoneminder/db/zm_create.sql
Enter password:
I entered a password here then stopped and contacted you for the first time. Was this where you think I should have a blank password? If so how would I make it blank?
Hi Martin
Just hit the “enter key” of the keyboard and wait until the normal terminal prompt appears. It might take 1-2 minutes.
That fixed the time problem and I completed the rest of the steps and added a camera to zm successfully. I am curious to know if you have tried to change the default storage location for zoneminder? I have a 250GB main drive but I installed a 4TB second drive and wish to store my video there. Any suggestions?
Thanks for your help with your instructions.
Hi Martin
I am glad to know that you have installed ZM successfully. I haven’t tried to change the default storage location for zoneminder. But it may not that difficult .
Please refer following links .
https://launchpad.net/~iconnor/+archive/ubuntu/zoneminder-storageareas
https://zoneminder.readthedocs.io/en/latest/installationguide/dedicateddrive.html
Please let us know if you have manage to establish a separate storage areas using the procedure mentioned in above links. .
Thank you for the providing the links. I have not tried this yet but I will keep you up to date on progress. I do have one question I should have asked you. You had me run this command: sudo gedit /etc/apache2/conf-available/zoneminder.conf
I changed line 13 as instructed to: AllowOverride All
My file looked different from yours after that.
# Apache 2.4
Require all granted
# Apache 2.2
Order deny,allow
Allow from all
Your screenshot did not contain this code. Should I have left this code on or removed it and simply had the line: “Require all granted” follow “AllowOverride All”
I removed it and as I said zoneminder works. You did not say anything about deleting part of the code so I am now wondering if that code is actually needed.
What do you think?
Thanks – Marty
Hi Martin
There was a problem in adding monitors to the ZM Console in Zoneminder v 1.31.44 . As a solution for that problem the above changes have been done in /etc/apache2/conf-available/zoneminder.conf . You don’t have to edit zoneminder.conf as the error has been corrected in the latest Zoneminder v1.31.45 .
Hi Marty
I have managed to have an usb drive as a dedicated drive . Please refer my post .https://bkjaya.wordpress.com/2018/08/23/how-to-use-an-usb-drive-as-a-dedicated-drive-for-zoneminder-v1-31-46-on-ubuntu-18-04-lts-computer/
Mr Jayasundera, great job. I followed this HOWTO had zero issues. I’m using a HP thin client T620 plus – has only 16G SSD – and I followed your other HOWTO and set up an external USB stick to store images/captures on. Working great so far. I’m going to look thru your other archieves and see what other neat stuff you figured out in your retirement!
Ralph
Hi Ralph
Thank you very much !
Thank you sir! This is a great write up! Took out all the guess-work.
Hi Justin
You are welcome !
I’ve purged ZoneMinder before following instructions. All Ok until:
For some reason, when I tried to paste in the instruction, it Posted. Problem is:
root@Laptop:/home/john# mysql -uroot -p < /usr/share/zoneminder/db/zm_create.sqlEnter password:
ERROR 1819 (HY000) at line 736: Your password does not satisfy the current policy requirements
root@Laptop:/home/john# gedit /usr/share/zoneminder/db/zm_create.sql
root@Laptop:/home/john# mysql -uroot -p < /usr/share/zoneminder/db/zm_create.sqlEnter password:
ERROR 1819 (HY000) at line 736: Your password does not satisfy the current policy requirements
I've tried blank password, my previous mysql password and 'admin' (obtained by looking at code), all gave same error.
Hi johnaaronrose
Please try
mysql -h localhost -u root -p
mysql>uninstall plugin validate_password;
Did the mysql stuff followed by exit to leave mysql prompt. Then repeated “mysql -uroot -p < /usr/share/zoneminder/db/zm_create.sql" with blank password and that was Ok. I then followed rest of your instructions. However, on "http://localhost:83/zm/" got "The requested URL /zm/ was not found on this server.". I use port 83 as I don't want to be inundated by script kiddies trying port 80 and I may use another PC in the future for a port 80 Web Server: I have port 83 open on my Laptop that I use for ZM on my home network (with Port Forwarding for 83 to that Laptop) & port 80 closed on my Laptop. I amended Apache2 configuration as follows:
1- edit /etc/apache2/ports.conf, then change both "NameVirtualHost *:80" and "Listen 80" to the new port
2- edit /etc/apache2/sites-enabled/000-default and change "” to reflect the new port
3- restart apache “service apache2 restart”
This works OK because “http://127.0.0.1:83/” display the Apache2 Ubuntu Default Page.
Could the problem be with cambazola.jar?
Hi johnaaronrose
The port 83 may not be opened in the router . . Zm runs even without cambazola.jar
Hello,
Thanks for great step by step tutorial!
I can confirm, that it still works with 1.32.2 version.
Just with Ubuntu server 18.04 LTS I had wrong sources.list that includes only main channel. So, I did
sudo gedit /etc/apt/sources.list
and make it look like this:
deb http://archive.ubuntu.com/ubuntu bionic main multiverse restricted universe
deb http://archive.ubuntu.com/ubuntu bionic-security main multiverse restricted universe
deb http://archive.ubuntu.com/ubuntu bionic-updates main multiverse restricted universe
Saved and exit. Then updated your repository with:
sudo apt update
Hi LiudasLT
Thank you
Hi LiudasLT
Thank you for your comment.👏
Hi LiudsLT
Thank you for the comment.
Hi,
I followed instructions here and installed Zoneminder 1.32.3 on Ubuntu 16.04 Mate on Rasberry Pi 3 B+ board.
Everything except video recording is working fine. In Monitor->Storage->Video Writer is set to “DIsabled”. I cannot select “X264 Encode” or “H264 Camera Passthrough” because its grayed out.
How to get is enabled?
Any help is appreciated.
Hi YoonusC
What is the type of camera you are using ?
I have 2 IP cameras. Both foscam.
Model FI8910W
Model FI8909W
From zoneminder forum I was informed x264 encoding is not supported for arm processor. Hence disabled.
I now need to set source type to FFMPG and provide correct source path. This way I can use H264 passthrough.
I am trying to find what source path to give for these cameras. Any ideas?
Hi YoonusC
Pease see /usr/bin/ for ffmpg. Go to options in zm panal and set the path for ffmpg
FFMPG path is set correctly. I was asking what source path to set for camera in zm?
Also do you know if below camera work with zm?
https://www.aliexpress.com/item/1-3MP-360-Degree-Wireless-IP-Camera-Fisheye-Panoramic-Surveillance-Security-Camera-Wifi-Night-vision-Bulb/32820356522.html
Hi Yoonus C
Please go to zm panel and select the monitor .Then press the onvif tab in the monitor menu to enable to automatically detect the camera and camera settings. Then save the settings.
i have a isue, when open the browser its blank.. localhost/zm. what are u think about my isue, when i use chrome .https://photos.google.com/search/_tra_/photo/AF1QipOIO48b48XXFu2loDd5d1M0mPyS4T463Nhqbhw_
Hi nor sairi
Your link in the post is not working. However I think the problem may be due to wrong configuration in Apache. Please purge Zoneminder and re install and follow the procedure in my post in this link https://bkjaya.weebly.com/blog/how-to-install-zoneminder-v1321-on-ubuntu-1804-lts
when i write this command sudo add-apt-repository ppa:iconnor/zoneminder-master
an error apper can you help me please
Hi mohamed zainhom
Could you send me the error details. Please refer my latest post for installation Zoneminder https://bkjaya.wordpress.com/2018/12/15/how-to-install-zoneminder-v1-33-0-on-ubuntu-18-10-lts-cosmic/ . An error may occur when you try to add ppa while Synaptic is running or during the software updating.
Hi mohamed zainhom
Please follow my latest post on Zoneminder inatallation. https://bkjaya.wordpress.com/2018/12/15/how-to-install-zoneminder-v1-33-0-on-ubuntu-18-10-lts-cosmic/
Please send me the error details.
An error may occur when you try to add ppa while the software update is in progress or the Synaptic is running
Hi Jaya,
Just wanted to say thanks for your excellent guide. Installed it on a new 18.04 ubuntu server today and it worked flawless.
Maybe a good tip to start with this first:
* First install a brand new Ubuntu 18.04 LTS server (no GUI per default)
* Then install LAMP using this guide: https://howtoubuntu.org/how-to-install-lamp-on-ubuntu
* Install a GUI
sudo apt install tasksel
sudo tasksel install xubuntu-core
sudo reboot
… after that, your guide is the perfect next thing. Thanks again!
Thank you .Jurgen for your suggestion .
I followed all the steps, I had the error of the time zone, uninstalled everything and reinstalled it again, I can not make it work. It gives me an error. I send you the log. Actually I want to migrate to Ubuntu, but something as simple as setting up a CMS in Windows, becomes very complicated in Linux.
Hi rackso04
When you are editing time zone in php.ini at line number 939 , you will have to delete ; mark to be able to activate the command.
Hi, Thanks for your tutorial, which I have followed. I have zoneminder working with two network IP cameras which are recording events Ok but I can’t delete any old events. I can look at the events and highlight the tick boxes against each event. The delete button is highlighted as the mouse hovers over it but nothing happens when I click on the delete button (or indeed any of the other buttons)
I’m sure it must be a simple problem but do you have any suggestions as to what might be wrong ?
Hi Martyn
There are some problems in the zm console of the latest zoneminder master package. Run , and Restart buttons are not working .The developers may correct those issues in the next update. You can make a filter and run to dete past events
Thanks for your prompt response. I will have to learn how to apply filters unless you have an idiots guide to deleting past events?
As an aside I have noticed that any changes I make to options such as “web_events_per_page” are not being remembered. Could there be a permissions issue ?
Hi Martyn Bottomley
There is a Zoneminder update today (8-2-2019) .You better update and see whether the problems have been corrected . I have checked and found the errors were corrected .In your problem on “web_events_per_page are not being remembered” , Did you save the settings .(save button is at the bottom to the right side of the page). If the problems prevails , purge Zoneminder and reinstall .
Hello. Latest updates applied and all seems to be working fine. Thanks again for your assistance
Hi Martyn
You are welcome 👏
Hi Jaya,
Not sure if you can help but after a clean load of Ubuntu 19.04 I successfully installed Mythtv, which I presume will have loaded the LAMP components
I then tried to load Zoneminder 1.32 but have seen the following errors when I run:-
sudo apt install zoneminder:-
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies.
zoneminder : Depends: libmp4v2-2 but it is not installable
Depends: libx264-142 but it is not installable or
libx264-148 but it is not installable or
libx264-152 but it is not installable
Recommends: zoneminder-doc (>= 1.33.1~20190207114458-disco) but 1.32.3-disco is to be installed
E: Unable to correct problems, you have held broken packages.
Do you have any suggestions as to how I might resolve this ?
Regards Martyn
Hi Martyn
You don’t need Mythtv or LAMP ,If you follow the instruction in this link below.
https://bkjaya.wordpress.com/2018/12/15/how-to-install-zoneminder-v1-33-0-on-ubuntu-18-10-lts-cosmic/
Hi,
Just to let you know……….
Due to time pressures I have done a clean reload with Ubuntu 18.04, installed Mythtv 0.29 and Zoneminder 1.33.9 and everything worked fine
Using the software updater tool I then did a Ubuntu upgrade to 18.10 and everything still worked fine
Could there be some missing files in 19.04 that affect Zoneminder?
Hi Martyn
First completely uninstall Mythtv and LAMP using synsptic. Then on the Ubuntu termial run
sudo apt autoremove
Then install zoneminder .
Mythzoneminder seems to be an out dated plugin .