Translations:Upgrading from a previous version/9/en
From LimeSurvey Manual
Upgrading from version 1.50 or later to any later 2.xx version
- Download the latest version of LimeSurvey.
- Prepare and backup the old installation
- Backup your installation directory files and SQL-based database just in case.
- At the command-line level, make a .zip or similar archive of the whole installation directory tree of files. For example in Linux tar cvzf foo.tgz cps100 will tar and zip the whole of the cps100 directory.
- Using phpMyAdmin or similar to export all tables; or use the according Limesurvey Administration button to backup the entire database
- Copy your config.php file, modified template directories and the /upload directory separately for quick access later.
- Backup your installation directory files and SQL-based database just in case.
- Replace all the installation directory files
- Delete all old files in the existing installation directory
- Upload and unpack the new code version into the same installation directory
- If your previous version was older than 1.90: Copy any customized templates to /upload/templates - you will also need to rename each template directory whose name matches an existing template in /templates.
- Copy your /upload directory back to the old location
- Double check the permissions set on the directories (write access to /tmp, /upload and and their subdirectories is required) as described in Installation
- Open http://<yourdomain>/<yourlimesurveydir>/admin in your browser and follow the instructions (you can use the old config.php as reference). The existing database will be automatically detected and , if necessary, upgraded after confirmation.
- Check if any special manual checks apply as listed below
- Now clear your browser cache and cookies!
- You are done (:biggrin:).