Giter VIP home page Giter VIP logo

Comments (2)

BitOne avatar BitOne commented on July 22, 2024

The installation process starts by setting the installed variable to false and then switch it back to installation date at the end of the installation process.

Two problems can occurs:

  • the installed variable is cached with the false value before being changed to a non-false value. In this case, a ฬ€cache:clearwill fix the problem as the value is right in theparameters.ymlfile and thecache:clear` will generate a proper cache with this value
  • an error occurred during the installation process. The installed variable was then non switched to a non-false value. You will then need to restart the installation with the pim:install command (recommended) or change the installed variable manually (not recommanded as it means the installation went wrong and something is surely broken).

In your case, I think you are in the second problem, maybe a memory_limit error broke the installation process ?

Usually it's because the installation failed

from pim-community-dev.

sylvainraye avatar sylvainraye commented on July 22, 2024

The second case was the reason. I expected after an other try of pim:install finished with success although I had this memory_limit error before, the parameter will be set correctly. It was not the case.

In my case, it happened the following scenario:

  1. pim:installmemory limit error appeared
  2. parameters.yml has the variable installed set to false
  3. I raised the memory limit to 1024MB - did not changed the installed variable
  4. cache:clear --env=dev again
  5. the variable installed was still set to false

So yes you are definitely right, running again the pim:install set correctly the value. I was pretty sure to have run pim:install after the error and memory change but I tested the clean scenario and didn't manage to reproduce it.

from pim-community-dev.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.