Install on Pi3 Issues

Forum for questions and support relating to the 1.29.x releases only.
Locked
clayjk
Posts: 6
Joined: Wed May 11, 2016 6:33 pm

Install on Pi3 Issues

Post by clayjk »

Hey everyone,
Has anyone tried installing ZM on a Pi3 following the wiki recently? --> https://wiki.zoneminder.com/Raspbian

I've tried installing twice from a fresh Rasberrian image both times (installed via Noobs) and it is not working for me.

I seem to get stuck on this step each time in that it can't find the zoneminder conf when running "a2enconf zoneminder".

I was able to work past that by running "sudo ln -s /etc/zm/apache.conf /etc/apache2/conf-enabled/zoneminder.conf". After that, ZM is running but the app does not work. There are no settings defined, I am unable to add a camera, and other options are blank or just not there. I suspect it may be a issue with the DB setup. I did see an error when I ran the create scripts saying the logs table already existed but there was no other errors besides that.

Just wondering if anyone has had any luck with this recently (last 2 weeks) as I seem to be running into a number of random issues and given the instructions this seems like it should be much more straight forward.
bbunge
Posts: 2956
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Install on Pi3 Issues

Post by bbunge »

The install that was written for was based on ZM 1.28.1. There are some differences for 1.29.0. I will try to take the time to do a Debian 1.29.0 install to check what needs to be changed.

Ah... there is a 1.29.0 guide: https://wiki.zoneminder.com/Debian_8_64 ... e_Easy_Way
mrLitter
Posts: 5
Joined: Sat May 14, 2016 7:56 pm

Re: Install on Pi3 Issues

Post by mrLitter »

I did successfully install it on raspbian jessie with these instructions https://wiki.zoneminder.com/Raspbian; I just learned that they are based on ZM 1.28...
I skipped the first part and started right away with this step:
Update Raspbian Sources
apt-get update
I did the SQL stuff with these two commands:

Code: Select all

mysql -uroot -p < /usr/share/zoneminder/db/zm_create.sql

mysql -uroot -p -e "grant all on zm.* to 'zmuser'@localhost identified by 'zmpass';"

(same as in https://wiki.zoneminder.com/Debian_8_64 ... e_Easy_Way)

and stopped at:
Open Zoneminder in web browser

http://serverip/zm
At the end I updated the php.ini with my timezone.

I skipped a lot of stuff because I was only interested in a brief test environment. Not because I do not agree with the steps :-)
On my Pi 3 I can at least add cameras and see their stream.

Although I can't give you any advice, maybe it helps seeing that somebody else was able to run zm on rpi...
clayjk
Posts: 6
Joined: Wed May 11, 2016 6:33 pm

Re: Install on Pi3 Issues

Post by clayjk »

bbunge wrote:The install that was written for was based on ZM 1.28.1. There are some differences for 1.29.0. I will try to take the time to do a Debian 1.29.0 install to check what needs to be changed.

Ah... there is a 1.29.0 guide: https://wiki.zoneminder.com/Debian_8_64 ... e_Easy_Way
I followed these instructions and all was good up until this step -
"a2enconf zoneminder"

I got the "ERROR: Conf zoneminder does not exist!" Error again.

Any suggestions on what to look for to complete the install?
petrmaje
Posts: 8
Joined: Fri May 13, 2016 6:54 pm

Re: Install on Pi3 Issues

Post by petrmaje »

Hi,

I am playing with PI3 just now. Follow this step-by-step:

viewtopic.php?t=24367

And you will have zero problems with basic installation. The next step you have to think about is where to store videos and Mysql performace, when running on SD card :)
Locked