Page 1 of 1

Mysql Error (ZM_USE_DEEP_STORAGE=boolean)

Posted: Thu Mar 13, 2008 6:56 pm
by theneb
Hi all, running 2.3.1 under gentoo with a 64bit machine and I get the following:
Mar 13 18:50:01 kube zms[9636]: ERR [Attempt to fetch string value for ZM_USE_DEEP_STORAGE, actual type is boolean. Try running 'zmupdate.pl -f' to reload config.]

Tried updating and no luck, tried fresh install (inc db) and also tried updating the sql table manually, then it complains the other way round. Ie expeting boolean but tried to fetch boolean.

Posted: Sun Mar 16, 2008 9:50 pm
by zoneminder
Make sure you have shutdown ZM before running zmupdate.pl

Are you running a version compiled from source?

Posted: Mon May 12, 2008 2:27 am
by bnaef
I had the same problem with an install from src. I re-inst zm several times, even tried to go back to zm 1.22.3. I also tried zmupdate.pl -f after completely shutting down zm. It would show that the db was updated. But when I tried to re-start zm, zm tried to load zm.conf params again.

It seems that during the first startup of zm that zm.conf params are not being loaded into the db tables. In fact, I tried several times to start/stop/start/stop zm and each time (even during zm shutdown) zm tried to update the config tables with zm.conf.

I chmod the perms on the zm db, same problem.

Only after I restarted mysql the problem finally went away and zm could properly load the zm.conf params into the zm db tables.