cancel
Showing results for 
Search instead for 
Did you mean: 

Install errors

SOLVED

Re: Install errors

Hello @CCaway

 

you need to edit 

/etc/my.cnf  

file for same

 find max_allowed_packet and increase value for that. and restart your mysql server

max_allowed_packet=524288000 

using 

service mysql restart

 

then try again

 

If it will work then mark as solution.


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: Install errors

 

@Manthan Dave @Sunil Patel

 

Hi Dave changed memory config, chmoded it all to 777 and also tried Sunils idea. but all failed at the same location.

 

As a point of interest I am using the sample data version from the *nix tarball, dont know if that changes anything prior to trying to install it. All the zip files for instance

 

Cheers, Neil   

** Dell Optiplex 9010, Intel Core I5, 16GB Memory, Centos 7.4 **
** PHP 7.1.16, MariaDB 10.1.11 **

Re: Install errors

@CCaway

 

Are you installing with sample data?

 

 


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: Install errors

Hello @CCaway

 

If you facing the issue on the server.

 

Do another way, install Magento on local server or another server.

 

After setup, just copy DB to your error server and just configure env.php file.

 

Hope it will work for you.


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: Install errors


@Sunil Patelwrote:

Hello @CCaway

 

you need to edit 

/etc/my.cnf  

file for same

 find max_allowed_packet and increase value for that. and restart your mysql server

max_allowed_packet=524288000 

using 

service mysql restart

 

then try again

 

If it will work then mark as solution.


this made no difference however, it was already set at 64M

 

on the sample data install, I am just installing the sample data version via setup/index.php

 

Cheers, neil 

** Dell Optiplex 9010, Intel Core I5, 16GB Memory, Centos 7.4 **
** PHP 7.1.16, MariaDB 10.1.11 **

Re: Install errors

Hello,

Please try second option using setup db on another server.

Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: Install errors

Could you just enable php extension mod_version from your server, Might be mod_version is needed for Magento 2.2.* version to install.

If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial

Re: Install errors


@Rakesh Jesadiyawrote:

Could you just enable php extension mod_version from your server, Might be mod_version is needed for Magento 2.2.* version to install.


Mod_version is enabled already

 

 

** Dell Optiplex 9010, Intel Core I5, 16GB Memory, Centos 7.4 **
** PHP 7.1.16, MariaDB 10.1.11 **

Re: Install errors


@Sunil Patelwrote:
Hello,

Please try second option using setup db on another server.

Unfortunatly Sunil I dont have another server available to do this with

 

** Dell Optiplex 9010, Intel Core I5, 16GB Memory, Centos 7.4 **
** PHP 7.1.16, MariaDB 10.1.11 **

Re: Install errors

@CCaway - Looking at the all possibilities , Now only options available is -

First Installed Magento 2 without sample data. it is installed successfully.

 

After that checks it is installed properly or not once its working perfectly , Then installed sample data on it .

 

There is option to install sample data after magento 2 install that would be a helpful to you.

 

Here is the link - how to install sample data after magento 2 install - https://devdocs.magento.com/guides/v2.1/install-gde/install/sample-data-after-magento.html

 

You can also refer this for the same - https://stackoverflow.com/questions/32668486/how-do-i-install-the-sample-data-after-setting-up-magen...

if issue solved,Click Kudos & Accept as Solution