magento2: The deployer tool does not handle symlinks correctly, fails silently.
Preconditions
- 2.1.7
- php7.0
Steps to reproduce
- Clone an existing site, having previously been installed and committed to vcs, but without the vendored dependencies.
rm -rfmedia, and create a symlink that points to/tmp/thisdoesnotexist- Try and install the application
Expected result
- The application install fails critically
Actual result
- The application install appears to succeed, but the files
boostrap.phpetc. are missing.
See the following stack overflow post for further details. https://magento.stackexchange.com/questions/177924/magenta-2-1-5-composer-install-fails-to-generate-all-files/184666#184666
About this issue
- Original URL
- State: open
- Created 7 years ago
- Comments: 21 (10 by maintainers)
I’ve been able to reproduce, but with a permission problem. The composer install ends fine, but I think it should fail. as suggested by @hostep can you reopen it ?
Steps to reproduce:
Then, If you look on what is deployed: bin/magento is there, vendor too, but all files after ‘
pub/media/.htaccess’, declared in ‘vendor/magento/magento2-base/composer.json’ , are missing (vendor/.htaccessfor example).Thank in advance, Marc
Edit: I have removed my initial and unfair reply. I’m sorry for it’s venom.
To assist me in helping you debug this, can you please articulate the steps you took to correct the issue? In particular, I have noted the problem in some detail here:
https://magento.stackexchange.com/questions/177924/magento-2-1-5-composer-install-fails-to-generate-all-files/184666#184666?
Can you reiterate the steps that you followed in line with the above article?