Détail du message 50993.2

Message numéro 2 dans le sujet Migration depuis 3.0.4.

  • 50993.2 en réponse à 50993.1 écrit par guiom

    31/01/2012 19:21


    guiom
    Rang : Expert
    J'ai finalement réussit à appliquer les patch et hotfix grâce à un script venant de l'archive changescripts.
    Voici mon nouveau change.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <change xmlns="http://www.rbs.fr/schema/change-project/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.rbs.fr/schema/change-project/1.0 http://www.rbschange.fr/s
    tatic/schema/change-project/1.0.xsd">
      <name>cmscore</name>
      <type>change-project</type>
      <version>3.0.4</version>
      <description>CMS Core</description>
      <dependencies>
        <framework hotfixes="30,42,57,59,82,104,128,132,134,146,166,194">3.0.4</framework>
        <modules>
          <!-- Core modules -->
          <module hotfixes="153">contactcard-3.0.4</module>
          <module hotfixes="62,94,124">dashboard-3.0.4</module>
          <module hotfixes="74,96,151,158,175,190,195">form-3.0.4</module>
          <module hotfixes="91,125">generic-3.0.4</module>
          <module hotfixes="63">list-3.0.4</module>
          <module>mailbox-3.0.4</module>
          <module hotfixes="108">markergas-3.0.4</module>
          <module>mysqlindexer-3.0.4</module>
          <module hotfixes="118,154">notification-3.0.4</module>
          <module>preferences-3.0.4</module>
          <module hotfixes="110">referencing-3.0.4</module>
          <module hotfixes="76">skin-3.0.4</module>
          <module hotfixes="87,171,196">solrsearch-3.0.4</module>
          <module hotfixes="83,112,144">task-3.0.4</module>
          <module hotfixes="90,98">theme-3.0.4</module>
          <module hotfixes="31,47,68,81,107,127,147,164,172,185,191,199">uixul-3.0.4</module>
          <module>useractionlogger-3.0.4</module>
          <module hotfixes="60,93,99,129,155,160,167,179">users-3.0.4</module>
          <module hotfixes="41,43,67,75,111,156,178,189">website-3.0.4</module>
          <module hotfixes="92,95,157">workflow-3.0.4</module>
          <module hotfixes="71,126">news-3.0.4</module>
          <module hotfixes="121">photoalbum-3.0.4</module>
          <module hotfixes="56,86,105,149,163,177">media-3.0.4</module>
          <module hotfixes="117">rss-3.0.4</module>
        </modules>
        <libs/>
      </dependencies>
    </change>

    J'ai ensuite executer la commande php migration/migrate-3.0.4_to_3.5.3.php, mais j'ai des erreurs :
    ->chmod +x <HOME>/repository/framework/framework-3.5.3/bin/change.php  Done
    ->ln -sfn <HOME>/repository/framework/framework-3.5.3 <HOME>/framework  Done
    ->chmod +x <HOME>/framework/bin/*  Done
    ->rm <HOME>/modules/*  Done
    ->rm <HOME>/.computedChangeComponents.ser  Done
    ->rm -rf <HOME>/.change/  Done
    ->rm -rf <HOME>/build/  Done
    ->rm -rf <HOME>/cache/  Done
    ->rm <HOME>/libs/pearlibs/*  Done
    ->rmdir <HOME>/libs/pearlibs  Done
    ->rm <HOME>/libs/*  Done
    Task: init-project
    -><HOME>/framework/bin/change.php init-project   Could not execute <HOME>/framework/bin/change.php init-project  (exit code 255):
    == Initializing project ==
    == Update project dependencies ==
    linking framework-3.0.4 (194)...
    linking contactcard-3.0.4 (153)...
    linking dashboard-3.0.4 (124)...
    linking form-3.0.4 (195)...
    linking generic-3.0.4 (125)...
    linking list-3.0.4 (63)...
    linking mailbox-3.0.4 ()...
    linking markergas-3.0.4 (108)...
    linking mysqlindexer-3.0.4 ()...
    linking notification-3.0.4 (154)...
    linking preferences-3.0.4 ()...
    linking referencing-3.0.4 (110)...
    linking skin-3.0.4 (76)...
    linking solrsearch-3.0.4 (196)...
    linking task-3.0.4 (144)...
    linking theme-3.0.4 (98)...
    linking uixul-3.0.4 (199)...
    linking useractionlogger-3.0.4 ()...
    linking users-3.0.4 (179)...
    linking website-3.0.4 (189)...
    linking workflow-3.0.4 (157)...
    linking news-3.0.4 (126)...
    linking photoalbum-3.0.4 (121)...
    linking media-3.0.4 (177)...
    linking rss-3.0.4 (117)...
    linking smarty-2.6 ()...
    linking agavi-0.9 ()...
    linking icons-3.4 ()...
    linking fckeditor-2.6.3 ()...
    linking PEAR-1.9.0 ()...
    linking Date-1.4.7 ()...
    linking Mail-1.2.0 ()...
    linking Net_SMTP-1.4.2 ()...
    linking Auth_SASL-1.0.4 ()...
    linking HTTP_Header-1.2.0 ()...
    linking Archive_Tar-1.3.6 ()...
    linking Console_Getopt-1.2.3 ()...
    linking Structures_Graph-1.0.3 ()...
    linking Net_Socket-1.0.9 ()...
    linking HTTP-1.4.1 ()...
    Update Checked successfully.
    
    config/project.xml already exists.
    config/project.default.xml already exists.
    == Compile config ==
    
    Fatal error: Cannot redeclare class ResourceResolver in <HOME>/repository/framework/framework-3.0.4-194/loader/ResourceResolver.class.php on line 5
     Done
    
    == Initializing project ==
    == Update project dependencies ==
    linking framework-3.0.4 (194)...
    linking contactcard-3.0.4 (153)...
    linking dashboard-3.0.4 (124)...
    linking form-3.0.4 (195)...
    linking generic-3.0.4 (125)...
    linking list-3.0.4 (63)...
    linking mailbox-3.0.4 ()...
    linking markergas-3.0.4 (108)...
    linking mysqlindexer-3.0.4 ()...
    linking notification-3.0.4 (154)...
    linking preferences-3.0.4 ()...
    linking referencing-3.0.4 (110)...
    linking skin-3.0.4 (76)...
    linking solrsearch-3.0.4 (196)...
    linking task-3.0.4 (144)...
    linking theme-3.0.4 (98)...
    linking uixul-3.0.4 (199)...
    linking useractionlogger-3.0.4 ()...
    linking users-3.0.4 (179)...
    linking website-3.0.4 (189)...
    linking workflow-3.0.4 (157)...
    linking news-3.0.4 (126)...
    linking photoalbum-3.0.4 (121)...
    linking media-3.0.4 (177)...
    linking rss-3.0.4 (117)...
    linking smarty-2.6 ()...
    linking agavi-0.9 ()...
    linking icons-3.4 ()...
    linking fckeditor-2.6.3 ()...
    linking PEAR-1.9.0 ()...
    linking Date-1.4.7 ()...
    linking Mail-1.2.0 ()...
    linking Net_SMTP-1.4.2 ()...
    linking Auth_SASL-1.0.4 ()...
    linking HTTP_Header-1.2.0 ()...
    linking Archive_Tar-1.3.6 ()...
    linking Console_Getopt-1.2.3 ()...
    linking Structures_Graph-1.0.3 ()...
    linking Net_Socket-1.0.9 ()...
    linking HTTP-1.4.1 ()...
    Update Checked successfully.

    Édité par guiom 31/01/2012 19:24

 
1471 membres
Aucun membre connecté