Upgrade / mettre à jour Limesurvey

limecomfortupgrade un script pour changer les droits limesurvey avec le comfort update

Script *nix

tests

#on your webserver
#goto your old limesurvey directory
cd /w3/outils/limesurveytest 
mysqldump limesurveytest > limesurveytest.sql
cp config.php config.php.ori
cp -pR templates templates.ori
cd ..
#go to your localhost limesurvey new version directory then
rsync -az /home/yourlogin/soft/limesurvey/limesurveyupgrade/* yourlogin@yourwebserver:/w3/outils/limesurveytest 
#go to your distant server, to your old/new limesurvey directory
cd /w3/outils/limesurveytest
cp config.php.ori config.php
cp -R templates.ori/* templates
rm -fR templates.ori
#remove install dir
rm -fR admin/install 

then check upgrade:

http://yourwebserver/outils/limesurveytest/admin/

it's done! now go on prod

prod

#on your webserver
#goto your old limesurvey directory
cd /w3/outils/limesurvey
mysqldump limesurvey181 > limesurvey181.sql
cp config.php config.php.ori
cp -pR templates templates.ori
cd ..
tar -cvf limesurvey.tar limesurvey
gzip limesurvey.tar

#go to your localhost limesurvey new version directory then
rsync -az /home/yourlogin/soft/limesurvey/limesurveyupgrade/* yourlogin@yourwebserver:/w3/outils/limesurvey 
#go to your distant server old/new limesurvey directory
cd /w3/outils/limesurvey
cp config.php.ori config.php
cp -R templates.ori/* templates
rm -fR templates.ori
#remove install dir
rm -fR admin/install 

then check upgrade:

http://yourwebserver/outils/limesurvey/admin/

it's done!

Doc

Pour upgrader suivre cette procédure

copie locale

!!!Upgrading from version 1.45 or later to the latest 1.xx series
# Prepare and save the old release
## 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
### Using phpMyAdmin or similar to export all tables; or using the __Limesurvey Administration__ button {img src="img/wiki_up/button-export-sql.png" } to backup the entire database 
## Copy your __config.php__ file and changed __template__ directories 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
## 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).
## Copy in your changed or new custom templates to the template directory.
# Modify the new database tables and finish the installation
## Run the installer in __/admin/install/index.php__ to update the database tables (same as if doing a new install)
## Remove or rename the __/admin/install__ directory as instructed by the installation script
## Check if any special, manual checks apply as listed below
# You are done (:biggrin:) .
  • info/upgradelimesurvey.txt
  • Dernière modification: 2018/07/18 09:46
  • par radeff