Page 1 of 1

zoneminder error after Ubuntu 14.04 / ZM 1.28.107 update

Posted: Mon Oct 19, 2015 12:35 pm
by sodisuhy
i was patching my Ubuntu 14.04 server running ZoneMinder 1.28, and inadvertently installed the 'package maintainer's version' of /etc/init.d/zoneminder. see below.

Setting up zoneminder (1.28.107-trusty-2015101401) ...

Configuration file '/etc/init.d/zoneminder'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** zoneminder (Y/I/N/O/D/Z) [default=N] ? y
Installing new version of config file /etc/init.d/zoneminder ...
Installing new version of config file /etc/zm/zm.conf ...
Setting up zoneminder-doc (1.28.107-trusty-2015101401) ...

after a reboot, i try to login to the web UI and receive the following error:

ZoneMinder is not installed properly: php's date.timezone is not set to a valid timezone

can anyone tell me how to fix this? i am uncertain at this point.

Re: zoneminder error after Ubuntu 14.04 / ZM 1.28.107 update

Posted: Mon Oct 19, 2015 3:23 pm
by PacoLM
Check this out: http://www.zoneminder.com/wiki/index.ph ... _on_Ubuntu

Bbunge has made a good job compiling all this information to help other users.
Hope it helps,

Paco

Re: zoneminder error after Ubuntu 14.04 / ZM 1.28.107 update

Posted: Mon Oct 19, 2015 3:24 pm
by PacoLM
Add timezone to PHP

nano /etc/php5/apache2/php.ini

Search for [Date] and make changes as follows for your time zone

[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = America/New_York

Re: zoneminder error after Ubuntu 14.04 / ZM 1.28.107 update

Posted: Mon Oct 19, 2015 3:37 pm
by sodisuhy
thanks for the replies, Paco. i appreciate your feedback.