62xto70


Migration from Olat 6.2.x to OpenOlat 7.0

  1. Download a WAR file of OLAT 7.0 at: http://www.olat.org/website/en/html/unit_download.html
  2. Stop tomcat
  3. Backup your olatdata, your webapps directory and make a database dump
  4. Delete entire webapps-Directory of OLAT
  5. Extract olat.war in the webapps-location
  6. Create a new configuration file olat.local.properties. For more details on the configuration, you can look at the sample in OpenOLAT but the important settings for the upgrade are:
# DB-properties of your 6.3 installation
db.name=openolat
db.user=openolat
db.pass=secret
db.vendor=mysql
db.database.dialect=org.hibernate.dialect.MySQL5Dialect
 
# Important because update are done via SQL scripts and validation will fail with upgraded 6.x OLAT instances.
db.hibernate.ddl.auto=
 
# Path-properties of your 6.3 installation
userdata.dir=/opt/olatdata
archive.dir=${userdata.dir}/archive
log.dir=${userdata.dir}/logs
upgrade.dir=${userdata.dir}/upgrades
folder.root=${userdata.dir}/bcroot
temp.dir=${userdata.dir}/tmp
  1. Drop this file in your /tomcatDir/lib (part of the classpath) or in the root of your OLAT classpath (e.g. webapp/WEB-INF/classes)
  2. Restart tomcat. The upgrades are done during the first start.