Page 1 of 1

Migration from 6.2.3 to 6.2.4

PostPosted:Thu Jun 20, 2013 10:21 pm
by dip
I migrated from 6.2.3 to 6.2.4 doing almost all steps as described in http://wiki.openkm.com/index.php/Migrat ... 3_to_6.2.4. The only step I did not do was:

Run from your preferred SQL client these queries:
DROP TABLE OKM_OMR;

since I have not SQL client and don't know how to do this (I am using the integrated database).

Now I have successfuly running version 6.2.4 but when I am prompted to login I always see the following warning:

"WARNING
hibernate.hbm2ddl = update
But has been automatically fixed"

I checked my OpenKM.cfg file several times and can confirm that it contains the line
hibernate.hbm2ddl=none

and NOT the line
hibernate.hbm2ddl=update

Does anybody know how the above warning can be removed?

Re: Migration from 6.2.3 to 6.2.4

PostPosted:Fri Jun 21, 2013 2:55 am
by okmuser
Just stop and restart OpenKM, it will go away on next time.

I am not sure why this warning is coming up on the login screen, it would be more appropriate to put it under admin panel as recent OpenKM versions automatically amend the config file.

Re: Migration from 6.2.3 to 6.2.4

PostPosted:Sat Jun 22, 2013 4:46 pm
by jllort
Warning básically indicates when OpenKM started application has updated. To be sure all is right with table OKM_OMR, with version 6.2.4 running go to administration -> database query and execute DROP TABLE OKM_OMR;

After it, stop application, set hibernate.hbm2ddl = update and start again. With it sure table will be created correctly again.

Stop & start openkm and the warning will disappear.