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 reinstall on same server, gets stuck at 70% #1560
Comments
Did it fail with an error? The installer pauses at 70% then even longer at 98%. https://alankent.wordpress.com/2015/07/16/the-dreaded-70-and-98-magento-2-install-pauses-quick-note/ - someone said it took them an hour to load. Probably depends on hardware and config settings |
Interesting article. I will try again today and will keep an eye on the progress dots. |
I tried a few times in a browser and the progress dots never changed, it was always two. So I tried installing through the command line and it worked just fine. |
Interesting. If possible, can you work out if there is a different php.ini file being loaded when you use the command line vs when you use the web installer. If so, are there different settings in the two files? I am mainly thinking of memory limits. The underlying code is the same - so curious what is making it behave differently. |
@alankent yes PHP uses different settings when using CLI. To avoid memory limits and execution timeout use the -d flag:
|
Are they the only differences - the command line? Any other php.ini setting differences? Or do you think its just because you set the expiry time longer? The fact that you got it to work one way and fail the other gives me hope we can spot a setting which is causing a problem. Maybe we need to change a php.ini setting for the web installer to work well with sample data. |
It's definitely something to do with the Magento 2 setup app because setting the memory limit and max execution time via the cgi settings still cause the installer to fail. |
I agree with okiii, it is something with the Magento 2 setup via the browser. It seems to crash at that point with no errors being shown. The odd thing is that the first time I installed it on this server it ran fine. I was thinking that it had to do with something being cached somewhere. I was even thinking maybe composer cached something locally from the first install and that reinstalling composer might clear that out somehow. I didn't go that deep into debugging it though since I was able to install via command line. |
I have the same problem, i am running the web install and it just gets stuck at 70%. Do we have a solution yet? |
Amit, did you try the command line install yet? I also had a PHP memory limit error while adding the sample data after the install through command line. I wonder if that is what was causing the web install to fail. |
I am trying the command line install as we speak |
@Schoeny1 @okiii @amitvig22 or anyone else facing this "hung web install" issue...Can you please share more information on the system, configuration and environment?
|
You need in php.ini file check mysql.connect_timeout = -1 |
Please reopen if you still have this issue. |
[Pangolin] Deliver changes after MFTF training feedback - MQE-369: [Data Input] Non Web Api Data Persistence. - MQE-378: Create API metadata for Coupon Code - MQE-309: [Customizability] Update nested API dependency schema and execution - MQE-365: Template Files - MQE-411: Fixed template and coupon meta data files. - MQE-402: Workshop Feedback - MQE-352: Review and Update SampleCest.xml for added functionality - MQE-419: README.MD should not reference the magento-pangolin org - MQE-424: Fix static code issues in MFTF tests and MFTF
I had a successfull install through the web and site was fine. I had to change the URL of the site and ran into some trouble so I decided to do a fresh install again. Here were my steps:
Right at the beginning of the install I see the message saying "Installation incomplete check console log for details." Within a second however the install resumes automatically and gets to 70% at Module 'Magento_Catalog':
Installing data..
And it never completes.
Any ideas?
The text was updated successfully, but these errors were encountered: