Skip to content
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

Install Quits on install on Magento_Catalog #1350

Closed
Zaylril opened this issue Jun 8, 2015 · 7 comments
Closed

Install Quits on install on Magento_Catalog #1350

Zaylril opened this issue Jun 8, 2015 · 7 comments
Labels
Fixed in 2.3.x The issue has been fixed in 2.3 release line Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed Progress: needs update

Comments

@Zaylril
Copy link

Zaylril commented Jun 8, 2015

Hey,

Whilst installing Magento 2 using the magento setup:install command it gets to installing the Magento_Catalog then on running this SQL command:

INSERT INTO session (session_expires, session_data, session_id) VALUES ('1433773767', 'X3Nlc3Npb25fdmFsaWRhdG9yX2RhdGF8YTo0OntzOjExOiJyZW1vdGVfYWRkciI7czowOiIiO3M6ODoiaHR0cF92aWEiO3M6MDoiIjtzOjIwOiJodHRwX3hfZm9yd2FyZGVkX2ZvciI7czowOiIiO3M6MTU6Imh0dHBfdXNlcl9hZ2VudCI7czowOiIiO31hZG1pbnxhOjA6e31kZWZhdWx0fGE6MDp7fWN1c3RvbWVyX2Jhc2V8YTowOnt9', 'hkksug9ed17flgp3m7kf5e95s1')

It quits out and gives me the error:

[Exception]
Warning: Error while sending QUERY packet. PID=25773 in /vagrant/vendor/magento/zendframework1/library/Zend/Db/Statement/Pdo.php on line
228

Any ideas?

Thanks

@mazhalai
Copy link
Contributor

mazhalai commented Jun 8, 2015

@Zaylril can you please check your mySQL logs? I could be a mySQL configuration issue, specifically setting for max_allowed_packet

@Zaylril
Copy link
Author

Zaylril commented Jun 9, 2015

Just to give a bit more information I'm running a VM on my windows machine and this error occurs when running the install command within the VM itself which is a CentOS machine. When I tailed the mysql log it logs the insert into the "session" table as above and then just says "Quit" and displays the error I put above.

I've also increased the max_allowed_packet to 500M and increased the timeout from 10 to 100 but I still get the same errors. It always quits in exactly the same place.

Anything else I can try?

@mazhalai
Copy link
Contributor

mazhalai commented Jun 9, 2015

Can you please tell us what is your version of Magento, MySQL and PHP?

@jamescowie
Copy link

Magento version: 0.74.0-beta12
MySQL version: 5.6.24-log
PHP version: 5.6.9

@Zaylril
Copy link
Author

Zaylril commented Jun 10, 2015

Ok,

This has now been solved by increasing the wait_timeout, connect_timeout and also delayed_insert_timeout

Thanks

@Zaylril Zaylril closed this as completed Jun 10, 2015
magento-team pushed a commit that referenced this issue Jul 20, 2017
@VladimirZaets
Copy link
Contributor

Hi @Zaylril. Thank you for your report.
The issue has been fixed in #15982 by @slackerzz in 2.3-develop branch
Related commit(s):

The fix will be available with the upcoming 2.3.0 release.

@VladimirZaets VladimirZaets added the Fixed in 2.3.x The issue has been fixed in 2.3 release line label Jun 18, 2018
@magento-engcom-team magento-engcom-team added the Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed label Jun 18, 2018
@slackerzz
Copy link
Member

Hi @VladimirZaets, how could i have fixed this issue by fixing a test?

VitaliyBoyko pushed a commit to VitaliyBoyko/magento2 that referenced this issue Jun 22, 2018
Fix Magento\Sales\Service\V1\ShipmentGetTest::testShipmentGet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed in 2.3.x The issue has been fixed in 2.3 release line Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed Progress: needs update
Projects
None yet
Development

No branches or pull requests

6 participants