migrating from 6.2.3 to 6.2.4
PostPosted:Wed Jun 19, 2013 9:51 am
Hi,
Think I am experiencing the same error with TS.
On folder/node, if I change security rights for say user A with recursive rights, removing all rights of read, write, delete and security.
User A is still able to access the folder and files. So, this may be the error and version 6.2.4 is the update to it.
I follow migration instruction. Can anyone tell me if I am doing correctly - step by step.
Make a backup!!! (i zip the whole openkm directory)
Stop Tomcat (easy)
Edit OpenKM.cfg and set hibernate.hbm2ddl to update (edited)
Replace the OpenKM.war (downloaded, delete old one, rename downloaded file openkm.zip to openkm.war
Run from your preferred SQL client these queries:
DROP TABLE OKM_OMR; (i am using default database, did not do anything to this step. don't know how to execute a query also
Start Tomcat again (started with ease)
Go to Administration > Database Query, and remove obsolete configuration properties: (copy and paste into query, select JDBC type and click SEND
DELETE FROM OKM_CONFIG WHERE CFG_KEY='kea.model.file';
DELETE FROM OKM_CONFIG WHERE CFG_KEY='kea.stopwords.file';
DELETE FROM OKM_CONFIG WHERE CFG_KEY='kea.automatic.keyword.extraction.number';
DELETE FROM OKM_CONFIG WHERE CFG_KEY='kea.automatic.keyword.extraction.restriction';
Enjoy OpenKM 6.2.4! (problem now is before I restart, do i need to change hibernate.hbm2ddl back to NONE? anyway, did not change and restarted. checked openkm version is still stating 6.2.3. delete the folders as listed below after i have stop tomcat. restart but now there is user error after the rebuild. )
If you have any weird problem try to stop Tomcat, delete these folders:
$TOMCAT_HOME/webapps/OpenKM
$TOMCAT_HOME/work/Catalina/localhost
And start Tomcat again.
Think I am experiencing the same error with TS.
On folder/node, if I change security rights for say user A with recursive rights, removing all rights of read, write, delete and security.
User A is still able to access the folder and files. So, this may be the error and version 6.2.4 is the update to it.
I follow migration instruction. Can anyone tell me if I am doing correctly - step by step.
Make a backup!!! (i zip the whole openkm directory)
Stop Tomcat (easy)
Edit OpenKM.cfg and set hibernate.hbm2ddl to update (edited)
Replace the OpenKM.war (downloaded, delete old one, rename downloaded file openkm.zip to openkm.war
Run from your preferred SQL client these queries:
DROP TABLE OKM_OMR; (i am using default database, did not do anything to this step. don't know how to execute a query also
Start Tomcat again (started with ease)
Go to Administration > Database Query, and remove obsolete configuration properties: (copy and paste into query, select JDBC type and click SEND
DELETE FROM OKM_CONFIG WHERE CFG_KEY='kea.model.file';
DELETE FROM OKM_CONFIG WHERE CFG_KEY='kea.stopwords.file';
DELETE FROM OKM_CONFIG WHERE CFG_KEY='kea.automatic.keyword.extraction.number';
DELETE FROM OKM_CONFIG WHERE CFG_KEY='kea.automatic.keyword.extraction.restriction';
Enjoy OpenKM 6.2.4! (problem now is before I restart, do i need to change hibernate.hbm2ddl back to NONE? anyway, did not change and restarted. checked openkm version is still stating 6.2.3. delete the folders as listed below after i have stop tomcat. restart but now there is user error after the rebuild. )
If you have any weird problem try to stop Tomcat, delete these folders:
$TOMCAT_HOME/webapps/OpenKM
$TOMCAT_HOME/work/Catalina/localhost
And start Tomcat again.