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 cps100 directory
- You can use phpMyAdmin to export all tables or you can use the backup database function of LimeSurvey that is available in the configuration dialog (under the advanced tab) to backup the entire database
Note: Look for the
LimeSurvey Administration button

to export the database in the older LimeSurvey versions
- Copy your config.php file, modified template directories, and the /upload directory separately for quick access later
- 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 is 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 their subdirectories is required) as described in the installation wiki
- 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(!) and you are good to go