Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-15823

Running cache clearing procedure from upgrade 4.2.0 using root removes all linux system files

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Medium Medium
    • Resolution: Fixed
    • Affects Version/s: 4.2.0
    • Fix Version/s: 4.1.5, 4.2.1, 4.3.0beta1
    • Component/s: Install
    • Labels:
      None
    • Environment:

      PHP 5.2.11, CENTOS 5.1, Firefox 3.5

      Description

      root@INTRANET intradev]# php update/common/scripts/4.2/fixorphanimages.php
      This script will delete images that look orphan
      Press ctrl-c in the next 10 seconds to prevent the script from starting...
      Looking for obsolete image files...
      1164 / 1164 [=======================================================>] 100.00%
      [root@INTRANET intradev]# php bin/php/ezcache.php --clear-all --purge
      Purging : Cache d'affichage de contenu, Cache Global INI, Cache INI, Cache codepage,
      Cache des identifiants de classes, Cache des clés de classement, Cache des alias d'URL,
      Cacher de transformation des caractères, Alias d'image, Cache des templates, Cache des
      template block, Cache des templates override, Cache des textes convertis en imagePHP
      Fatal error:  Allowed memory size of 16777216 bytes exhausted (tried to allocate 262144 bytes)
      in /var/www/html/intradev/kernel/classes/clusterfilehandlers/ezfsfilehandler.php on line 862
      Fatal error: eZ Publish did not finish its request
      The execution of eZ Publish was abruptly ended, the debug output is present below.
      [root@INTRANET intradev]# php bin/php/ezcache.php --clear-all --purge
      bash: /usr/bin/php: Aucun fichier ou répertoire de ce type
      

      1. ezcache.php-trunk.diff
        5 kB
        (inactive) Gunnstein Lye

        Issue Links

          Activity

          Hide
          (inactive) Gunnstein Lye added a comment -

          In reply to comment #050044
          Yes, Windows is a known concern here, also in relation to the 'path = /' check, but thanks for bringing it up anyway.

          Show
          (inactive) Gunnstein Lye added a comment - In reply to comment #050044 Yes, Windows is a known concern here, also in relation to the 'path = /' check, but thanks for bringing it up anyway.
          Hide
          Patrick Allaert added a comment -

          Fixed in
          trunk (4.3.0beta1) rev. 24912
          stable/4.2 (4.2.1) rev. 24913
          stable/4.1 (4.1.5) rev. 24914

          Show
          Patrick Allaert added a comment - Fixed in trunk (4.3.0beta1) rev. 24912 stable/4.2 (4.2.1) rev. 24913 stable/4.1 (4.1.5) rev. 24914
          Hide
          (inactive) Gunnstein Lye added a comment -

          Added link to related issue
          #17097: ezcache.php: Some cache items can cause a complete cache purge
          http://issues.ez.no/17097

          Show
          (inactive) Gunnstein Lye added a comment - Added link to related issue #17097: ezcache.php: Some cache items can cause a complete cache purge http://issues.ez.no/17097
          Hide
          (inactive) Gunnstein Lye added a comment - - edited

          Added link to related issue
          #17099: ezcache.php: Get confirmation when clearing dangerous directories
          http://issues.ez.no/17099

          Show
          (inactive) Gunnstein Lye added a comment - - edited Added link to related issue #17099: ezcache.php: Get confirmation when clearing dangerous directories http://issues.ez.no/17099
          Hide
          ezrobot added a comment -

          This issue has been automatically closed due to the lack of activity over a long period of time. It is very likely that it is obsolete, but if you think it is still valid, do not hesitate to reopen it and mention why.

          Show
          ezrobot added a comment - This issue has been automatically closed due to the lack of activity over a long period of time. It is very likely that it is obsolete, but if you think it is still valid, do not hesitate to reopen it and mention why.

            People

            • Assignee:
              Patrick Allaert
              Reporter:
              claude deheneffe
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: