## 3.11. Upgrading from 4.0.0 to 4.0.1

4.0.1 is a minor bugfix release. There are no database changes, it is only a code replacement for the 4.0.0 release, the installation should be easy.

Install OLAT as described in the installation chapter but DON'T RUN 'ant dbsetup'!! We recommend to move your existing installation from PATH_TO_YOUR_OLAT/olat to PATH_TO_YOUR_OLAT/olat4.0.0 and install the 4.0.1. package as your new PATH_TO_YOUR_OLAT/olat. All user data is located in the olatdata directory which should not be located in the PATH_TO_YOUR_OLAT/olat. The olatdata directory and the database won't be changed when installing the new code.

    #cd PATH_TO_YOUR_OLAT
    #rm olat (if olat is a symlink, otherwise: mv olat olat4.0.0)
    #unzip OLAT-4.0.1.zip
    #ln -s OLAT-4.0.1-FINAL-XXXXX olat
    #cd olat
    #cp build.properties.default build.properties
    #vi build.properties
    #ant config-all
    #ant install

Now start tomcat.