Привет!
Есть Magento Community Edition 1.9.0.1.
Как обновить до Magento Community Edition 1.9.1.1?
Спасибо!
Solved! Go to Solution.
Я наконец то сделал это!!! Обновил Magento Community Edition 1.9.0.1 до 1.9.1.1.
Как я это сделал:
После обновления ввожу команду в папке docs через SSH: find . -type f -exec chmod 644 {} \;
Через FTP удаляю файл maintenance.flag в папке docs;
В папке docs в файле .htaccess удалил строки:
## TRACE and TRACK HTTP methods disabled to prevent XSS attacks
RewriteCond %{REQUEST_METHOD} ^TRAC[EK]
RewriteRule .* - [L,R=405]
System ->Magento-Connect ->Magento-Connect Manager
[Check for Upgrades] -> смотрим все что пожелтело
Через Magento-Connect сразу обновиться с 1.9.0.1 до 1.9.1.1 не получилось.
Ошибка 500
Возникла ошибка при обработке запроса
Нужно обновляться постпенно с 1.9.0.1 до 1.9.1.0, а потом с 1.9.1.0 до 1.9.1.1?
Компиляцию и кэш не выключал перед обновлением.
Вот нашел видео http://www.youtube.com/watch?v=LFU19mmHXYk
http://www.youtube.com/watch?v=3F-hmr_Nmes
Что-то пока не получается обновиться.
CONNECT ERROR: Failed to create directory /home/xxx/xxx/docs/downloader/.cache/community/Mage_Core_Modules-1.9.1.1/app/code/core/Mage/Downloadable/Block/
Cannot write to file /home/xxx/xxx/docs/downloader/.cache/community/Lib_Js_TinyMCE-3.5.11.0.tgz
Cannot write to file /home/xxx/xxx/docs/downloader/.cache/community/Lib_Varien-1.9.1.1.tgz
Cannot write to file /home/xxx/xxx/docs/downloader/.cache/community/Lib_Google_Checkout-1.9.1.1.tgz
Cannot write to file /home/xxx/xxx/docs/downloader/.cache/community/Lib_Js_Mage-1.9.1.1.tgz
Cannot write to file /home/xxx/xxx/docs/downloader/.cache/community/Mage_Locale_en_US-1.9.1.1.tgz
Cannot write to file /home/xxx/xxx/docs/downloader/.cache/community/Lib_Mage-1.9.1.1.tgz
Cannot write to file /home/xxx/xxx/docs/downloader/.cache/community/Lib_Magento-1.9.1.1.tgz
Cannot write to file /home/xxx/xxx/docs/downloader/.cache/community/Lib_Pelago-1.9.1.0.tgz
Failed to create directory /home/gxxx/xxx/docs/downloader/.cache/community/Lib_ZF-1.12.7.0/lib/Zend/Crypt/Rsa/Key
Cannot write to file /home/xxx/xxxdocs/downloader/.cache/community/Lib_ZF_Locale-1.12.7.0.tgz
Как решить эту проблему?
Перед обновлением делаю права на папки:
Отключаю кэш и компиляцию.
Обновляю Mage_All_Latest через Magento-Connect.
CONNECT ERROR: Failed to create directory /home/xxx/xxx/docs/downloader/.cache/community/Mage_Core_Modules-1.9.1.1/app/code/core/Mage/Api/Model/Acl/
Failed to create directory /home/xxx/xxx/docs/downloader/.cache/community/Lib_ZF-1.12.7.0/lib/Zend/Loader/Autoloader/
Failed to open file /home/xxx/xxx/docs/downloader/.cache/community/Lib_ZF_Locale-1.12.7.0/lib/Zend/Locale/Data/de_DE.xml
Команды
find . -type f -exec chmod 777 {} \;
find . -type d -exec chmod 777 {} \;
не помогают
Я так понял, что при обновлении Magento желательно поставить дефолтную тему. Возможно это повысит шансы на успешное обновление.
Ещё такой момент, что во время обновления не желательно, чтобы пользователи заходили на сайт, это вроде бы может помешать успешному обновлению.
Как отключить сайт в Magento кто-нибудь знает? Пробовал выключать сайт на хостинге, но тогда вообще не обновляется через Magento-Connect.
Выдаёт сообщение:
Checking dependencies of packages
Package community/Magento_Mobile failed: Package release 'Magento_Mobile' not found on server
Starting to download Mage_All_Latest-1.9.1.1.tgz ...
...done: 934 bytes
Installing package community/Mage_All_Latest 1.9.1.1
Package community/Mage_All_Latest 1.9.1.1 installed successfully
Starting to download Interface_Adminhtml_Default-1.9.1.1.tgz ...
...done: 1,013,014 bytes
Installing package community/Interface_Adminhtml_Default 1.9.1.1
Package community/Interface_Adminhtml_Default 1.9.1.1 installed successfully
Starting to download Interface_Frontend_Default-1.9.1.1.tgz ...
...done: 747,750 bytes
Installing package community/Interface_Frontend_Default 1.9.1.1
Package community/Interface_Frontend_Default 1.9.1.1 installed successfully
Starting to download Interface_Install_Default-1.9.1.1.tgz ...
...done: 108,374 bytes
Installing package community/Interface_Install_Default 1.9.1.1
Package community/Interface_Install_Default 1.9.1.1 installed successfully
Starting to download Mage_Downloader-1.9.1.1.tgz ...
...done: 283,567 bytes
Installing package community/Mage_Downloader 1.9.1.1
Package community/Mage_Downloader 1.9.1.1 installed successfully
Starting to download Mage_Centinel-1.9.1.1.tgz ...
...done: 38,441 bytes
Installing package community/Mage_Centinel 1.9.1.1
Package community/Mage_Centinel 1.9.1.1 installed successfully
Starting to download Interface_Frontend_Base_Default-1.9.1.1.tgz ...
...done: 400,288 bytes
Installing package community/Interface_Frontend_Base_Default 1.9.1.1
Package community/Interface_Frontend_Base_Default 1.9.1.1 installed successfully
Already installed: community/Phoenix_Moneybookers 1.3.2.1, skipping
Starting to download Mage_Compiler-1.9.1.1.tgz ...
...done: 10,244 bytes
Installing package community/Mage_Compiler 1.9.1.1
Package community/Mage_Compiler 1.9.1.1 installed successfully
Already installed: community/Lib_Cm 1.8.0.0, skipping
Already installed: community/Cm_RedisSession 1.8.0.0, skipping
Starting to download Interface_Frontend_Rwd_Default-1.9.1.1.tgz ...
...done: 735,340 bytes
Installing package community/Interface_Frontend_Rwd_Default 1.9.1.1
Package community/Interface_Frontend_Rwd_Default 1.9.1.1 installed successfully
Starting to download Mage_Core_Adminhtml-1.9.1.1.tgz ...
...done: 530,376 bytes
Installing package community/Mage_Core_Adminhtml 1.9.1.1
Package community/Mage_Core_Adminhtml 1.9.1.1 installed successfully
Starting to download Mage_Core_Modules-1.9.1.1.tgz ...
...done: 3,218,675 bytes
Installing package community/Mage_Core_Modules 1.9.1.1
Package community/Mage_Core_Modules 1.9.1.1 installed successfully
Already installed: community/Lib_Js_Ext 1.7.0.0, skipping
Already installed: community/Lib_LinLibertineFont 2.8.14.1, skipping
Starting to download Lib_Js_TinyMCE-3.5.11.0.tgz ...
...done: 1,188,584 bytes
Installing package community/Lib_Js_TinyMCE 3.5.11.0
Package community/Lib_Js_TinyMCE 3.5.11.0 installed successfully
Starting to download Lib_Varien-1.9.1.1.tgz ...
...done: 156,152 bytes
Installing package community/Lib_Varien 1.9.1.1
Package community/Lib_Varien 1.9.1.1 installed successfully
Starting to download Lib_Google_Checkout-1.9.1.1.tgz ...
...done: 467 bytes
Installing package community/Lib_Google_Checkout 1.9.1.1
Package community/Lib_Google_Checkout 1.9.1.1 installed successfully
Already installed: community/Lib_Js_Calendar 1.51.1.1, skipping
Starting to download Lib_Js_Mage-1.9.1.1.tgz ...
...done: 293,030 bytes
Installing package community/Lib_Js_Mage 1.9.1.1
Package community/Lib_Js_Mage 1.9.1.1 installed successfully
Already installed: community/Lib_Phpseclib 1.5.0.0, skipping
Starting to download Mage_Locale_en_US-1.9.1.1.tgz ...
...done: 101,022 bytes
Installing package community/Mage_Locale_en_US 1.9.1.1
Package community/Mage_Locale_en_US 1.9.1.1 installed successfully
Starting to download Lib_Mage-1.9.1.1.tgz ...
...done: 78,743 bytes
Installing package community/Lib_Mage 1.9.1.1
Package community/Lib_Mage 1.9.1.1 installed successfully
Starting to download Lib_Magento-1.9.1.1.tgz ...
...done: 12,072 bytes
Installing package community/Lib_Magento 1.9.1.1
Package community/Lib_Magento 1.9.1.1 installed successfully
Already installed: community/Lib_Credis 1.8.0.0, skipping
Starting to download Lib_Pelago-1.9.1.0.tgz ...
...done: 7,763 bytes
Installing package community/Lib_Pelago 1.9.1.0
Package community/Lib_Pelago 1.9.1.0 installed successfully
Starting to download Lib_ZF-1.12.7.0.tgz ...
...done: 4,847,217 bytes
Installing package community/Lib_ZF 1.12.7.0
Package community/Lib_ZF 1.12.7.0 installed successfully
Already installed: community/Lib_Js_Prototype 1.7.0.0.5, skipping
Starting to download Lib_ZF_Locale-1.12.7.0.tgz ...
...done: 3,396,399 bytes
Installing package community/Lib_ZF_Locale 1.12.7.0
Package community/Lib_ZF_Locale 1.12.7.0 installed successfully
Package upgraded:
community Mage_All_Latest 1.9.1.1
community Interface_Adminhtml_Default 1.9.1.1
community Interface_Frontend_Default 1.9.1.1
community Interface_Install_Default 1.9.1.1
community Mage_Downloader 1.9.1.1
community Mage_Centinel 1.9.1.1
community Interface_Frontend_Base_Default 1.9.1.1
community Mage_Compiler 1.9.1.1
community Interface_Frontend_Rwd_Default 1.9.1.1
community Mage_Core_Adminhtml 1.9.1.1
community Mage_Core_Modules 1.9.1.1
community Lib_Js_TinyMCE 3.5.11.0
community Lib_Varien 1.9.1.1
community Lib_Google_Checkout 1.9.1.1
community Lib_Js_Mage 1.9.1.1
community Mage_Locale_en_US 1.9.1.1
community Lib_Mage 1.9.1.1
community Lib_Magento 1.9.1.1
community Lib_Pelago 1.9.1.0
community Lib_ZF 1.12.7.0
community Lib_ZF_Locale 1.12.7.0
Cleaning cache
Exception during cache and session cleaning
Что делать?
Ставлю дефолтную тему перед обновлением.
После обновления ввожу команды в папке docs через SSH:
find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
Удаляю файл maintenance.flag в папке docs через FTP.