zoneminder error after Ubuntu 14.04 / ZM 1.28.107 update

Forum for questions and support relating to the 1.28.x releases only.
Locked
sodisuhy
Posts: 9
Joined: Tue Jan 13, 2015 3:48 pm

zoneminder error after Ubuntu 14.04 / ZM 1.28.107 update

Post 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.
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: zoneminder error after Ubuntu 14.04 / ZM 1.28.107 update

Post 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

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: zoneminder error after Ubuntu 14.04 / ZM 1.28.107 update

Post 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

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
sodisuhy
Posts: 9
Joined: Tue Jan 13, 2015 3:48 pm

Re: zoneminder error after Ubuntu 14.04 / ZM 1.28.107 update

Post by sodisuhy »

thanks for the replies, Paco. i appreciate your feedback.
Locked