[solved] can't play back events

Forum for questions and support relating to the 1.27.x releases only.
Locked
hesral
Posts: 44
Joined: Sun Apr 06, 2014 12:11 pm

[solved] can't play back events

Post by hesral »

Hi.

I installed zoneminder to ubuntu 12.04. I was planning to install 1.27 directly trough the iconnor ppa, but forgot to do apt-get update before apt-get install zoneminder. I then ended up with 1.25 from the ubuntu repository. So I just did apt-get update and apt-get dist-upgrade later to upgrade to 1.27. I did not notice any problems with the upgrade.

The machine has been recording for a while, and all seems fine. But when I try to play back an event, it opens the watch event window (classic skin), and just show the first image from the event. It shows some other images first, but I'm not sure if they are from the same event. It kind of skips back or forward to the first image in the event. No pause or play or skip to next seem to have any effect. The progress bar is blank, and the time stays still.

I know the events are complete, because I can export the events, and see that they are complete.

watching the streams live works without any problem

I have tried the flat skin as well, with the same result.


The zoneminder log shows these messages after some seconds of playing back the event:
web_php | Timed out waiting for msg | /usr/share/zoneminder/includes/functions.php
web_js | getCmdResponse stream error: Timed out waiting for msg - checkStreamForErrors() | ?view=event
The apache log shows these messages after some seconds of playing back the event:
[error] [client MYIP] PHP Notice: Undefined variable: remSocketFile in /usr/share/zoneminder/ajax/stream.php on line 73, referer: http://SERVERIP/zm/index.php?view=event ... c=1&page=1
[error] [client MYIP] ERR [Timed out waiting for msg ], referer: http://SERVERIP/zm/index.php?view=event ... c=1&page=1
I would have reinstalled zoneminder, if I didn't need the recorded events. I'm worried I will loose the events if I purge zoneminder and then install.

I have the same setup (ubuntu server 12.04 with 1.27) on several other computers, and have tried the same encoder (axis 7014) earlier, but not had the same problem.

I would greatly appreciate any help with this.
Last edited by hesral on Wed Apr 30, 2014 8:52 am, edited 1 time in total.
hesral
Posts: 44
Joined: Sun Apr 06, 2014 12:11 pm

Re: can't play back events

Post by hesral »

huh... now it works, but only for events created after a reboot I did last night. Old events still won't play. So I guess something was done during the upgrade, and I didn't reboot or something. The oldest trick in the book.
When in doubt, reboot.
Now I have to wear the "I'm stupid" hat all day.
TheKorn
Posts: 142
Joined: Fri Aug 02, 2013 12:39 pm

Re: [solved] can't play back events

Post by TheKorn »

You haven't changed the default locations for events and/or images, have you?

If you really want to debug this, you'll likely need to turn on apache's debugging to find out what's going on under the hood. (Feels like a permissions problem.)
hesral
Posts: 44
Joined: Sun Apr 06, 2014 12:11 pm

Re: [solved] can't play back events

Post by hesral »

it's working well now. I think it was just the upgrade process that wasn't finished.

No, I have not changed any default settings or moved anything regarding storage or database.
Locked