ZoneMinder 1.30.2 Release Candidate 1 Available for Testing

Forum for questions and support relating to the 1.30.x releases only.
jkemp
Posts: 13
Joined: Thu Mar 05, 2015 10:20 pm

Re: ZoneMinder 1.30.2 Release Candidate 1 Available for Testing

Post by jkemp »

Thanks for the info Steve. Very interesting stuff.

What I did to repair it was to downgrade the package.

sudo apt install zoneminder=1.30.0-xenial1

During the downgrade it updated the database and found three "No options" in file config.pm on line 139 and deleted them.

Database upgrade to version 1.30.0 successful. (which was really a downgrade but it worked.)

James
vox

Re: ZoneMinder 1.30.2 Release Candidate 1 Available for Testing

Post by vox »

The 1.30.0 or 1.30.1 is stable? My system is up to date (Xubuntu) and zoneminder is only at 1.29.0
SteveGilvarry
Posts: 494
Joined: Sun Jun 29, 2014 1:12 pm
Location: Melbourne, AU

Re: ZoneMinder 1.30.2 Release Candidate 1 Available for Testing

Post by SteveGilvarry »

Production Zoneminder 1.37.x (Living dangerously)
Random Selection of Cameras (Dahua and Hikvision)
rockedge
Posts: 1178
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: ZoneMinder 1.30.2 Release Candidate 1 Available for Testing

Post by rockedge »

add the iconner PPA to your package manager? Mine in Puppy Linux tahr 6.05 (Trusty Ubuntu binaries) only shows 1.26.5...once I add the iconner PPA (here: https://launchpad.net/~iconnor/+archive ... zoneminder)
I can retrieve up to 1.30.2.......Add the zoneminder-master to the repos for the package manager and you can get the cutting edge.

Hope some of this helps. Good Luck!
sogood007
Posts: 25
Joined: Tue Oct 26, 2004 6:53 pm

Re: ZoneMinder 1.30.2 Release Candidate 1 Available for Testing

Post by sogood007 »

http://stackoverflow.com/questions/1008 ... ysql-error

Based on the suggestion on above link (NOTE: I am ubuntu using PPA and on 1.30.2 version)

I did the following which seems fix the issue.

Code: Select all

MariaDB [(none)]> use zm;

MariaDB [zm]> show table status;
+----------------+--------+---------+------------+---------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+-------------+------------+-------------------+----------+----------------+---------+
| Name           | Engine | Version | Row_format | Rows    | Avg_row_length | Data_length | Max_data_length | Index_length | Data_free | Auto_increment | Create_time         | Update_time | Check_time | Collation         | Checksum | Create_options | Comment |
+----------------+--------+---------+------------+---------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+-------------+------------+-------------------+----------+----------------+---------+
| Config         | InnoDB |      10 | Compact    |     218 |            901 |      196608 |               0 |            0 |  73400320 |           NULL | 2017-01-25 07:32:17 | NULL        | NULL       | latin1_swedish_ci |     NULL |                |         |
| ControlPresets | InnoDB |      10 | Compact    |       0 |              0 |       16384 |               0 |            0 |  73400320 |           NULL | 2017-01-25 07:32:17 | NULL        | NULL       | latin1_swedish_ci |     NULL |                |         |
| Controls       | InnoDB |      10 | Compact    |      22 |            744 |       16384 |               0 |            0 |  73400320 |             23 | 2017-01-25 07:32:17 | NULL        | NULL       | latin1_swedish_ci |     NULL |                |         |
| Devices        | InnoDB |      10 | Compact    |       0 |              0 |       16384 |               0 |            0 |  73400320 |              1 | 2017-01-25 07:32:17 | NULL        | NULL       | latin1_swedish_ci |     NULL |                |         |
| Events         | InnoDB |      10 | Compact    |   19346 |            163 |     3162112 |               0 |      2768896 |  73400320 |         144919 | 2017-01-25 07:32:17 | NULL        | NULL       | latin1_swedish_ci |     NULL |                |         |
| Filters        | InnoDB |      10 | Compact    |       2 |           8192 |       16384 |               0 |            0 |  73400320 |           NULL | 2017-01-25 07:32:17 | NULL        | NULL       | latin1_swedish_ci |     NULL |                |         |
| Frames         | InnoDB |      10 | Compact    | 1561847 |             45 |    70352896 |               0 |     81920000 |  73400320 |       13923609 | 2017-01-25 07:32:17 | NULL        | NULL       | latin1_swedish_ci |     NULL |                |         |
| Groups         | InnoDB |      10 | Compact    |       0 |              0 |       16384 |               0 |            0 |  73400320 |              1 | 2017-01-25 07:32:17 | NULL        | NULL       | latin1_swedish_ci |     NULL |                |         |
| Logs           | InnoDB |      10 | Compact    |       0 |              0 |       16384 |               0 |        16384 |         0 |           NULL | 2017-03-31 22:38:22 | NULL        | NULL       | latin1_swedish_ci |     NULL |                |         |
| MonitorPresets | InnoDB |      10 | Compact    |      68 |            240 |       16384 |               0 |            0 |  73400320 |             69 | 2017-01-25 07:32:17 | NULL        | NULL       | latin1_swedish_ci |     NULL |                |         |
| Monitors       | InnoDB |      10 | Compact    |       6 |           2730 |       16384 |               0 |            0 |  73400320 |              9 | 2017-01-25 07:32:17 | NULL        | NULL       | latin1_swedish_ci |     NULL |                |         |
| Servers        | InnoDB |      10 | Compact    |       0 |              0 |       16384 |               0 |            0 |  73400320 |              1 | 2017-01-25 07:32:17 | NULL        | NULL       | latin1_swedish_ci |     NULL |                |         |
| States         | InnoDB |      10 | Compact    |       1 |          16384 |       16384 |               0 |        16384 |  73400320 |              2 | 2017-01-25 07:32:17 | NULL        | NULL       | latin1_swedish_ci |     NULL |                |         |
| Stats          | InnoDB |      10 | Compact    |  532056 |             80 |    43073536 |               0 |     33603584 |  73400320 |           NULL | 2017-01-25 07:32:17 | NULL        | NULL       | latin1_swedish_ci |     NULL |                |         |
| TriggersX10    | InnoDB |      10 | Compact    |       0 |              0 |       16384 |               0 |            0 |  73400320 |           NULL | 2017-01-25 07:32:17 | NULL        | NULL       | latin1_swedish_ci |     NULL |                |         |
| Users          | InnoDB |      10 | Compact    |       0 |              0 |       16384 |               0 |        16384 |         0 |              2 | 2017-03-31 22:38:22 | NULL        | NULL       | latin1_swedish_ci|     NULL |                |         |
| ZonePresets    | InnoDB |      10 | Compact    |       7 |           2340 |       16384 |               0 |            0 |  73400320 |              8 | 2017-01-25 07:32:17 | NULL        | NULL       | latin1_swedish_ci |     NULL |                |         |
| Zones          | InnoDB |      10 | Compact    |       4 |           4096 |       16384 |               0 |        16384 |  73400320 |              9 | 2017-01-25 07:32:17 | NULL        | NULL       | latin1_swedish_ci |     NULL |                |         |
+----------------+--------+---------+------------+---------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+-------------+------------+-------------------+----------+----------------+---------+
18 rows in set (0.00 sec)

>  alter database zm character set utf8 collate utf8_general_ci;

> alter table Users convert to character set utf8 collate utf8_general_ci;

> show table status; 
The Users table should have utf8_general_ci

I am not sure this is the best way to address the issue so use it your own risk.
bbunge
Posts: 2951
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: ZoneMinder 1.30.2 Release Candidate 1 Available for Testing

Post by bbunge »

As I have posted in the WIKI: https://wiki.zoneminder.com/Ubuntu_Serv ... Zoneminder

Change Mariadb settings:

nano /etc/mysql/my.cnf

Make the following changes:

character-set-server = latin1
collation-server = latin1_swedish_ci

Note: The above settings are actually the Mariadb default. Changing back to default is necessary to avoid errors when logging into Zoneminder. This was added on 01APR17 but is not an April Fool! It may be necessary to align these settings with your regional language.


These values are in MySQL 5.7.
JariR
Posts: 29
Joined: Wed Sep 25, 2013 10:22 am

Re: ZoneMinder 1.30.2 Release Candidate 1 Available for Testing

Post by JariR »

You might have already noticed that pages of new Zoneminder 1.30.2 is not anymore able to be zoomed in when using the UI with Android smartphone. That makes UI almost unusable to use with this kind of devices when links on pages are so small that they cannot be pointed by finger. Login page is displayed as "mobile optimized" for me, but all other pages are displayed by classic or flat css and with both css pages are unable to zoom in. On top of all that, the streaming window cannot be zoomed out so I can see only a small part of stream image at one time.
User avatar
zd59
Posts: 102
Joined: Wed Jan 18, 2017 1:39 pm
Location: EU - Slovenia

Re: ZoneMinder 1.30.2 Release Candidate 1 Available for Testing

Post by zd59 »

Hi!

Gene Baxter <GenoBob@gmail.com> was so kind to prepare scripts for creating ZoneMinder-1.30.x packages for Slackware-14.2 from sources.
The scripts works excellent, they were published on https://slackbuilds.org/

ZoneMinder-1.30.0 works excellent. I tested all functionalities.
The only (known) failure is function getDiskPercent in functions.php.
The path you provide is ZM_DIR_EVENTS, which is relative and php function disk_total_space do not understand. You have to provide a full absolute path, which in this case is $path = ZM_PATH_WEB.'/'.ZM_DIR_EVENTS.
When this is corrected, ZoneMinder-1.30.0 is fully functional in Slackware-14.2 (x64 at my computer).

I get your new unpublished ZoneMinder-1.30.2 source from https://github.com/ZoneMinder/ZoneMinder/releases.
Mr. Gene Baxter also modified his scripts to fetch/compile/package your master branch of ZoneMinder. I did that on 4th april at 12:20 GMT+2

Both 1.30.2 versions express those failures:

1. "disk space error" inherited from previous versions - please correct that, as it is published here: viewtopic.php?f=34&t=24534&p=97846&hili ... 55a#p97846
1.1 as you add info about space on ZM_PATH_MAP you did not changed a function getDiskPercent in functions.php
This is corrected and working getDiskPercent
----------------------------------------------------------------------------------
function getDiskPercent($path) {
if ($path != '')
{ // web/skins/classic/views/console.php line 198 call with parameter ZM_PATH_MAP - /dev/shm
//$path = ZM_PATH_MAP;
}
else
$path = ZM_PATH_WEB.'/'.ZM_DIR_EVENTS;
//
$total = disk_total_space($path);
if ( $total === false ) {
Error("disk_total_space returned false. Verify the web account user has access to " . $path );
return 0;
} elseif ( $total == 0 ) {
Error("disk_total_space indicates the following path has a filesystem size of zero bytes" . $path );
return 100;
}
$free = disk_free_space($path);
if ( $free === false ) {
Error("disk_free_space returned false. Verify the web account user has access to " . $path );
}
$space = round((($total - $free) / $total) * 100);
return( $space );
}
----------------------------------------------------------------------------------
2. Fatal misbehaviour:
When a monitor is once set to function "modect" - detect & record motions, there is no way to change this state:
Select back "monitor" function - the monitor still detects & records events.
Select back "nodect" or "none" function - the monitor still detects & records events.
Select that monitor is disabled (enabled not selected)- the monitor still detects & records events.
The only way to stop detect & record motions is to stop Zoneminder.
At next start "modect" did not worked, "monitor" instead. After Zoneminder restart with monitor set to "modect" i was in that state but again can not be put to other state as mentioned above.
Looks like restart of ZoneMinder is required to change function of monitor, where "modect" is priority.

Pointing out, that when installing a package, the previous version was completely removed and "mysql -u root drop database zm" and fresh install of a zm database.
All tests were executed in Virtualbox virtual Slackware-x64-14.2 and only one camera connected - local notebook integrated webcam on /dev/video0.

I would be glad to help with debugging those failures. Please describe which options in zm settings to switch on, to be able to log errors and where and what to search for in logs.

Greetings to developers!
codabiz
Posts: 59
Joined: Sun Jan 04, 2009 10:16 am
Location: London, UK

Re: ZoneMinder 1.30.2 Release Candidate 1 Available for Testing

Post by codabiz »

1.30.2 version on Ubuntu server 16.04.01

Similar monitor functions problems. Can switch from "monitor to modect", but switching from "modect" to "monitor" or "none" function - the monitor still captures and analyses - requires a zoneminder restart.
User avatar
zd59
Posts: 102
Joined: Wed Jan 18, 2017 1:39 pm
Location: EU - Slovenia

Re: ZoneMinder 1.30.2 Release Candidate 1 Available for Testing

Post by zd59 »

Two weeks passed.

With all respect to developers, I expected a reply to deny/confirm the above, as monitor change state problem in 1.30.2 was noted by other users too.
Above post mentioned Ubuntu, so this is not a Linux Slackware issue.
As I noted, I am willing to help with debug/search/solve the issues.

Regards
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: ZoneMinder 1.30.2 Release Candidate 1 Available for Testing

Post by knight-of-ni »

zd59 wrote:Two weeks passed.

With all respect to developers, I expected a reply to deny/confirm the above, as monitor change state problem in 1.30.2 was noted by other users too.
Above post mentioned Ubuntu, so this is not a Linux Slackware issue.
As I noted, I am willing to help with debug/search/solve the issues.

Regards
Well, you posted to an obsolete Release Candidate thread rather than create a new thread. Since we released 1.30.2 two and a half weeks ago, I think most will understand why no one is responding to comments posted to this thread anymore. Actually, I'll lock it now to prevent further confusion.

We are already aware of the zma restart issue and are working on it:
https://github.com/ZoneMinder/ZoneMinder/issues/1849

Isaac mentioned he would fix it when he has a moment.
However, we would love it if you would like to help out. There is always far more work to do than any of us have time to do.
Heck, I'll even assign all my bountysource dollars to it. I don't have much.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
Locked