cancel
Showing results for 
Search instead for 
Did you mean: 

Aggiornamento a Magento 2.2.2

Aggiornamento a Magento 2.2.2

Ciao a tutti.

Sto aggiornando Magento 2 all'ultima versione (2.2.2).

 

Dopo aver provato con:

# composer require magento/product-community-edition 2.2.2 --no-update

e:

# composer update

Mi dava come errore:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested package magento/product-community-edition could not be found in any version, there may be a typo in the package name.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

 

Allora ho scaricato l'RC da github ed ho utilizzato il suo composer.json.

Con questo l'update ha inziato a scaricare i paccchetti nuovi.

Poi ho pulito:

# rm -rf var/cache/*
# rm -rf var/page_cache/*
# rm -rf var/generation/*

Ma tentando di lanciare qualche comando da CLI mi da il seguente errore:

 

Zend\ServiceManager\ServiceManager::get was unable to fetch or create an instance for Magento\Setup\Mvc\Bootstrap\InitParamListener#0 /home/pippo/public_html/vendor/zendframework/zend-mvc/src/Application.php(156): Zend\ServiceManager\ServiceManager->get('Magento\\Setup\\M...')
#1 /home/pippo/public_html/vendor/zendframework/zend-mvc/src/Application.php(281): Zend\Mvc\Application->bootstrap(Array)
#2 /home/pippo/public_html/lib/internal/Magento/Framework/Console/Cli.php(57): Zend\Mvc\Application::init(Array)
#3 /home/pippo/public_html/bin/magento(22): Magento\Framework\Console\Cli->__construct('Magento CLI')
#4 {main}