-
-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot read contents from file #20
Comments
BTW, I am getting same error using Magento 2.2.4 that I downloaded from Magento. |
@CajuCLC Were you able to find an solution to this problem? I am seeing the same problem with 2.2.5. |
No news ? |
No update from me, I honestly just decided to build my own Docker. :) |
sorry guys I don't have a windows machine to try it, it never happened to me on mac (although I've to say I don't use it that much) |
It work for me with docker-sync and WSL. My repo based on Laradock: Magento2onwindows |
is this still an issue on windows? i was trying to test it but docker needs windows pro or enterprise which I don't have |
Hi there.
I have tried using this repo with Magento EE 2.2.2, but getting this error:
Fatal error: Uncaught Magento\Framework\Exception\FileSystemException: Cannot read contents from file "/var/www/html/app/etc/di.xml" Warning!file_get_contents(/var/www/html/app/etc/di.xml): failed to open stream: No such file or directory in /var/www/html/vendor/magento/framework/Filesystem/Driver/File.php:149 Stack trace: #0 /var/www/html/vendor/magento/framework/Filesystem/File/Read.php(100): Magento\Framework\Filesystem\Driver\File->fileGetContents('/var/www/html/a...', NULL, NULL) #1 /var/www/html/vendor/magento/framework/Config/FileIterator.php(71): Magento\Framework\Filesystem\File\Read->readAll() #2 /var/www/html/vendor/magento/framework/Config/Reader/Filesystem.php(146): Magento\Framework\Config\FileIterator->current() #3 /var/www/html/vendor/magento/framework/Config/Reader/Filesystem.php(130): Magento\Framework\Config\Reader\Filesystem->_readFiles(Object(Magento\Framework\Config\FileIterator)) #4 /var/www/html/vendor/magento/framework/App/ObjectManagerFactory.php(275): Magento\Framework\Config\Reader\Filesystem-> in /var/www/html/vendor/magento/framework/App/ObjectManagerFactory.php on line 277
Windows 10 (using Powershell or WSL). Folder has all permissions.
When I log into the container (Apache) all files are with roo:root permission. Is this correct?
The text was updated successfully, but these errors were encountered: