Skip to content

Absolute path is assembled incorrectly when merging js/css files #465

Closed
@SKovbel

Description

@SKovbel

Document_Root are duplicated

/www/domain.home/pub/www/domain.home/pub/pub/static/adminhtml/magento_backend/en_US/Magento_Core/prototype/magento.css

  • /www/domain.home/pub
  • /www/domain.home/pub
  • /pub/static/adminhtml/magento_backend/en_US/Magento_Core/prototype/magento.css
ERR (3):
Exception 'Magento\Filesystem\FilesystemException' with message 'Cannot gather stats! Warning!stat(): stat failed for /www/domain.home/pub/www/domain.home/pub/pub/static/adminhtml/magento_backend/en_US/Magento_Core/prototype/magento.css' in /www/domain.home/pub/lib/Magento/Filesystem/Driver/File.php:83
Stack trace:
#0 /www/domain.home/pub/lib/Magento/Filesystem/Directory/Read.php(195): Magento\Filesystem\Driver\File->stat('/www/domain...')
#1 /www/domain.home/pub/lib/Magento/View/Asset/MergeStrategy/Checksum.php(66): Magento\Filesystem\Directory\Read->stat('/www/domain...')
#2 /www/domain.home/pub/lib/Magento/View/Asset/Merged.php(133): Magento\View\Asset\MergeStrategy\Checksum->mergeFiles(Array, '/www/domain...', 'css')
#3 /www/domain.home/pub/lib/Magento/View/Asset/Merged.php(115): Magento\View\Asset\Merged->getMergedAsset(Array)
#4 /www/domain.home/pub/lib/Magento/View/Asset/Merged.php(216): Magento\View\Asset\Merged->initialize()
#5 /www/domain.home/pub/app/code/Magento/Theme/Block/Html/Head.php(207): Magento\View\Asset\Merged->rewind()
<VirtualHost *>
    DocumentRoot /www/domain.home/pub
    ServerName domain.home
    <Directory />
         Options Indexes FollowSymLinks MultiViews
         AllowOverride all
         Require all granted
    </Directory>
</VirtualHost>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions