Open comunidademagento opened 8 years ago
Were you able to get past this? I've seen cased where the installation fails at different steps but running the installation again seems to get past the previous step where it failed.
similar issue here: installation hangs since 20 mins or so. First I tried web-based installation but it stopped at 65% percent. Needed to kill everything because apache was not responding anymore. Somehow I think at least my issue is related to php5-fpm because apache was only responsive again when I restarted (killed) all php5-fpm processes. I did something like this to reset:
sudo /etc/init.d/php5-fpm restart
sudo /etc/init.d/apache2 restart
rm -rf var/cache/*
rm -rf var/generation/*
rm var/.maintenance.flag
drop database mage2;
create database mage2;
rm app/etc/config.php
rm app/etc/env.php
And then tried installation from shell:
bin/magento setup:install --db-name=mage2 --db-user=root --db-password=mage2 --admin-firstname=admin --admin-lastname=admin --admin-password=admin123 --admin-user=admin --admin-email=
After 20 mins or so nothing happens on step 209, see screenshot. I also tried bin/reinstall, but now it hangs at [+] Uninstalling
I think, I will start from scratch again.
Tried installing magento2 on another self-made vagrant box and encountered the same problem. For me, a solution provided here did the trick: chmod -R 777 vendor/
. Could be the same reason here.
I'm having the same problem. I've followed the suggestion to restart php5-fpm, and chmod -R 777 vendor/
in the magento directory with no success. If this is of any hint, I ran strace
on the installation script and it seems to loop over and over the following:
stat("/vagrant/data/magento2/var/cache/mage--a/mage---e92_GLOBAL_SETUP_PLUGIN_LIST", {st_mode=S_IFREG|0666, st_size=0, ...}) = 0 time(NULL) = 1453310089 open("/vagrant/data/magento2/var/cache/mage--a/mage---e92_GLOBAL_SETUP_PLUGIN_LIST", O_RDONLY) = 9 fstat(9, {st_mode=S_IFREG|0666, st_size=0, ...}) = 0 lseek(9, 0, SEEK_CUR) = 0 flock(9, LOCK_SH) = -1 ENOLCK (No locks available) read(9, "", 8192) = 0 flock(9, LOCK_UN) = 0 close(9) = 0 time(NULL) = 1453310095 open("/vagrant/data/magento2/var/cache/mage--a/mage---e92_GLOBAL_SETUP_PLUGIN_LIST", O_RDONLY) = 9 fstat(9, {st_mode=S_IFREG|0666, st_size=0, ...}) = 0 lseek(9, 0, SEEK_CUR) = 0 flock(9, LOCK_SH) = -1 ENOLCK (No locks available) read(9, "", 8192) = 0 flock(9, LOCK_UN) = 0 close(9) = 0 access("/vagrant/data/magento2/app/code/Magento/Store/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/AdvancedPricingImportExport/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Directory/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Theme/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Backend/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Backup/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Eav/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Customer/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/BundleImportExport/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/AdminNotification/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/CacheInvalidate/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Indexer/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Cms/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/CatalogImportExport/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Catalog/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Rule/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Msrp/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Search/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Bundle/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Quote/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/CatalogUrlRewrite/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Widget/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/SalesSequence/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/CheckoutAgreements/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Payment/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Downloadable/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/CmsUrlRewrite/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Config/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/ConfigurableImportExport/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/CatalogInventory/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/SampleData/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Contact/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Cookie/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Cron/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/CurrencySymbol/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/CatalogSearch/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/CustomerImportExport/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2-sample-data/app/code/Magento/CustomerSampleData/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Deploy/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Developer/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Dhl/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Authorization/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/User/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/ImportExport/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Sales/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/CatalogRule/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Email/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/EncryptionKey/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Fedex/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/GiftMessage/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Checkout/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/GoogleAnalytics/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/GoogleOptimizer/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/GroupedImportExport/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/GroupedProduct/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Tax/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/DownloadableImportExport/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Braintree/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Integration/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/LayeredNavigation/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Marketplace/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/MediaStorage/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/ConfigurableProduct/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2-sample-data/app/code/Magento/MsrpSampleData/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Multishipping/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/NewRelicReporting/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Newsletter/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/OfflinePayments/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/SalesRule/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/OfflineShipping/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/PageCache/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Captcha/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Paypal/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Persistent/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/ProductAlert/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Weee/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/ProductVideo/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2-sample-data/app/code/Magento/CatalogSampleData/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Reports/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/RequireJs/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Review/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2-sample-data/app/code/Magento/BundleSampleData/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Rss/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2-sample-data/app/code/Magento/DownloadableSampleData/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Authorizenet/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2-sample-data/app/code/Magento/OfflineShippingSampleData/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2-sample-data/app/code/Magento/ConfigurableSampleData/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2-sample-data/app/code/Magento/SalesSampleData/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2-sample-data/app/code/Magento/ProductLinksSampleData/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2-sample-data/app/code/Magento/ThemeSampleData/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2-sample-data/app/code/Magento/ReviewSampleData/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/SendFriend/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Ui/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Sitemap/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/CatalogRuleConfigurable/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Swagger/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Swatches/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2-sample-data/app/code/Magento/SwatchesSampleData/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2-sample-data/app/code/Magento/GroupedProductSampleData/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/TaxImportExport/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2-sample-data/app/code/Magento/TaxSampleData/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/GoogleAdwords/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2-sample-data/app/code/Magento/CmsSampleData/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Translation/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Shipping/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Ups/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/UrlRewrite/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2-sample-data/app/code/Magento/CatalogRuleSampleData/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Usps/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Variable/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Version/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Webapi/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2-sample-data/app/code/Magento/SalesRuleSampleData/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/CatalogWidget/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2-sample-data/app/code/Magento/WidgetSampleData/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/app/code/Magento/Wishlist/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2-sample-data/app/code/Magento/WishlistSampleData/etc/setup/di.xml", F_OK) = -1 ENOENT (No such file or directory) access("/vagrant/data/magento2/var/cache/mage--a/", W_OK) = 0 access("/vagrant/data/magento2/var/cache/mage--a/", W_OK) = 0 time(NULL) = 1453310101 time(NULL) = 1453310101 open("/vagrant/data/magento2/var/cache/mage--a/mage---e92_GLOBAL_SETUP_PLUGIN_LIST", O_WRONLY|O_CREAT, 0666) = 9 fstat(9, {st_mode=S_IFREG|0666, st_size=0, ...}) = 0 lseek(9, 0, SEEK_CUR) = 0 flock(9, LOCK_EX) = -1 ENOLCK (No locks available) close(9) = 0 stat("/vagrant/data/magento2/var/cache/mage--a/mage---e92_GLOBAL_SETUP_PLUGIN_LIST", {st_mode=S_IFREG|0666, st_size=0, ...}) = 0 time(NULL) = 1453310107 lstat("/vagrant/data/magento2/var/cache/mage--a/mage---e92_GLOBAL_SETUP_PLUGIN_LIST", {st_mode=S_IFREG|0666, st_size=0, ...}) = 0 lstat("/vagrant/data/magento2/var/cache/mage--a", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0 lstat("/vagrant/data/magento2/var/cache", {st_mode=S_IFDIR|0770, st_size=4096, ...}) = 0 lstat("/vagrant/data/magento2/var", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/vagrant/data/magento2", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/vagrant/data", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/vagrant", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
I'd really like to get this running and your help is much appreciated.
Hello @rgranadino
See image.
The process is stopped here ...
[Progress: 247 / 362] Module 'Magento_Customer': Installing data..