magento 2 extension composer update error - Please update your modules: Run “composer install” from the Magento root directory
-
07-02-2021 - |
문제
My Siteground shared hosting plan does not allow me to use composer (memory limit). How can I fix this issue? is there a way to manually update it without composer? or how can I disable this module? Thanks!
1 exception(s): Exception #0 (Magento\Framework\Exception\LocalizedException): Please update your modules: Run "composer install" from the Magento root directory. The following modules are outdated: Magefan_Community db schema version: defined in codebase - 2.0.2, currently installed - 2.0.3 Magefan_Community db data version: defined in codebase - 2.0.2, currently installed - 2.0.3
========================================================================
mmap() failed: [12] Cannot allocate memory
Fatal error: Out of memory (allocated 844111872) (tried to allocate 20480 bytes) in phar:///usr/local/bin/composer.phar/src/Composer/DependencyResolver/Rule.php on line 76
해결책
Did you ever manage to resolve this? I am having the same issue. We recently signed up to Siteground and are trying to upgrade our website from Magento 2.2.5 to Magento 2.3.
When trying to run Composer Update I have the exact same problem.
I tried running commands such as 'php -d memory_limit=512M /usr/local/bin/composer update' but no luck what so ever.
Any help with this would be so much appreciated!
I had to cloned the magento site to the local computer and run it using xampp, and run those composer commands and upload the changes back to siteground.
다른 팁
Try this:
php -d memory_limit=512M /usr/local/bin/composer update
Let me know if not solved!
제휴하지 않습니다 magento.stackexchange