Page 1 of 1

OpenKM.cfg changes ignored

PostPosted:Fri Feb 03, 2012 1:21 pm
by toroman
After migration to 5.1.9 I have noticed that pdf preview does not work even if I edited the cfg file with new settings from the migration guide.
(also I added the tesseract support)
(of course the edits were made while the server is down)
I have checked in the administration, and I noticed that no changes were applied to settings.
system.ocr was empty
and
pdf2swf was set to old setting (without fileIn and fileOut)

when I changed things in the configuration from the web admin settings, things immediately started to work.

Is it a bug or expected behaviour?

Regards,
Dragan

Re: OpenKM.cfg changes ignored

PostPosted:Sun Feb 05, 2012 10:20 am
by jllort
it's a behavior, really OpenKM.cfg parameters are only used first time openkm is starting to initialize, but after it, parameters are stored to DBMS and changes must be done in administration, this generated some confusion between older OpenKM.cfg use and actual that's only to first time inialization.

Major parameters, excepts for example openoffice path, can be changed on fly without restaring service needed

Re: OpenKM.cfg changes ignored

PostPosted:Mon Feb 06, 2012 8:44 pm
by toroman
Thanks, i have noticed that...
It was just not clear from the migration guide... It says to change the parameters, but does not say it should be done through Administation.

Thanks again!