[SOLVED] Can't delete events using the events view

Forum for questions and support relating to the 1.31.x releases only.
Post Reply
ntq
Posts: 3
Joined: Mon Sep 03, 2018 1:22 pm

[SOLVED] Can't delete events using the events view

Post by ntq » Mon Sep 03, 2018 1:40 pm

Hi.

I am using Zoneminder v1.31.47. I don't know exactly what the first version was I installed but there were multiple updates in the past few months. I used this ppa to install Zoneminder on Ubuntu 16.04 LTS and I migrated to Ubuntu 18.04 (bionic) a few weeks ago: https://launchpad.net/~iconnor/+archive ... orageareas

When trying to delete multiple events in the event list nothing happens and I also get no errors. It asks for confirmation, I click yes and all selected events still exist and are accessible.
When I open a single event and press the delete button it works without problems. Now I don't want to open every single event and press the delete button a thousand times. I want to be able to delete the selected events all at once.

If I try to export the log I get this error: "TypeError: $(...).overlayShow is not a function"
I can not see any line in the logs with a timestamp that matches a delete operation I tried.
But every 10 minutes there is this error: "'zmtelemetry.pl' exited abnormally, exit status 9"

Do you have any suggestions how to debug and solve that issue?
Last edited by ntq on Wed Sep 05, 2018 10:06 am, edited 1 time in total.

Eradicator
Posts: 41
Joined: Tue Jan 24, 2017 5:58 am

Re: Can't delete events using the events view

Post by Eradicator » Tue Sep 04, 2018 9:54 am

Has same error on clean install. Ubuntu Server 18.04.

ntq
Posts: 3
Joined: Mon Sep 03, 2018 1:22 pm

Re: Can't delete events using the events view

Post by ntq » Tue Sep 04, 2018 2:05 pm

I am not sure if you need additional information or if I missed some of the forum rules. But because a fresh install has the same symptoms like Eradicator said I hope the issue can be found fast. At the moment my cat is really filling up my event list. :lol:

bbunge
Posts: 2618
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Can't delete events using the events view

Post by bbunge » Tue Sep 04, 2018 8:09 pm

Set up a fresh install of Ubuntu 16.04-5 with ZM 1.31.47. Two cameras, one IP one local. Ran up a bunch of events over the afternoon and just deleted them. Events removed from Database and from /var/cache/zoneminder/events which is the default storage location.
I used the install procedure from the WIKI: https://wiki.zoneminder.com/Ubuntu_Serv ... e_easy_way

except I did not make the modification to the my.cnf, just used defaults to see if it works and it seems to be OK.
Used the: add-apt-repository ppa:iconnor/zoneminder-master

If you have OPT_FAST_DELETE checked the database records will be deleted and the events files deleted later.

User avatar
iconnor
Posts: 1059
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Can't delete events using the events view

Post by iconnor » Wed Sep 05, 2018 2:30 am

I fixed the problem today and pushed new packages.

Eradicator
Posts: 41
Joined: Tue Jan 24, 2017 5:58 am

Re: Can't delete events using the events view

Post by Eradicator » Wed Sep 05, 2018 6:01 am

iconnor wrote:
Wed Sep 05, 2018 2:30 am
I fixed the problem today and pushed new packages.
Fixed. Thank you!

ntq
Posts: 3
Joined: Mon Sep 03, 2018 1:22 pm

Re: Can't delete events using the events view

Post by ntq » Wed Sep 05, 2018 10:02 am

iconnor wrote:
Wed Sep 05, 2018 2:30 am
I fixed the problem today and pushed new packages.
Nice! It's working. Thank you!

Do you have a link to the commit which solves the issue? I am just curious.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests