Page 1 of 1
Event playback fails after update
Posted: Tue Aug 08, 2017 4:20 am
by skydiver
I have ZM 1.31.1 installed via dpkg on Ubuntu 16.04. System has been solid and running for a few years and been updated regularly.
I recently did apt-get update on the Zoneminder package which upgraded from 1.30 to 1.31
After the update (After having to manually run zmupdate.pl):
- API live and event playback works with ZM Ninja
- Web interface live playback
- Event timeline view has roken imaged thumbnails
- Event Timeline mouse over thumbnail preview creates the the following errors:
Code: Select all
web_php 2044 ERR Can't create frame images from video because there is no video file for this event /usr/share/zoneminder/www/includes/functions.php 1010
- Event view video shows the events but produced produces errors and the playback controls do not work:
Code: Select all
2017-08-07 22:59:58.336717 web_js 2042 ERR Uncaught TypeError: Cannot set property 'vid' of undefined http://zm.scottrobertmorgan.com/zm/skins/classic/views/js/timeline.js 7
2017-08-07 22:59:57.834183 web_php 2042 ERR Can't create frame images from video because there is no video file for this event /usr/share/zoneminder/www/includes/functions.php 1010
I believe this may be due to some incorrect permissions but I need some directions to where to look.
Re: Event playback fails after update
Posted: Tue Aug 08, 2017 10:27 am
by moorsey
Can confirm I see exactly the same issue after running an "apt-get update" a few days ago on my Mint 17.3 installation.
Possibly related, the "3 grid wide scaled" view does not scale anymore, just shows images as the cameras resolution
Re: Event playback fails after update
Posted: Tue Aug 08, 2017 1:21 pm
by skydiver
I have also noticed:
- The "3 grid wide scaled" view does not scale anymore, just shows images as the cameras resolution
- Montage Review screen displays controls behind the Screen image montage
I didn't realize that 1.31.1 was still not stable. I am willing to work through but as a fallback position, is there a simple way to roll back to 1.30.x in case the system will not be stable soon?
Re: Event playback fails after update
Posted: Tue Aug 08, 2017 3:45 pm
by rockedge
at the very top of this forum section it pretty much says it all.
ZoneMinder 1.31.x has not been released yet
there are some other little bugs in 1.31.x as well. I have been wondering if there was a solid way of rolling back a version. Usually I just start from scratch but a system that has been running well and in a production role that seems to be not a good option. I wonder if version 1.30.4 will run with the updated mysql database? Simplifying the rollback if it does......
Re: Event playback fails after update
Posted: Wed Aug 09, 2017 1:44 pm
by iconnor
Yeah there is a PR that fixes all these issues, but no one will merge it.
You might try my branch, in which I fix every little problem I find. ppa:iconnor/zoneminder-storageareas
Re: Event playback fails after update
Posted: Wed Aug 09, 2017 10:53 pm
by skydiver
I am running from dpkg using this repository:
Code: Select all
deb http://ppa.launchpad.net/iconnor/zoneminder-master/ubuntu xenial main
Curious why the not-yet-released version got published via apt-get.
If I wanted to go to using git for the distro, what would be the best process? I would rather not start from scratch, this system is finely tuned for resources, zones, etc.
Re: Event playback fails after update
Posted: Thu Aug 10, 2017 1:33 am
by knight-of-ni
skydiver wrote: ↑Wed Aug 09, 2017 10:53 pm
I am running from dpkg using this repository:
Code: Select all
deb http://ppa.launchpad.net/iconnor/zoneminder-master/ubuntu xenial main
Curious why the not-yet-released version got published via apt-get.
You got the development version of zoneminder because you added iconnor's master branch ppa to your system.
This is bleeding edge.
If you want official releases only, then you need to use iconnor's stable ppa instead:
https://launchpad.net/~iconnor/+archive ... zoneminder
Re: Event playback fails after update
Posted: Thu Aug 10, 2017 1:36 am
by knight-of-ni
iconnor wrote: ↑Wed Aug 09, 2017 1:44 pm
Yeah there is a PR that fixes all these issues, but no one will merge it.
You might try my branch, in which I fix every little problem I find. ppa:iconnor/zoneminder-storageareas
Was it this one?
https://github.com/ZoneMinder/ZoneMinder/pull/1930
I went ahead and merged it.
Re: Event playback fails after update
Posted: Fri Aug 11, 2017 1:48 am
by skydiver
GTK...
iconnor wrote: ↑Wed Aug 09, 2017 1:44 pm
Yeah there is a PR that fixes all these issues, but no one will merge it.
You might try my branch, in which I fix every little problem I find. ppa:iconnor/zoneminder-storageareas
iconnor, I am going to use \your branch instead. Are you sub-versioning the the version designation?