Page 1 of 1

Error upgrading from 1.20.1 to 1.21.0

Posted: Wed May 04, 2005 7:06 am
by amit
There seems to be error in the database when upgrading from 1.20.1 to 1.21.0
The error is related with the ZM_OPT_CONTROL value in the config table, which is not insert into the Config table.
Although after upgrading, the schema gets updated but the values are not inserted.
This error would not alllow the ZM service to be started.
Make sure to insert this values in the Config if there is any error related with ZM_OPT_CONTROL
________
Suzuki GS500 history

Posted: Wed May 04, 2005 9:25 am
by zoneminder
Any new configuration should be inserted when you rerun zmconfig.pl during the upgrade. Are you saying that this did not happen?

Phil

Posted: Wed May 04, 2005 9:33 am
by amit
i don't want to effect my old db which has the events and just want alter the tables in that...
so what I did is ...
used the scripts available in db directory..to upgrade..
there should have been something to insert..
although running zmconfig.pl -noi will insert values into tables....
I don't want to disturb m earlier values...
________
Ford Tempo history

Posted: Wed May 04, 2005 11:24 am
by zoneminder
You must run zmconfig.pl -noi (at least) when doing an upgrade as otherwise you may get errors if the configuration is reindexed (which it nearly always is). It will preserve your existing settings and only insert anything new (and delete anything not used any more).

It's always worth doing a DB backup to be on the safe side though.

Phil