Ubuntu 16.04 Release with Zoneminder 1.29.0

Forum for questions and support relating to the 1.29.x releases only.
borism
Posts: 2
Joined: Mon Apr 25, 2016 1:11 am

Re: Ubuntu 16.04 Release with Zoneminder 1.29.0

Post by borism » Mon Apr 25, 2016 2:40 pm

Пишу на русском (переведете в google)
1-Ваша инструкция по ссылке https://wiki.zoneminder.com/Ubuntu_Serv ... e_easy_way

Code: Select all

cp /etc/mysql/mysql.conf.d/mysqld.cnf /etc/mysql/my.cnf
НЕ ВЕРНА
2-Правильно изменять файл /etc/mysql/conf.d/mysql.cnf

Code: Select all

[mysql]
sql_mode = NO_ENGINE_SUBSTITUTION
В этом случае все работает как Вы и указали в своей инструкции
Ниже привожу скриншоты
Для Ваших указаний

Code: Select all

cp /etc/mysql/mysql.conf.d/mysqld.cnf /etc/mysql/my.cnf
следует ошибка,показанная ниже на скриншоте-1
zm7.png
скриншот-1
zm7.png (159.36 KiB) Viewed 4084 times
Если изменять файл /etc/mysql/conf.d/mysql.cnf , то все работает без ошибок как показано на скриншоте-2
zm8.png
скриншот-2
zm8.png (159.24 KiB) Viewed 4084 times
В итоге далее по Вашей инструкции все работает без ошибок и получаем рабочий сервер zoneminder как показано на скриншоте-3
zm1.png
скриншот-3
zm1.png (212.85 KiB) Viewed 4084 times
С уважением
Борис

Zmjm15
Posts: 90
Joined: Fri Jul 31, 2015 7:56 pm

Re: Ubuntu 16.04 Release with Zoneminder 1.29.0

Post by Zmjm15 » Mon Apr 25, 2016 2:58 pm

Youve not done the timezone correctly, probably left the ; on the start


Hi guys,

i was wondering how to put my zm install on a subdomain,

I'm trying to change the details in the vhosts but am having trouble, was wondering if anybody had any advice?

Many thanks

bbunge
Posts: 2405
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Ubuntu 16.04 Release with Zoneminder 1.29.0

Post by bbunge » Mon Apr 25, 2016 8:53 pm

The instructions in the WIKI cover the correct time zone entry.

diluted
Posts: 9
Joined: Mon Nov 16, 2015 8:51 pm

Re: Ubuntu 16.04 Release with Zoneminder 1.29.0

Post by diluted » Mon Apr 25, 2016 9:20 pm

Just followed the instructions because I wanted to move to 16.04 from 14.04 and I noticed that ZM isn't requiring me to log in or authenticate to itself?

bbunge
Posts: 2405
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Ubuntu 16.04 Release with Zoneminder 1.29.0

Post by bbunge » Tue Apr 26, 2016 1:38 am

diluted wrote:Just followed the instructions because I wanted to move to 16.04 from 14.04 and I noticed that ZM isn't requiring me to log in or authenticate to itself?
If you used the upgrade instructions in the WIKI, they have not been tested with the final release of 16.04. I did a quick review and found a couple of things I'll need to change. Family matters have kept me quite busy the past week...

bb

diluted
Posts: 9
Joined: Mon Nov 16, 2015 8:51 pm

Re: Ubuntu 16.04 Release with Zoneminder 1.29.0

Post by diluted » Tue Apr 26, 2016 12:06 pm

bbunge wrote:
diluted wrote:Just followed the instructions because I wanted to move to 16.04 from 14.04 and I noticed that ZM isn't requiring me to log in or authenticate to itself?
If you used the upgrade instructions in the WIKI, they have not been tested with the final release of 16.04. I did a quick review and found a couple of things I'll need to change. Family matters have kept me quite busy the past week...

bb

Actually I did a fresh install on a new VM. Not a pressing issue since I still have a 1.28 VM on 14.04 that authenticates. Hope all is well with the family I'm looking forward to 1.29 so I'll stay subscribed to this thread.

bbunge
Posts: 2405
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Ubuntu 16.04 Release with Zoneminder 1.29.0

Post by bbunge » Tue Apr 26, 2016 8:46 pm

Well, you will need to enable authentication from the options menu once ZM is up and running. That is not part of installation but configuration. See the users guide

http://zoneminder.readthedocs.org/en/latest/

antares2001
Posts: 18
Joined: Fri Apr 08, 2016 9:29 am

Re: Ubuntu 16.04 Release with Zoneminder 1.29.0

Post by antares2001 » Wed Apr 27, 2016 6:50 am

Look at https://wiki.zoneminder.com/Ubuntu_Serv ... e_easy_way where it says PHP timezone. You need to set the timezone for PHP to something like Europe/Berlin.

diluted
Posts: 9
Joined: Mon Nov 16, 2015 8:51 pm

Re: Ubuntu 16.04 Release with Zoneminder 1.29.0

Post by diluted » Wed Apr 27, 2016 11:02 am

bbunge wrote:Well, you will need to enable authentication from the options menu once ZM is up and running. That is not part of installation but configuration. See the users guide

http://zoneminder.readthedocs.org/en/latest/
Yea so I feel slightly retarded... I guess I just forgot that I clicked that before.

Vladimir.Izmalkov
Posts: 2
Joined: Thu Apr 28, 2016 7:22 pm

Re: Ubuntu 16.04 Release with Zoneminder 1.29.0

Post by Vladimir.Izmalkov » Thu Apr 28, 2016 7:30 pm

borism wrote:Пишу на русском (переведете в google)
1-Ваша инструкция по ссылке https://wiki.zoneminder.com/Ubuntu_Serv ... e_easy_way

Code: Select all

cp /etc/mysql/mysql.conf.d/mysqld.cnf /etc/mysql/my.cnf
НЕ ВЕРНА
2-Правильно изменять файл /etc/mysql/conf.d/mysql.cnf

Code: Select all

[mysql]
sql_mode = NO_ENGINE_SUBSTITUTION
В этом случае все работает как Вы и указали в своей инструкции
Ниже привожу скриншоты
skip.
С уважением
Борис
Solution correct for Mysql 5.6. :(
/home/vladimir# cat /etc/mysql/conf.d/mysql.cnf
[mysql]
sql_mode = NO_ENGINE_SUBSTITUTION

#mysql -u root -p
mysql: [ERROR] unknown variable 'sql_mode=NO_ENGINE_SUBSTITUTION'


cat /etc/mysql/conf.d/mysql.cnf
[mysql]
# sql_mode = NO_ENGINE_SUBSTITUTION

mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 15
Server version: 5.7.12-0ubuntu1 (Ubuntu)

Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>

Any ideas ???? Question still open.

User avatar
MJN
Posts: 238
Joined: Wed Jan 17, 2007 10:29 am
Location: Wiltshire, UK
Contact:

Re: Ubuntu 16.04 Release with Zoneminder 1.29.0

Post by MJN » Fri Apr 29, 2016 4:41 pm

Vladimir.Izmalkov wrote:

Code: Select all

#mysql -u root -p
mysql: [ERROR] unknown variable 'sql_mode=NO_ENGINE_SUBSTITUTION'
Any ideas ???? Question still open.
Yes; there's an error in the wiki instructions. The sql_mode = NO_ENGINE_SUBSTITUTION directive should go in the [mysqld] section (i.e. with a 'd' not without!).

I've edited the wiki to correct this.

bbunge
Posts: 2405
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Ubuntu 16.04 Release with Zoneminder 1.29.0

Post by bbunge » Fri Apr 29, 2016 6:43 pm

MJN wrote:
Vladimir.Izmalkov wrote:

Code: Select all

#mysql -u root -p
mysql: [ERROR] unknown variable 'sql_mode=NO_ENGINE_SUBSTITUTION'
Any ideas ???? Question still open.
Yes; there's an error in the wiki instructions. The sql_mode = NO_ENGINE_SUBSTITUTION directive should go in the [mysqld] section (i.e. with a 'd' not without!).

I've edited the wiki to correct this.
Good Catch! Thanks.

bb

Vladimir.Izmalkov
Posts: 2
Joined: Thu Apr 28, 2016 7:22 pm

Re: Ubuntu 16.04 Release with Zoneminder 1.29.0

Post by Vladimir.Izmalkov » Sat Apr 30, 2016 9:10 am

bbunge wrote:
MJN wrote:
Vladimir.Izmalkov wrote:

Code: Select all

#mysql -u root -p
mysql: [ERROR] unknown variable 'sql_mode=NO_ENGINE_SUBSTITUTION'
Any ideas ???? Question still open.
Yes; there's an error in the wiki instructions. The sql_mode = NO_ENGINE_SUBSTITUTION directive should go in the [mysqld] section (i.e. with a 'd' not without!).

I've edited the wiki to correct this.
Good Catch! Thanks.

bb
Thanks a lot !!!

I findout this yesterday at the late evening by myself and test. Now everything work fine !!!

Here is my changes:

cat /etc/mysql/conf.d/mysql.cnf
[mysql]
[mysqld]
sql_mode = 'NO_ENGINE_SUBSTITUTION'

May be it`s have to be added to documenttation 8)

Issue fixed. Topic Closed.

User avatar
MJN
Posts: 238
Joined: Wed Jan 17, 2007 10:29 am
Location: Wiltshire, UK
Contact:

Re: Ubuntu 16.04 Release with Zoneminder 1.29.0

Post by MJN » Sat Apr 30, 2016 12:04 pm

You can get rid of the [mysql] section as it is invalid. You also haven't followed the instructions about which file to edit.

(And the topic should remain open to others - it wasn't created just for you!)

User avatar
iconnor
Posts: 760
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Ubuntu 16.04 Release with Zoneminder 1.29.0

Post by iconnor » Sat Apr 30, 2016 1:58 pm

You havn't set the timezone is the right php.ini file. Normally the one you need to edit is /etc/php/apache2/php.ini

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests