Magento: Upgrading to version 1.9.1

Magento 1.9.1 was just released and I have tested the upgrade thru Magento Connect but It was not a success. I have a blank screen when I tried to connect into the backend.

So I tested to install Magento from scratch

Then restore the configuration, the modules and the template.

The new version is working as expected on my development system.

I have performed the upgrade on my production environnent.

Note : I recommend you to test on a development system !

Before these steps, I recommend you to disable compilation, cache, enable logging …

I follow these steps:

  1. Backup your modules and configuration
    tar -czvf backup_magento_prod_mod.tgz app/code/local/ app/etc/config.xml app/etc/local.xml app/etc/modules/name.xml
    MyStockPhoto_* app/design/frontend/default/template skin/frontend/default/template media/wysiwyg/ ...
  2. Download Magento 1.9.1 and extract all files into a directory
  3. Change permissions
  4. Move new version into apache/nginx directory
    $ mv /.../www/magento  /.../www/magento.old ; /.../www/magento_new /.../www/magento
  5. Flush cache
    $ echo 'flush_all' | nc localhost 11211

Nicolas Portais
Author Photographer

Ce contenu a été publié dans Non classé, avec comme mot(s)-clé(s) , , . Vous pouvez le mettre en favoris avec ce permalien.

2 Responses to Magento: Upgrading to version 1.9.1

  1. G Dumitru dit :

    Upgrade to version 1.9.1, using Magento Connect. Solution to blank page.
    The bug is: in upgrade operation, a lot of files are writed as folders. Example: the file « renderer.phtml » is included as folder in « appdesignadminhtmldefaultdefaulttemplatebundlesalescreditmemoviewitems ».
    I have also uncomment line « Varien_Profiler::enable(); » in index.php file. I currently use « localhost.com/admin ».

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Captcha (solve the arithmetic equation) * Time limit is exhausted. Please reload CAPTCHA.