Upgrading from a previous version/11/en: Difference between revisions
From LimeSurvey Manual
m Text replace - "Limesurvey" to "LimeSurvey" |
Importing a new version from external source |
||
Line 14: | Line 14: | ||
## 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. | ## 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 | ## 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 [ | ## Double check the '''permissions''' set on the directories (write access to '''/tmp''', '''/upload''' and and their subdirectories is required) as described in [[Installation#Set Directory permissions|Installation]] | ||
# Finishing the installation | # Finishing the installation | ||
## Once you open the URL to your LimeSurvey administration the database tables will be updated after confirmation | ## Once you open the URL to your LimeSurvey administration the database tables will be updated after confirmation |
Revision as of 16:18, 7 October 2013
Upgrading from version 1.50 or later to any later 1.xx version
- Download the desired 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. e.g. tar cvzf foo.tgz cps100 will tar and zip the whole of the cps100 directory
- Using phpMyAdmin or similar to export all tables; or using the 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
- Edit or replace the config.php file:
- If your previous version was < 1.70: Edit the new config.php to reflect changed settings in the backup config.php file. Do not just overwrite the new config.php with your old one!
- If your previous version was >= 1.70: Simply replace the new config.php with your backup config.php (as the file format has not changed).
- 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
- Finishing the installation
- Once you open the URL to your LimeSurvey administration the database tables will be updated after confirmation
- Remove or rename the /admin/install directory as/if instructed by the installation script
- Check if any special, manual checks apply as listed below
- You are done (:biggrin:). If you notice any problems after the upgrade: Clear your browser cache and cookies!