cancel
Showing results for 
Search instead for 
Did you mean: 

Error while installing magento2

SOLVED

Error while installing magento2

I get the below and struck with magento 2 installation.

 

[Progress: 4 / 1206]
Installing database schema:
Schema creation/updates:

In DefinitionAggregator.php line 65:

Cannot process definition to array for type set

 

Please help me to get out of this issue as I checked most of the pages online and no suitable solution found, now i am not sure how to move forward.

installing it on Debian 10 (AWS EC2).

 

Thank you very much.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Error while installing magento2

Hello @sssaisrinu12d1,

 

Please ask your hosting support team to extend your memory limit.

 

Thanks & Regards

View solution in original post

6 REPLIES 6

Re: Error while installing magento2

can someone please help me here with their experience on such issue. thank you very much.

Re: Error while installing magento2

@sssaisrinu12d1 

Please use this link to install Magento 2 :

https://meetanshi.com/blog/install-magento-2/

 

Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.

Re: Error while installing magento2

@Sanjay Jethva 

 

getting below error after running (Note: i have already done swap)

 

php bin/magento sampledata:deploy

 

--------------------------------------------------------------

mmap() failed: [12] Cannot allocate memory

mmap() failed: [12] Cannot allocate memory
PHP Fatal error: Out of memory (allocated 1525166080) (tried to allocate 134217736 bytes) in /home/admin/magento2/project-community-edition/vendor/composer/composer/src/Composer/DependencyResolver/RuleSet.php on line 84

Fatal error: Out of memory (allocated 1525166080) (tried to allocate 134217736 bytes) in /home/admin/magento2/project-community-edition/vendor/composer/composer/src/Composer/DependencyResolver/RuleSet.php on line 84

--------------------------------------------------------------

Re: Error while installing magento2

@sssaisrinu12d1 

Please try this:
php -d memory_limit=-1 bin/magento sampledata:deploy
Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.

Re: Error while installing magento2

@Sanjay Jethvasame error after using the cmd.

Re: Error while installing magento2

Hello @sssaisrinu12d1,

 

Please ask your hosting support team to extend your memory limit.

 

Thanks & Regards