Troubles after upgrading from 1.24.1 to 1.24.2.

Forum for questions and support relating to the 1.24.x releases only.
Locked
dinyasoft
Posts: 13
Joined: Mon Dec 24, 2007 8:31 pm
Location: Russia, Veliky Novgorod.
Contact:

Troubles after upgrading from 1.24.1 to 1.24.2.

Post 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!
dinyasoft
Posts: 13
Joined: Mon Dec 24, 2007 8:31 pm
Location: Russia, Veliky Novgorod.
Contact:

Post 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' .
rcswrc
Posts: 29
Joined: Thu Dec 29, 2005 10:19 pm
Location: Costa Rica

Post 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
Locked