Page 1 of 1

Troubles after upgrading from 1.24.1 to 1.24.2.

Posted: Thu Jul 16, 2009 9:49 am
by dinyasoft
I'am upgrading Zoneminder from 1.24.1 to 1.24.2.
Making and installing libraries, script and other.
Update databases:
zmupdate.pl --version=1.24.1
All OK, upgrading comlete.
But if i got command zmpkg.pl restart, zm don't starting and in log messages:
Config mismatch, expected 183 items, read 182. Try running...
And what I see in conig - only 182 items. It's true. But in zmcreate.sql - 183 items!!!
And i find different. In new 1.24.2 original zmcreate.sql:
insert into Config set Id = 26, Name = 'ZM_RELOAD_CAMBOZOLA', Value = '0', Type = 'integer', DefaultValue = '0', Hint = 'integer', Pattern = '(?-xism:^(\d+)$)', Format = ' $1 ', Prompt = 'After how many seconds should Cambozola be reloaded in live view', Help = 'Cambozola allows for the viewing of streaming MJPEG however it caches the entire stream into cache space on the computer, setting this to a number > 0 will cause it to automatically reload after that many seconds to avoid filling up a hard drive.', Category = 'images', Readonly = '0', Requires = '';
But after executing zmupdate.pl, in my base i cannot find this.
And with Id=26, i look only ZM_TIMESTAMP_ON_CAPTURE, not ZM_RELOAD_CAMBOZOLA. I think that it's new config line. But why i don't have this line, after apply zmupdate.pl?
Please help!

Posted: Thu Jul 16, 2009 11:28 am
by dinyasoft
I solve this problem with SQL queries - add new line "Id'=26 and rename lines biggest then 26 - N+1.
And after alter table order by 'Id' .

Posted: Fri Jul 17, 2009 6:29 pm
by rcswrc
Whe did you upgraded? I read a thead with this problem it is http://www.zoneminder.com/forums/viewtopic.php?t=13712 , and it seems to be fixed with the last version of 1.24.2