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

Error downloading Shopware 6.5.2.1 via shopware-installer.phar.php #3113

Closed
prbt2016 opened this issue Jun 13, 2023 · 3 comments
Closed

Error downloading Shopware 6.5.2.1 via shopware-installer.phar.php #3113

prbt2016 opened this issue Jun 13, 2023 · 3 comments
Labels

Comments

@prbt2016
Copy link

PHP Version

8.1.20

Shopware Version

6.5.2.1

Expected behaviour

Hello ,

I was in the process of installing Shopware 6.5.2.1 on Centos 7 with PHP 8.1.20, MYSQL 8.0.33.
However I encountered with the following error i.e after running the phar installer i.e :

http://domain.com/shopware-installer.phar.php

Following error is thrown :

Script assets:install returned with error code 255
!!  Warning: Failed to load plugins. Message: An exception occurred in the driver: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
!!  
Script @auto-scripts was called via post-update-cmd

Following is the screenshot of the same :

image

An error log is thrown in root folder i.e :
PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 45056 bytes) in /{{PATH}}/vendor/composer/ClassLoader.php on line 582

I tried increasing memory limits in php.ini , but that doesn't seem to work .

Is there any resolution for the issue ?. Checked on another server with similar configuration . There also I get the same issue.

Actual behaviour

Shopware should download without any hassles.

How to reproduce

  1. Download phar installer.
  2. Execute phar installer via web.
  3. Above error is thrown.
@prbt2016 prbt2016 added the Bug label Jun 13, 2023
@shyim
Copy link
Member

shyim commented Jun 13, 2023

Can you check the memory configured in the PHP CLI? (php -i | grep memory_limit)

@prbt2016
Copy link
Author

Hello @shyim ,

Thanks I checked that memory limit was 64M in PHP CLI . Increased it to 1024M . Works fine now.

You can close this.

Regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants