Difference between revisions of "Migration from 5.0-RC1 to 5.0"

From OpenKM Documentation
Jump to: navigation, search
Line 1: Line 1:
Go to Administration and Database query. Execute this SQL query:
+
Before start JBoss, edit the OpenKM.cfg and set:
  
<source lang="sql">
+
<source lang="java">
ALTER TABLE OKM_MIME_TYPE DROP COLUMN MT_ACTIVE;
+
hibernate.hbm2ddl=update
 
</source>
 
</source>
  
Now go to Mime types and click on ''reset'' to refresh the mime type icons.
+
Also change the configuration property from:
 
 
Edit your OpenKM.cfg file and change the configuration property from:
 
  
 
<source lang="java">
 
<source lang="java">
Line 18: Line 16:
 
system.openoffice.path
 
system.openoffice.path
 
</source>
 
</source>
 +
 +
 +
Go to Administration and Database query. Execute this SQL query:
 +
 +
<source lang="sql">
 +
ALTER TABLE OKM_MIME_TYPE DROP COLUMN MT_ACTIVE;
 +
</source>
 +
 +
Now go to Mime types and click on ''reset'' to refresh the mime type icons.
  
 
[[Category: Migration Guide]]
 
[[Category: Migration Guide]]

Revision as of 19:39, 29 November 2010

Before start JBoss, edit the OpenKM.cfg and set:

hibernate.hbm2ddl=update

Also change the configuration property from:

system.openoffice

to

system.openoffice.path


Go to Administration and Database query. Execute this SQL query:

ALTER TABLE OKM_MIME_TYPE DROP COLUMN MT_ACTIVE;

Now go to Mime types and click on reset to refresh the mime type icons.