Page 1 of 1

1.31.XX for Debian Stretch?

Posted: Wed Jan 03, 2018 4:14 pm
by russell_i_brown
Is there a repo for 1.31.XX for Debian Stretch?

If not, what's the easiest way of getting 1.31 installed on Stretch?

Ta.

Re: 1.31.XX for Debian Stretch?

Posted: Wed Jan 03, 2018 9:27 pm
by bbunge
No
Wait for the official release.

Re: 1.31.XX for Debian Stretch?

Posted: Fri Jan 05, 2018 2:57 am
by knight-of-ni
Debian Stretch is theoretically supported by our build system so you can try building a package for your distro by following these steps:
http://zoneminder.readthedocs.io/en/lat ... kpack.html

This requires familiarity with Docker.

The only difference is you will be checking out iconnor's storage areas branch, rather than master.

You will call the build script like so:

Code: Select all

OS=debian DIST=stretch utils/packpack/startpackpack.sh

Re: 1.31.XX for Debian Stretch?

Posted: Sat Jan 06, 2018 8:22 pm
by iconnor
We have a repo... I just don't update it very often.

For jessie
deb http://zmrepo.zoneminder.com/debian/storageareas jessie/
For stretch
deb http://zmrepo.zoneminder.com/debian/storageareas stretch/

Re: 1.31.XX for Debian Stretch?

Posted: Sat Jan 06, 2018 11:39 pm
by rockedge
I am going in... finally giving the package build a whirl. Going with Ubuntu for a Puppy Linux Xenial build attempt....... see how it goes.

Re: 1.31.XX for Debian Stretch?

Posted: Wed Jan 17, 2018 1:29 pm
by russell_i_brown
Thanks iconner, that repo got me 1.31.19

On a clean and shiny Debian Stretch the sql creation has a few issues. Not sure if this is the place to report it but I've attached a diff of the one in the .deb and the version I ended up with. I'm not sure my hackery was right but at least mysql didn't complain and bomb out.

The install also didn't create the Scheme field in the Events table. I had to run zm_update-1.31.17.sql manually.

Other observations:

No Paths section in Options.

Errors when I try to view an event:

Code: Select all

2018-01-17 13:26:31.364676	web_js		25101	ERR	ReferenceError: createPopup is not defined	http://192.168.1.201/zm/index.php?view=event	1
2018-01-17 13:26:26.225222	web_js		25100	ERR	TypeError: d is undefined	http://192.168.1.201/zm/skins/classic/js/video.js	140
2018-01-17 13:26:26.202278	web_js		25100	ERR	undefined - ()	?view=event	
2018-01-17 13:26:25.461340	web_js		25099	ERR	TypeError: video is undefined	http://192.168.1.201/zm/js/videojs.zoomrotate.js	43
2018-01-17 13:26:25.380656	web_js		25099	ERR	SyntaxError: missing ; before statement	http://192.168.1.201/zm/cache/event-classic-1515274217.js	4
2018-01-17 13:26:22.005203	web_js		25099	ERR	SyntaxError: missing ; before statement	http://192.168.1.201/zm/cache/events-classic-1515274217.js	116
More as I find it. Please tell me if this isn't the right place for such reports.

Re: 1.31.XX for Debian Stretch?

Posted: Wed Jan 17, 2018 2:28 pm
by iconnor
.23 should now be available in the repo. It fixes a lot of these problems.

Re: 1.31.XX for Debian Stretch?

Posted: Wed Jan 17, 2018 2:28 pm
by iconnor
The paths stuff got moved into /etc/zm/conf.d/01-system-paths.conf