Magento 2: installation stuck at 65% “installing user configuration”












4














So I recently installed Ubuntu 16.04 on an old laptop.



Running PHP 7:



PHP 7.0.4-7ubuntu2.1 (cli) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
with Xdebug v2.4.0, Copyright (c) 2002-2016, by Derick Rethans


I'm trying to install Magento 2.0.7 but my installation is stuck at 65%



enter image description here



I've increased the memory allocated to PHP to 768M as suggested by the official doc but still stuck.



There's nothing in the Magento logs, nothing in the apache error logs.



In the firebug console tab, I can see that there are POST calls every few seconds to /setup/index.php/install/progress where the response is always the same and represents the progress listed in the console log.



There's also a POST call to /setup/index.php/session/prolong from time to time where the response is always:



{"success":false}


I don't usually post that kind of installation questions but to be honest, I'm running out of ideas regarding what it could be.



Let's assume I don't have access to command line and I absolutely want to install via the web setup wizard. I want to know what is causing this issue and how to fix it










share|improve this question




















  • 1




    I am also facing same issue with Ubuntu 14.04 . Magento 2.0.7 for several times ends up 89%.
    – Krishna ijjada
    Jun 6 '16 at 17:06






  • 2




    If its not progress you should stop process and try to run php bin/magento setup:upgrade this will install rest of the module. Or if UI is not working you should try to install with command line with php bin/magento setup:install --base-url=http://127.0.0.1/magento2/ --db-host=localhost --db-name=magento --db-user=magento --db-password=magento --admin-firstname=Magento --admin-lastname=User --admin-email=user@example.com --admin-user=admin --admin-password=admin123 --language=en_US --currency=USD --timezone=America/Chicago --use-rewrites=1
    – Aman Alam
    Jun 6 '16 at 17:10












  • Reference - devdocs.magento.com/guides/v2.0/install-gde/install/cli/…
    – Aman Alam
    Jun 6 '16 at 17:12






  • 2




    is rewrite_module enabled?
    – Nickool
    Jun 6 '16 at 17:14










  • @aman_uni yeah I've installed M2 several times before and used the command line in the past but
    – Raphael at Digital Pianism
    Jun 6 '16 at 17:14
















4














So I recently installed Ubuntu 16.04 on an old laptop.



Running PHP 7:



PHP 7.0.4-7ubuntu2.1 (cli) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
with Xdebug v2.4.0, Copyright (c) 2002-2016, by Derick Rethans


I'm trying to install Magento 2.0.7 but my installation is stuck at 65%



enter image description here



I've increased the memory allocated to PHP to 768M as suggested by the official doc but still stuck.



There's nothing in the Magento logs, nothing in the apache error logs.



In the firebug console tab, I can see that there are POST calls every few seconds to /setup/index.php/install/progress where the response is always the same and represents the progress listed in the console log.



There's also a POST call to /setup/index.php/session/prolong from time to time where the response is always:



{"success":false}


I don't usually post that kind of installation questions but to be honest, I'm running out of ideas regarding what it could be.



Let's assume I don't have access to command line and I absolutely want to install via the web setup wizard. I want to know what is causing this issue and how to fix it










share|improve this question




















  • 1




    I am also facing same issue with Ubuntu 14.04 . Magento 2.0.7 for several times ends up 89%.
    – Krishna ijjada
    Jun 6 '16 at 17:06






  • 2




    If its not progress you should stop process and try to run php bin/magento setup:upgrade this will install rest of the module. Or if UI is not working you should try to install with command line with php bin/magento setup:install --base-url=http://127.0.0.1/magento2/ --db-host=localhost --db-name=magento --db-user=magento --db-password=magento --admin-firstname=Magento --admin-lastname=User --admin-email=user@example.com --admin-user=admin --admin-password=admin123 --language=en_US --currency=USD --timezone=America/Chicago --use-rewrites=1
    – Aman Alam
    Jun 6 '16 at 17:10












  • Reference - devdocs.magento.com/guides/v2.0/install-gde/install/cli/…
    – Aman Alam
    Jun 6 '16 at 17:12






  • 2




    is rewrite_module enabled?
    – Nickool
    Jun 6 '16 at 17:14










  • @aman_uni yeah I've installed M2 several times before and used the command line in the past but
    – Raphael at Digital Pianism
    Jun 6 '16 at 17:14














4












4








4


1





So I recently installed Ubuntu 16.04 on an old laptop.



Running PHP 7:



PHP 7.0.4-7ubuntu2.1 (cli) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
with Xdebug v2.4.0, Copyright (c) 2002-2016, by Derick Rethans


I'm trying to install Magento 2.0.7 but my installation is stuck at 65%



enter image description here



I've increased the memory allocated to PHP to 768M as suggested by the official doc but still stuck.



There's nothing in the Magento logs, nothing in the apache error logs.



In the firebug console tab, I can see that there are POST calls every few seconds to /setup/index.php/install/progress where the response is always the same and represents the progress listed in the console log.



There's also a POST call to /setup/index.php/session/prolong from time to time where the response is always:



{"success":false}


I don't usually post that kind of installation questions but to be honest, I'm running out of ideas regarding what it could be.



Let's assume I don't have access to command line and I absolutely want to install via the web setup wizard. I want to know what is causing this issue and how to fix it










share|improve this question















So I recently installed Ubuntu 16.04 on an old laptop.



Running PHP 7:



PHP 7.0.4-7ubuntu2.1 (cli) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
with Xdebug v2.4.0, Copyright (c) 2002-2016, by Derick Rethans


I'm trying to install Magento 2.0.7 but my installation is stuck at 65%



enter image description here



I've increased the memory allocated to PHP to 768M as suggested by the official doc but still stuck.



There's nothing in the Magento logs, nothing in the apache error logs.



In the firebug console tab, I can see that there are POST calls every few seconds to /setup/index.php/install/progress where the response is always the same and represents the progress listed in the console log.



There's also a POST call to /setup/index.php/session/prolong from time to time where the response is always:



{"success":false}


I don't usually post that kind of installation questions but to be honest, I'm running out of ideas regarding what it could be.



Let's assume I don't have access to command line and I absolutely want to install via the web setup wizard. I want to know what is causing this issue and how to fix it







magento2 installation php-7 magento-2.0.7






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 6 '16 at 17:15







Raphael at Digital Pianism

















asked Jun 6 '16 at 17:00









Raphael at Digital PianismRaphael at Digital Pianism

53.3k19111269




53.3k19111269








  • 1




    I am also facing same issue with Ubuntu 14.04 . Magento 2.0.7 for several times ends up 89%.
    – Krishna ijjada
    Jun 6 '16 at 17:06






  • 2




    If its not progress you should stop process and try to run php bin/magento setup:upgrade this will install rest of the module. Or if UI is not working you should try to install with command line with php bin/magento setup:install --base-url=http://127.0.0.1/magento2/ --db-host=localhost --db-name=magento --db-user=magento --db-password=magento --admin-firstname=Magento --admin-lastname=User --admin-email=user@example.com --admin-user=admin --admin-password=admin123 --language=en_US --currency=USD --timezone=America/Chicago --use-rewrites=1
    – Aman Alam
    Jun 6 '16 at 17:10












  • Reference - devdocs.magento.com/guides/v2.0/install-gde/install/cli/…
    – Aman Alam
    Jun 6 '16 at 17:12






  • 2




    is rewrite_module enabled?
    – Nickool
    Jun 6 '16 at 17:14










  • @aman_uni yeah I've installed M2 several times before and used the command line in the past but
    – Raphael at Digital Pianism
    Jun 6 '16 at 17:14














  • 1




    I am also facing same issue with Ubuntu 14.04 . Magento 2.0.7 for several times ends up 89%.
    – Krishna ijjada
    Jun 6 '16 at 17:06






  • 2




    If its not progress you should stop process and try to run php bin/magento setup:upgrade this will install rest of the module. Or if UI is not working you should try to install with command line with php bin/magento setup:install --base-url=http://127.0.0.1/magento2/ --db-host=localhost --db-name=magento --db-user=magento --db-password=magento --admin-firstname=Magento --admin-lastname=User --admin-email=user@example.com --admin-user=admin --admin-password=admin123 --language=en_US --currency=USD --timezone=America/Chicago --use-rewrites=1
    – Aman Alam
    Jun 6 '16 at 17:10












  • Reference - devdocs.magento.com/guides/v2.0/install-gde/install/cli/…
    – Aman Alam
    Jun 6 '16 at 17:12






  • 2




    is rewrite_module enabled?
    – Nickool
    Jun 6 '16 at 17:14










  • @aman_uni yeah I've installed M2 several times before and used the command line in the past but
    – Raphael at Digital Pianism
    Jun 6 '16 at 17:14








1




1




I am also facing same issue with Ubuntu 14.04 . Magento 2.0.7 for several times ends up 89%.
– Krishna ijjada
Jun 6 '16 at 17:06




I am also facing same issue with Ubuntu 14.04 . Magento 2.0.7 for several times ends up 89%.
– Krishna ijjada
Jun 6 '16 at 17:06




2




2




If its not progress you should stop process and try to run php bin/magento setup:upgrade this will install rest of the module. Or if UI is not working you should try to install with command line with php bin/magento setup:install --base-url=http://127.0.0.1/magento2/ --db-host=localhost --db-name=magento --db-user=magento --db-password=magento --admin-firstname=Magento --admin-lastname=User --admin-email=user@example.com --admin-user=admin --admin-password=admin123 --language=en_US --currency=USD --timezone=America/Chicago --use-rewrites=1
– Aman Alam
Jun 6 '16 at 17:10






If its not progress you should stop process and try to run php bin/magento setup:upgrade this will install rest of the module. Or if UI is not working you should try to install with command line with php bin/magento setup:install --base-url=http://127.0.0.1/magento2/ --db-host=localhost --db-name=magento --db-user=magento --db-password=magento --admin-firstname=Magento --admin-lastname=User --admin-email=user@example.com --admin-user=admin --admin-password=admin123 --language=en_US --currency=USD --timezone=America/Chicago --use-rewrites=1
– Aman Alam
Jun 6 '16 at 17:10














Reference - devdocs.magento.com/guides/v2.0/install-gde/install/cli/…
– Aman Alam
Jun 6 '16 at 17:12




Reference - devdocs.magento.com/guides/v2.0/install-gde/install/cli/…
– Aman Alam
Jun 6 '16 at 17:12




2




2




is rewrite_module enabled?
– Nickool
Jun 6 '16 at 17:14




is rewrite_module enabled?
– Nickool
Jun 6 '16 at 17:14












@aman_uni yeah I've installed M2 several times before and used the command line in the past but
– Raphael at Digital Pianism
Jun 6 '16 at 17:14




@aman_uni yeah I've installed M2 several times before and used the command line in the past but
– Raphael at Digital Pianism
Jun 6 '16 at 17:14










1 Answer
1






active

oldest

votes


















10














Thanks to @Nickool, I found out apache mod_rewrite was not enabled.



So I ran:



sudo a2enmod rewrite


Added the following lines to my /etc/apache2/sites-available/my.host.com



    <Directory /var/www/html/m2>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>


Then ran:



sudo service apache2 restart


And now the installation is finishing.



The mod_rewrite requirement is stated here: http://devdocs.magento.com/guides/v2.0/install-gde/system-requirements.html



But not here: http://devdocs.magento.com/guides/v2.0/install-gde/prereq/apache.html



I reckon the doc needs a small update






share|improve this answer





















  • cool! since it happened to me once :)
    – Nickool
    Jun 6 '16 at 18:05










  • @raphael-at-digital-pianism open a PR for the docs then. The documentation team is extremely responsive, and open to receiving assistance from the community. An opportunity that shouldn't be missed! ;).
    – ryanF
    Jun 8 '16 at 6:51











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "479"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f119618%2fmagento-2-installation-stuck-at-65-installing-user-configuration%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









10














Thanks to @Nickool, I found out apache mod_rewrite was not enabled.



So I ran:



sudo a2enmod rewrite


Added the following lines to my /etc/apache2/sites-available/my.host.com



    <Directory /var/www/html/m2>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>


Then ran:



sudo service apache2 restart


And now the installation is finishing.



The mod_rewrite requirement is stated here: http://devdocs.magento.com/guides/v2.0/install-gde/system-requirements.html



But not here: http://devdocs.magento.com/guides/v2.0/install-gde/prereq/apache.html



I reckon the doc needs a small update






share|improve this answer





















  • cool! since it happened to me once :)
    – Nickool
    Jun 6 '16 at 18:05










  • @raphael-at-digital-pianism open a PR for the docs then. The documentation team is extremely responsive, and open to receiving assistance from the community. An opportunity that shouldn't be missed! ;).
    – ryanF
    Jun 8 '16 at 6:51
















10














Thanks to @Nickool, I found out apache mod_rewrite was not enabled.



So I ran:



sudo a2enmod rewrite


Added the following lines to my /etc/apache2/sites-available/my.host.com



    <Directory /var/www/html/m2>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>


Then ran:



sudo service apache2 restart


And now the installation is finishing.



The mod_rewrite requirement is stated here: http://devdocs.magento.com/guides/v2.0/install-gde/system-requirements.html



But not here: http://devdocs.magento.com/guides/v2.0/install-gde/prereq/apache.html



I reckon the doc needs a small update






share|improve this answer





















  • cool! since it happened to me once :)
    – Nickool
    Jun 6 '16 at 18:05










  • @raphael-at-digital-pianism open a PR for the docs then. The documentation team is extremely responsive, and open to receiving assistance from the community. An opportunity that shouldn't be missed! ;).
    – ryanF
    Jun 8 '16 at 6:51














10












10








10






Thanks to @Nickool, I found out apache mod_rewrite was not enabled.



So I ran:



sudo a2enmod rewrite


Added the following lines to my /etc/apache2/sites-available/my.host.com



    <Directory /var/www/html/m2>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>


Then ran:



sudo service apache2 restart


And now the installation is finishing.



The mod_rewrite requirement is stated here: http://devdocs.magento.com/guides/v2.0/install-gde/system-requirements.html



But not here: http://devdocs.magento.com/guides/v2.0/install-gde/prereq/apache.html



I reckon the doc needs a small update






share|improve this answer












Thanks to @Nickool, I found out apache mod_rewrite was not enabled.



So I ran:



sudo a2enmod rewrite


Added the following lines to my /etc/apache2/sites-available/my.host.com



    <Directory /var/www/html/m2>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>


Then ran:



sudo service apache2 restart


And now the installation is finishing.



The mod_rewrite requirement is stated here: http://devdocs.magento.com/guides/v2.0/install-gde/system-requirements.html



But not here: http://devdocs.magento.com/guides/v2.0/install-gde/prereq/apache.html



I reckon the doc needs a small update







share|improve this answer












share|improve this answer



share|improve this answer










answered Jun 6 '16 at 17:28









Raphael at Digital PianismRaphael at Digital Pianism

53.3k19111269




53.3k19111269












  • cool! since it happened to me once :)
    – Nickool
    Jun 6 '16 at 18:05










  • @raphael-at-digital-pianism open a PR for the docs then. The documentation team is extremely responsive, and open to receiving assistance from the community. An opportunity that shouldn't be missed! ;).
    – ryanF
    Jun 8 '16 at 6:51


















  • cool! since it happened to me once :)
    – Nickool
    Jun 6 '16 at 18:05










  • @raphael-at-digital-pianism open a PR for the docs then. The documentation team is extremely responsive, and open to receiving assistance from the community. An opportunity that shouldn't be missed! ;).
    – ryanF
    Jun 8 '16 at 6:51
















cool! since it happened to me once :)
– Nickool
Jun 6 '16 at 18:05




cool! since it happened to me once :)
– Nickool
Jun 6 '16 at 18:05












@raphael-at-digital-pianism open a PR for the docs then. The documentation team is extremely responsive, and open to receiving assistance from the community. An opportunity that shouldn't be missed! ;).
– ryanF
Jun 8 '16 at 6:51




@raphael-at-digital-pianism open a PR for the docs then. The documentation team is extremely responsive, and open to receiving assistance from the community. An opportunity that shouldn't be missed! ;).
– ryanF
Jun 8 '16 at 6:51


















draft saved

draft discarded




















































Thanks for contributing an answer to Magento Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f119618%2fmagento-2-installation-stuck-at-65-installing-user-configuration%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

An IMO inspired problem

Management

Has there ever been an instance of an active nuclear power plant within or near a war zone?