« Back to French

Upgrade Instructions from 4.4.2 to 5.1.2 (Français)

(Redirected from Upgrade migration 4.4.2 to 5.1.2 succesfull)

Ci-dessous, une procédure de migration réussie de Liferay 4.4 (sans customisation) vers 5.1.2 (TOMCAT et MySQL) :

 

  1. Téléchager Liferay 5.1.2
  2. Remplacer l'arborescence de liferay 4.4 par la nouvelle (après avoir sauvegarder l'ancienne !!)
  3. Editer ou créer le fichier "portal-ext.properties" et ajouter les lignes suivantes :
        permissions.checker=com.liferay.portal.security.permission.AdvancedPermissionChecker
        permissions.user.check.algorithm=2
        layout.user.private.layouts.power.user.required=true
  4. Par sécurité, sauvegarder la base lportal actuelle
  5. Se connecter à MySQL sur la base lportal (use lportal),
  6. Exécuter les requêtes suivantes :

        update Group_ set friendlyURL = concat('/', groupid) where friendlyurl='';
        update Layout set friendlyurl = concat('/', layoutid) where friendlyurl='';
     
        delete from CalEvent where repeating=1; (Faire un select avant et enregistrer le résultat dans un fichier si on souhaite recréer les évènements récurents manuellement),
     
  7. Démarrer Liferay,
     
    ATTENTION, sur ce démarrage, il doit y avoir des erreurs de migration mais liferay doit démarrer.
     
  8. Arrêter l'intranet (ATTENTION, à ne niveau de la migration, il se peut qu'il soit nécessaire de faire un "kill" pour arrêter le process),
  9. Se connecter à MySQL sur la base lportal (use lportal),
  10. Exécuter la requête suivante :
     
    update Release_ set buildnumber='5101', modifieddate=now(), verified = '1' where buildnumber='4402';
     
  11. Redémarrer l'intranet
     
    Après ce 2ème redémarrage, il ne doit plus y avoir d'erreur.
0 Attachments
7538 Views
Average (0 Votes)
The average rating is 0.0 stars out of 5.
Comments
Threaded Replies Author Date
Warning - the necessity to execute the upgrade... Artur Linhart December 18, 2008 7:41 AM

Warning - the necessity to execute the upgrade of the Group and layout table means the upgrade has not been executed completely and will be not complete also after the execution of this two update statements.
There should come no exception during the upgrade, then it is correctly executed... But then also the build number is increased and the groups are updated correctly. See the issues LPS-1003 and LPS-1005
Posted on 12/18/08 7:41 AM.