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
Error upgrading from 1.20.1 to 1.21.0
Error upgrading from 1.20.1 to 1.21.0
Last edited by amit on Tue Feb 01, 2011 2:27 am, edited 1 time in total.
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
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
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
Last edited by amit on Tue Feb 01, 2011 2:27 am, edited 1 time in total.
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
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
It's always worth doing a DB backup to be on the safe side though.
Phil