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

PHP Warning: unlink(var/...): Is a directory in /var/www/html/ezp/ezpublish_legacy/kernel/classes/clusterfilehandlers/ezfsfilehandler.php on line 634

    XMLWordPrintable

    Details

      Description

      If you run

      $ php ezpublish/console cache:clear --env=prod
      

      You'll get the following errors

      Clearing the cache for the dev environment with debug true
      Clearing All cache: 
      Content view cache, Global INI cache, INI cache, Codepage cache, Class identifier cache, Sort key cache, URL alias cache, Character transformation cache, Image alias, Template cache, Template block cache, Template override cache, Text to image cache, RSS cache, User info cache, Content tree menu (browser cache), State limitations cache, Content Language cache, Design base cache, Active extensions cache, TS Translation cache, SSL Zones cache, REST Application cache, REST Routes memory cache, eZJSCore Public Packer cachePHP Warning:  unlink(var/ezdemo_site/cache/public/javascript): Is a directory in /var/www/html/ezp/ezpublish_legacy/kernel/classes/clusterfilehandlers/ezfsfilehandler.php on line 634
      PHP Stack trace:
      PHP   1. {main}() /var/www/html/ezp/ezpublish/console:0
      PHP   2. Symfony\Component\Console\Application->run() /var/www/html/ezp/ezpublish/console:27
      PHP   3. eZ\Bundle\EzPublishCoreBundle\Console\Application->doRun() /var/www/html/ezp/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:121
      PHP   4. Symfony\Bundle\FrameworkBundle\Console\Application->doRun() /var/www/html/ezp/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/Console/Application.php:41
      PHP   5. Symfony\Component\Console\Application->doRun() /var/www/html/ezp/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:96
      PHP   6. Symfony\Component\Console\Application->doRunCommand() /var/www/html/ezp/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:191
      PHP   7. Symfony\Component\Console\Command\Command->run() /var/www/html/ezp/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:908
      PHP   8. Symfony\Bundle\FrameworkBundle\Command\CacheClearCommand->execute() /var/www/html/ezp/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:244
      PHP   9. Symfony\Component\HttpKernel\CacheClearer\ChainCacheClearer->clear() /var/www/html/ezp/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Command/CacheClearCommand.php:70
      PHP  10. eZ\Bundle\EzPublishLegacyBundle\Cache\LegacyCachePurger->clear() /var/www/html/ezp/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/CacheClearer/ChainCacheClearer.php:42
      PHP  11. eZ\Publish\Core\MVC\Legacy\Kernel->runCallback() /var/www/html/ezp/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishLegacyBundle/Cache/LegacyCachePurger.php:83
      PHP  12. ezpKernel->runCallback() /var/www/html/ezp/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Legacy/Kernel.php:162
      PHP  13. eZ\Publish\Core\MVC\Legacy\Kernel\CLIHandler->runCallback() /var/www/html/ezp/ezpublish_legacy/kernel/private/classes/ezpkernel.php:68
      PHP  14. eZ\Bundle\EzPublishLegacyBundle\Cache\{closure}() /var/www/html/ezp/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Legacy/Kernel/CLIHandler.php:149
      PHP  15. eZCacheHelper->clearItems() /var/www/html/ezp/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishLegacyBundle/Cache/LegacyCachePurger.php:80
      PHP  16. eZCacheHelper->internalClear() /var/www/html/ezp/ezpublish_legacy/lib/ezutils/classes/ezcachehelper.php:31
      PHP  17. eZCache::clearItem() /var/www/html/ezp/ezpublish_legacy/lib/ezutils/classes/ezcachehelper.php:131
      PHP  18. call_user_func_array:{/var/www/html/ezp/ezpublish_legacy/kernel/classes/ezcache.php:489}() /var/www/html/ezp/ezpublish_legacy/kernel/classes/ezcache.php:489
      PHP  19. ezjscCacheManager::clearCache() /var/www/html/ezp/ezpublish_legacy/kernel/classes/ezcache.php:489
      PHP  20. eZFSFileHandler->fileDeleteByDirList() /var/www/html/ezp/ezpublish_legacy/extension/ezjscore/classes/ezjsccachemanager.php:18
      PHP  21. array_map() /var/www/html/ezp/ezpublish_legacy/kernel/classes/clusterfilehandlers/ezfsfilehandler.php:634
      PHP Warning:  unlink(var/ezdemo_site/cache/public/stylesheets): Is a directory in /var/www/html/ezp/ezpublish_legacy/kernel/classes/clusterfilehandlers/ezfsfilehandler.php on line 634
      PHP Stack trace:
      PHP   1. {main}() /var/www/html/ezp/ezpublish/console:0
      PHP   2. Symfony\Component\Console\Application->run() /var/www/html/ezp/ezpublish/console:27
      PHP   3. eZ\Bundle\EzPublishCoreBundle\Console\Application->doRun() /var/www/html/ezp/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:121
      PHP   4. Symfony\Bundle\FrameworkBundle\Console\Application->doRun() /var/www/html/ezp/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/Console/Application.php:41
      PHP   5. Symfony\Component\Console\Application->doRun() /var/www/html/ezp/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:96
      PHP   6. Symfony\Component\Console\Application->doRunCommand() /var/www/html/ezp/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:191
      PHP   7. Symfony\Component\Console\Command\Command->run() /var/www/html/ezp/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:908
      PHP   8. Symfony\Bundle\FrameworkBundle\Command\CacheClearCommand->execute() /var/www/html/ezp/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:244
      PHP   9. Symfony\Component\HttpKernel\CacheClearer\ChainCacheClearer->clear() /var/www/html/ezp/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Command/CacheClearCommand.php:70
      PHP  10. eZ\Bundle\EzPublishLegacyBundle\Cache\LegacyCachePurger->clear() /var/www/html/ezp/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/CacheClearer/ChainCacheClearer.php:42
      PHP  11. eZ\Publish\Core\MVC\Legacy\Kernel->runCallback() /var/www/html/ezp/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishLegacyBundle/Cache/LegacyCachePurger.php:83
      PHP  12. ezpKernel->runCallback() /var/www/html/ezp/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Legacy/Kernel.php:162
      PHP  13. eZ\Publish\Core\MVC\Legacy\Kernel\CLIHandler->runCallback() /var/www/html/ezp/ezpublish_legacy/kernel/private/classes/ezpkernel.php:68
      PHP  14. eZ\Bundle\EzPublishLegacyBundle\Cache\{closure}() /var/www/html/ezp/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Legacy/Kernel/CLIHandler.php:149
      PHP  15. eZCacheHelper->clearItems() /var/www/html/ezp/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishLegacyBundle/Cache/LegacyCachePurger.php:80
      PHP  16. eZCacheHelper->internalClear() /var/www/html/ezp/ezpublish_legacy/lib/ezutils/classes/ezcachehelper.php:31
      PHP  17. eZCache::clearItem() /var/www/html/ezp/ezpublish_legacy/lib/ezutils/classes/ezcachehelper.php:131
      PHP  18. call_user_func_array:{/var/www/html/ezp/ezpublish_legacy/kernel/classes/ezcache.php:489}() /var/www/html/ezp/ezpublish_legacy/kernel/classes/ezcache.php:489
      PHP  19. ezjscCacheManager::clearCache() /var/www/html/ezp/ezpublish_legacy/kernel/classes/ezcache.php:489
      PHP  20. eZFSFileHandler->fileDeleteByDirList() /var/www/html/ezp/ezpublish_legacy/extension/ezjscore/classes/ezjsccachemanager.php:18
      PHP  21. array_map() /var/www/html/ezp/ezpublish_legacy/kernel/classes/clusterfilehandlers/ezfsfilehandler.php:634
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              pedro.resende-obsolete@ez.no Pedro Resende (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 30 minutes
                  2h 30m