Difference between revisions of "Migrating from 6.2.5 to 6.3"
From OpenKM Documentation
Line 38: | Line 38: | ||
</source> | </source> | ||
− | * The insert SQL '''ExecuteScripting''' action has changed between version 6.2.x to 6.X | + | * The insert SQL '''ExecuteScripting''' action has changed between version 6.2.x to 6.X, take a look at [[Enable_automation]] and see how column with older value '''textarea''' now must have value '''code'''. |
* Enjoy OpenKM 6.3.0! | * Enjoy OpenKM 6.3.0! |
Revision as of 19:47, 17 June 2014
- Make a backup!!!
- Stop Tomcat
- Edit OpenKM.cfg and set hibernate.hbm2ddl to update
- Replace the OpenKM.war
- Go to Administration > Crontab and delete "User Items Serialize" and "Refresh User Items" tasks.
- Run from your preferred SQL client these queries:
MySQL
ALTER TABLE OKM_MIME_TYPE ADD COLUMN MT_SEARCH char(1);
UPDATE OKM_MIME_TYPE SET MT_SEARCH='T';
ALTER TABLE OKM_MIME_TYPE MODIFY COLUMN MT_SEARCH char(1) NOT NULL;
PostgreSQL
ALTER TABLE OKM_MIME_TYPE ADD COLUMN MT_SEARCH char(1);
UPDATE OKM_MIME_TYPE SET MT_SEARCH='T';
ALTER TABLE OKM_MIME_TYPE ALTER COLUMN MT_SEARCH SET NOT NULL;
- Start Tomcat again
- Go to Administration > Database Query, and execute:
HSQL
ALTER TABLE OKM_MIME_TYPE ADD COLUMN MT_SEARCH char(1);
UPDATE OKM_MIME_TYPE SET MT_SEARCH='T';
ALTER TABLE OKM_MIME_TYPE ALTER COLUMN MT_SEARCH SET NOT NULL;
- The insert SQL ExecuteScripting action has changed between version 6.2.x to 6.X, take a look at Enable_automation and see how column with older value textarea now must have value code.
- Enjoy OpenKM 6.3.0!
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.
Recommended to clear browser cache and Java Plugin cache |