Is there an easy way for an external app to get the version number of ZM that is installed? I used to use the ZM_VERSION=1.26.0 entry in the /etc/zm.conf config file but recent versions don't seem to have that any more
barjac joined the channel
Sagitt joined the channel
Sagitt has quit
knnniggett joined the channel
knnniggett has quit
knnniggett joined the channel
SnakesAndStuff has quit
curfont has quit
curfont joined the channel
SnakesAndStuff joined the channel
ic0n
paul-h: nothing nice... I will add that i future versions for now.. you could parse /usr/share/perl/whateverversion/Zoneminder/Base.pm
fixxxermet: thanks - So it's not available in 1.28 but will be in 1.29 via the API?
fixxxermet
paul-h: aye
paul-h
It would be great if you could add the version back to zm.conf as well
ic0n
No, it won't be coming back there.
fixxxermet
ic0n: I can't remember why it was removed
ic0n
because every zm upgrade wouldn't update it.
it is meaningless
the various programs need a --version command line argument.
dfgas_off is now known as dfgas
knnniggett
Package installations generally don't update config files. I can't even force it 100% of the time for zonemidner rpm's if I wanted too (I've tried). That leads people reporting broken installations when, in fact, they ignored the notice they got that said something like "saving zm.conf as zm.conf.rpmsave".
So generally, I'm in favor of keeping things that cahnge frequently out of zm.conf
paul-h
I would agree if there was a way to get the version another way but at the moment there isn't - adding a --version command line argument sounds sensible
ic0n
yeah, like I said, it will be in the next version.
knnniggett
Yes, I was agreeing with what ic0n said.
So fixxxermet. Just out of curiosity, what is this saucelabs stuff? What are we trying to accomplish?
fixxxermet
knnniggett: browser tests
it is like we do with travis test for code
knnniggett
Very nice. Glad you and rexd666 thought of that.
fixxxermet
I started the discussion months back but then didn't pick it up again until rexd666 chimed in
What this means is that a build can fail if the code tests fail, or the browser tests fail
It looks like the only browser test we have currently is to check if 'ZoneMinder Console - Running' is present, but it is just a placeholder that we can expand on
paul-h has left the channel
ic0n
someone want to merge my skin changes so I can move on to the next?
knnniggett
Done.
ic0n
tahnks!
dfgas is now known as dfgas_off
prgmrchr1s joined the channel
prgmrchris has quit
mavensk joined the channel
lvlinux joined the channel
BManojlovic has quit
Sagitt joined the channel
prgmrchris joined the channel
Sagitt_Mac joined the channel
Sagitt has quit
prgmrchr1s has quit
acu joined the channel
wagle joined the channel
acu has quit
acu joined the channel
Sagitt joined the channel
acu
hello ic0n, I have a fresh install of Debian Jessie installed on a bare metal - with two webcams attached to it - I just want to make sure that I do installation as you do it -
Sagitt_Mac has quit
STEP 1: Install mysql server STEP 2: download zoneminder1.28 and install - STEP3 apt-get install -f, STEP 4 add www-data to video group STEP 5 modify shmax - anything else ? Do you create a link to /usr/share/zoneminder in default apache sites-available ?
genii joined the channel
rob_h has quit
BManojlovic joined the channel
rob_h joined the channel
achan joined the channel
ic0n
acu, look slike you will also need to install policykit-1
acu
ic0n, thanks, I am dabbling now at it - I am wondering also if I just modify /etc/apache2/sites-available/000-default to Directory /usr/share/zoneminder ? or I should do it differently
ic0n
that's a matter of preference.
acu
ic0n: should I have installed policykit-1 before zoneminder ? Does it matter, because I already installed it - perhaps I could just reinstall zoneminder, or no need ?
ic0n
I would do ln -sf /etc/zm/apache.conf /etc/apache2/conf-enable/zm.conf
no need
acu
It seem that I miss something - do I need to create any file somewhere (also I wonder if this is valid for Jessie) because I get this message - ln: failed to create symbolic link ‘/etc/apache2/conf-enable/zm.conf’: No such file or directory
ic0n
also, do a2enmod cgi
acu
I have done that
ic0n
knnniggett: you around? Need some help with systemd
knnniggett
i am
ic0n
so to start zm, I do systemctl start zoneminder? looks like that runs zmpkg.pl which calls the zmsysctl script... anyways, these processes run and take a long time.... but then go away without actually starting anything.
I seem to recall a discussion about something like this... but can't find it
knnniggett
First, make sure the zoneminder systemd service file exists and the legacy zoneminder init script is not present
ic0n
ah... I think that's the problem. I am trying out manupap's jessie repackaging... looks like it needs more work.
knnniggett
Yeah, it won't work if you try to start zoneminder with old sys v init script
ic0n
yeah we are still installing that, and I don't see the service file.
knnniggett
the template is under /misc
This is where it lives on Fedora: /usr/lib/systemd/system/zoneminder.service
ic0n
it's in /lib/systemd on jessie
knnniggett
ok, that is good to know
acu
this does not work also - ln -sf /etc/zm/apache.conf /etc/apache2/conf-enable/zm.conf
yeah I'm looking at it, and trying to fix our packaging
acu
ic0n: if you want me to test the new package let me know, I will install right now a fresh jessie on a machine
ic0n
you don't need to start fresh.
acu
ic0n, when you have it ready, let me know - I am on stand-by :)
rexd666
ic0n: Is that all the big php changes for css skins done, did you want me to redo that PR for short tags?
ic0n
yeah you can do the short tags now
rexd666
OK PR will close as it was stuffed, and new one will appear
Sagitt has quit
acu
ic0n, do you need a Debian Jessie Virtual machine to test ? I could hook even a physical machine and have a public IP you could ssh and do your tests...
rexd666
acu: If you are desparate to get Zoneminder up you might want to try something other than Jessie
acu
rexd666, I am handy to do some test on the package for Jessie, I have a Wheezy system running, do you have any suggestion- what is the best platform ? - Anyhow, as I said, at least I could test install, if needed
rexd666
acu: with ubuntu you could just run the iconnor PPA’s that icon does, then you just need to do the apache config. Testing is great but I am not sure ic0n is ready for testers yet. Also above you should have a look in etc/apache2 and see if you can work out why ic0n’s command didn’t work.
ic0n
the problem is systemd, our package does not install the service file
I'm not sure why, or how to ix that.
acu
ic0n, in OFTC you can find debian-devel and debian-next for Jessie, you might ask there for guidance about packaging for jessie and to have systemd properly setup
ic0n I found also that debian-mentors also in OFTC, help with packaging questions
ic0n
y
knnniggett
Can you look at the packaging scripts for some of the core applications in Jessie and see how those packages install their service file???
knnniggett has quit
genii has quit
edwardm61 has quit
BManojlovic has quit
acu
what version of zoneminder comes with Ubuntu Server 14.04.1 LTS ? Or do I need to install manually 1.28 ?