bragento-composer-installer
bragento-composer-installer copied to clipboard
Exception while deploying with Capistrano
I encounter some issue while running the install command, using Capistrano :
symlink(): No such file or directory
Exception trace:
() at /var/www/releases/20141116125033/vendor/bragento/magento-composer-installer/src/Bragento/Magento/Composer/Installer/Util/Filesystem.php:202
Composer\Util\ErrorHandler::handle() at n/a:n/a
symlink() at /var/www/releases/20141116125033/vendor/bragento/magento-composer-installer/src/Bragento/Magento/Composer/Installer/Util/Filesystem.php:202
Bragento\Magento\Composer\Installer\Util\Filesystem->symlink() at /var/www/releases/20141116125033/vendor/bragento/magento-composer-installer/src/Bragento/Magento/Composer/Installer/Deploy/Strategy/Symlink.php:51
Bragento\Magento\Composer\Installer\Deploy\Strategy\Symlink->createDelegate() at /var/www/releases/20141116125033/vendor/bragento/magento-composer-installer/src/Bragento/Magento/Composer/Installer/Deploy/Strategy/AbstractStrategy.php:325
Bragento\Magento\Composer\Installer\Deploy\Strategy\AbstractStrategy->createDelegates() at /var/www/releases/20141116125033/vendor/bragento/magento-composer-installer/src/Bragento/Magento/Composer/Installer/Deploy/Strategy/AbstractStrategy.php:308
Bragento\Magento\Composer\Installer\Deploy\Strategy\AbstractStrategy->makeInstall() at /var/www/releases/20141116125033/vendor/bragento/magento-composer-installer/src/Bragento/Magento/Composer/Installer/Deploy/Strategy/AbstractStrategy.php:411
Bragento\Magento\Composer\Installer\Deploy\Strategy\AbstractStrategy->makeUpdate() at /var/www/releases/20141116125033/vendor/bragento/magento-composer-installer/src/Bragento/Magento/Composer/Installer/Deploy/Strategy/AbstractStrategy.php:170
Bragento\Magento\Composer\Installer\Deploy\Strategy\AbstractStrategy->doDeploy() at /var/www/releases/20141116125033/vendor/bragento/magento-composer-installer/src/Bragento/Magento/Composer/Installer/Deploy/Manager.php:169
Bragento\Magento\Composer\Installer\Deploy\Manager->doDeploy() at /var/www/releases/20141116125033/vendor/bragento/magento-composer-installer/src/Bragento/Magento/Composer/Installer/Plugin.php:111
Bragento\Magento\Composer\Installer\Plugin->onPostInstallCmd() at n/a:n/a
call_user_func() at phar:///opt/composer/composer.phar/src/Composer/EventDispatcher/EventDispatcher.php:158
Composer\EventDispatcher\EventDispatcher->doDispatch() at phar:///opt/composer/composer.phar/src/Composer/EventDispatcher/EventDispatcher.php:120
Composer\EventDispatcher\EventDispatcher->dispatchCommandEvent() at phar:///opt/composer/composer.phar/src/Composer/Installer.php:307
Composer\Installer->run() at phar:///opt/composer/composer.phar/src/Composer/Command/InstallCommand.php:125
Composer\Command\InstallCommand->execute() at phar:///opt/composer/composer.phar/vendor/symfony/console/Symfony/Component/Console/Command/Command.php:252
Symfony\Component\Console\Command\Command->run() at phar:///opt/composer/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:889
Symfony\Component\Console\Application->doRunCommand() at phar:///opt/composer/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:193
Symfony\Component\Console\Application->doRun() at phar:///opt/composer/composer.phar/src/Composer/Console/Application.php:137
Composer\Console\Application->doRun() at phar:///opt/composer/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:124
Symfony\Component\Console\Application->run() at phar:///opt/composer/composer.phar/src/Composer/Console/Application.php:83
Composer\Console\Application->run() at phar:///opt/composer/composer.phar/bin/composer:43
require() at /opt/composer/composer.phar:15
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [--ignore-platform-reqs] [packages1] ... [packagesN]
I am using PHP 5.4 (5.4.34-0+deb7u1), my composer.json is as :
{
"minimum-stability": "stable",
"require": {
"bragento/magento-composer-installer": "*@dev",
"connect20/mage_all_latest": "*"
},
"repositories": [
{
"type": "composer",
"url": "http://packages.firegento.com"
}, {
"type": "vcs",
"url": "https://github.com/bragento/bragento-composer-installer"
}
],
"extra": {
"magento-deploysttrategy": "copy",
"magento-force": "override",
"magento-root-dir": "web/",
"auto-append-gitignore": true
}
}
hm, currently i'm not able to reproduce this on my local Machine (oddly its also working on my debian server with the exact same php version as you got).
I need to set up an environment where this error occurs first.
@gplanchat I reworked the whole Filesystem class now. Could you check if this is still happening? The tests look good now. But I did not test with capistrano.
O.K. the tests looked good. Not anymore. Seems to be the same Problem as before. Still can't reproduce that on my local machine.