ZoneMinder 1.23.3 RPMs for SuSE released

If you've made a patch to quick fix a bug or to add a new feature not yet in the main tree then post it here so others can try it out.
Post Reply
User avatar
monex
Posts: 169
Joined: Mon Jan 22, 2007 1:10 pm

ZoneMinder 1.23.3 RPMs for SuSE released

Post by monex »

Hi,

RPM's for the new ZoneMinder version are now available in the repositories. Installation/upgrade instructions can be found in the wiki. Required perl modules, which are missing in the normal openSuSE distribution, are also in the repositories and get's installed when solving the dependencies.

Short summarize of the upgrade instructions:
  • To upgrade your current ZoneMinder RPM install, just stop ZoneMinder, install the new package and run zm_database_init which will the automatic call the original zm database upgrade script after path checking to the db scripts. (If your path in the config file is wrong zm_database_init will autocorrect the path. all you have to do is to answer the question for that with "y" or "yes"). After that start ZoneMinder by typing "rczm start" and all is done.
  • The name has changed for the MP package. So if you want to upgrade the MP package you have to copy the old config by typing "cp /etc/zm.conf.rpmsave /etc/zm.conf" before you call zm_database_init. If you started ZoneMinder on boot then you have to rerun "chkconfig zm on".
  • if you just want to update the database the traditional ZoneMinder way (it's recommended to use the wrapper zm_database_init script), edit /etc/zm.conf and change the version to the the new one (1.23.3) and check that ZM_PATH_BUILD is set to /srv/www/htdocs/zm. Then run "zmupdate.pl" and remove the lock file "rm -f /srv/www/htdocs/zm/lock" and start ZoneMinder.
The old packages are moved to the legacy directory:
SuSE 10.1:
http://liquid-co.de/pub/suse/repositori ... 23.2/10.1/

openSuSE 10.2:
http://liquid-co.de/pub/suse/repositori ... 23.2/10.2/

openSuSE 10.3:
http://liquid-co.de/pub/suse/repositori ... 23.2/10.3/

Note: This time the zm_database_init script uses a new approach: it generates (if not already exists) a .my.cnf (in folder root) which results in not typing in the root password (only for user root) every time you run the mysql client (as root) or the zm_database_script :)

Note: I just put the ZoneMinder (non MP) version to the openSuSE Build Service http://download.opensuse.org/repositori ... x:/stable/ so that you can find version for factory and SLED 10 there.

If you find some bugs please report this in the forums and mention that you are using the RPM's :)


Have a lot of Fun

Dirk
Last edited by monex on Fri Nov 07, 2008 5:06 pm, edited 1 time in total.
Image
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Excellent. Thanks for being so fast!
Phil
User avatar
monex
Posts: 169
Joined: Mon Jan 22, 2007 1:10 pm

Post by monex »

Hi,

I've added RPMs for openSuSE 11.0 There might be a bug in the kernel (as mentioned here) which may prevents the use of v4l. I don't know if it is already fixed. Maybe someone who use a capture card can test it and report back.

openSuSE 11.0:
http://liquid-co.de/pub/suse/repositories/1.23.3/11.0/

You can also try to use the one click install feature:
Image

And for the MP version:
Image

Have a lot of fun

Dirk
Image
User avatar
monex
Posts: 169
Joined: Mon Jan 22, 2007 1:10 pm

Post by monex »

monex wrote: There might be a bug in the kernel (as mentioned here) which may prevents the use of v4l. I don't know if it is already fixed. Maybe someone who use a capture card can test it and report back.
The latest Kernel update (provided through yast) fixed that issue so there should be no more problems :)

Dirk
Image
cknox
Posts: 41
Joined: Wed Jan 30, 2008 7:12 pm
Location: San Francisco, CA

OpenSuSE 11.0 & ZM

Post by cknox »

Hi Monex:

Would the bug have caused ZM to hang and not open video? I rebuilt a box that had been working fine with 10.3 and 1.23.3 to a OpenSuse 11.0 system with 1.23.3. I could not get video to work on any camera. This is the first time in several iterations of Suse and ZM that I had this problem. It has always worked smoothly, except for the zoom control on a panasonic ptz.

Thanks,

ck
User avatar
monex
Posts: 169
Joined: Mon Jan 22, 2007 1:10 pm

Post by monex »

Hi,

yes it looks like this can happen. The symptoms are described in this thread. The reason was that v4l was broken in the initial opensuse 11.0 kernel.

hope that all problems are gone now ;)
Image
User avatar
monex
Posts: 169
Joined: Mon Jan 22, 2007 1:10 pm

Post by monex »

Hi,

I've just uploaded RPMs for openSuSE 11.1 to the repositories. Actual I had not the time for testing, but it should work as normal, the changes compared to 11.0 are not big so I expect that it works as usual ;)

openSuSE 11.1:
http://liquid-co.de/pub/suse/repositories/11.1/

You can also try to use the one click install feature:
Image

And for the MP version:
Image

ZoneMinder packages (without ffmpeg support) are also available from the build service: http://download.opensuse.org/repositori ... x:/stable/

As an extra bonus I've created a preview package of ZoneMinder 1.24.0 on the BS.
Be aware that it is a release candidate and that there probably will be no update path to final version or any other development version (other release candidates). And even if there will be an update path you have to manually update the installation without zm_database_init-script:
http://download.opensuse.org/repositori ... /unstable/

Have a lot of fun

Dirk
Image
User avatar
monex
Posts: 169
Joined: Mon Jan 22, 2007 1:10 pm

Post by monex »

Hello,

because my RPM signing key expires in the next few days I had to resign the packages so don't worry if you have to reimport the signing key. If you have any problems please report back here.

As result of the discontinuation of 10.1 and 10.2 I moved them to the discontinued directory. They will not longer be updated nor are they resigned with the new RPM signing key.


Have a lot of Fun

Dirk
Image
we4zonM
Posts: 56
Joined: Fri May 30, 2008 7:21 am

Post by we4zonM »

Have a lot of Fun


Cool. You must be the person that the repository Monex is named after? I had to add that repository to get some dependencies sorted out when trying to build Zoneminder 1.23 for OpenSuse 11.1! It has been four hours of fun so far!

I know that you can install the Monex Zoneminder, and I wanted to find out if you had thoughts about updating the wiki so that other Suse 11.1 users can also be able to build Zoneminder from source and get it to start and run? Granted that your time is limited, and you would like to test the builds that you made first.
User avatar
monex
Posts: 169
Joined: Mon Jan 22, 2007 1:10 pm

Post by monex »

Hi,

normally there is no need to compile ZoneMinder from source it is easier and recommended to use the RPMs. If you want to modify some parameters or settings you can download the source RPM and tweak the spec file for you purposes and then rebuild the RPM (for this purposes you can use suse's build script (recommended) or rpmbuild command). And if you really really really want to build it completely on you own you can follow the descriptions in the wiki for suse 10.1 :)

Have a lot of fun
Image
Post Reply