Magento Expert Forum - Improve your Magento experience

Results 1 to 3 of 3

Upgrade to 2.2.8

  1. #1
    New member
    Join Date
    May 2015
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Upgrade to 2.2.8

    I am currently using magento CE 2.2.6. I upgraded my magento by downloading 2.2.8 from magento website and extract and overwrite the existing file. I then run setup:upgrade, static-content:deploy, reindex then clear cache. Everything works fine and I have successfully upgraded to 2.2.8. However when I try to run composer update, I get an error with memory limit. I have 2G of memomy limit and the composer update works fine before the upgrade. Can anyone help me?

    View more threads in the same category:


  2. #2
    Junior Member
    Join Date
    Aug 2018
    Location
    Indore,India
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    you can do following things.

    1) Can you try to increase memory of Server?
    2) put website is in production mode and check again
    3) you should upgrade into 2.3 latest version, It is more stable.
    4) you can contact with me.

    Thanks
    Vishal

  3. #3
    New member
    Join Date
    May 2015
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you Vishal,

    I will take a look at the 2.3.1 later. Now I need to update to 2.2.8 as it is the most secure version.

    1) I increased the memory_limit to 4096M (I can confirm this using SSH)
    2) My website is in production mode already

    Is there a way to debug composer.json? I mean to see what the errors are?

    This is from my SSH:

    Loading composer repositories with package information
    Updating dependencies (including require-dev)

    mmap() failed: [12] Cannot allocate memory

    mmap() failed: [12] Cannot allocate memory

    Fatal error: Out of memory (allocated 1945116672) (tried to allocate 4096 bytes) in phar:///usr/local/bin/composer.phar/src/Composer/DependencyResolver/Solver.php on line 220

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •