Magento CE 从 1.9.3.6 升级到 1.9.3.10 总是导致 1.9.3.6

Magento CE upgrade from 1.9.3.6 to 1.9.3.10 always results in the 1.9.3.6

我正在尝试将 magento 从 1.9.3.6 升级到 1.9.3.10,但我总是得到 1.9.3.6 版本。

我正在使用以下命令:

cd ~/public
chmod 750 mage
./mage mage-setup .
./mage config-set preferred_state stable
./mage sync
./mage install https://connect20.magentocommerce.com/community Mage_All_Latest --force
php shell/indexer.php reindexall
rm -rf downloader/.cache/ var/cache/

然后我得到:

nstalling package community/Lib_ZF_Locale 1.12.10.11
Package community/Lib_ZF_Locale 1.12.10.11 installed successfully
Package installed: community/Interface_Adminhtml_Default 1.9.3.6
Package installed: community/Interface_Frontend_Default 1.9.3.6
Package installed: community/Interface_Install_Default 1.9.3.6
Package installed: community/Mage_Downloader 1.9.3.6
Package installed: community/Mage_Centinel 1.9.3.6
Package installed: community/Interface_Frontend_Base_Default 1.9.3.6
Package installed: community/Phoenix_Moneybookers 1.9.3.6
Package installed: community/Mage_Compiler 1.9.3.6
Package installed: community/Magento_Mobile 1.9.3.6
Package installed: community/Lib_Cm 1.9.3.6
Package installed: community/Cm_RedisSession 1.9.3.6
Package installed: community/Interface_Frontend_Rwd_Default 1.9.3.6
Package installed: community/Mage_Core_Adminhtml 1.9.3.6
Package installed: community/Mage_Core_Modules 1.9.3.6
Package installed: community/Lib_Js_Ext 1.9.3.6
Package installed: community/Lib_LinLibertineFont 2.8.14.12
Package installed: community/Lib_Js_TinyMCE 3.5.11.11
Package installed: community/Lib_Varien 1.9.3.6
Package installed: community/Lib_Google_Checkout 1.9.3.6
Package installed: community/Lib_Js_Calendar 1.51.1.12
Package installed: community/Lib_Js_Mage 1.9.3.6
Package installed: community/Lib_Phpseclib 1.9.3.6
Package installed: community/Mage_Locale_en_US 1.9.3.6
Package installed: community/Lib_Mage 1.9.3.6
Package installed: community/Lib_Magento 1.9.3.6
Package installed: community/Lib_Credis 1.9.3.6
Package installed: community/Lib_Pelago 1.9.3.6
Package installed: community/Lib_Unserialize 1.9.3.6
Package installed: community/Lib_IDNA2 1.9.3.6
Package installed: community/Lib_ZF 1.12.10.11
Package installed: community/Lib_Js_Prototype 1.9.3.6
Package installed: community/Lib_ZF_Locale 1.12.10.11

我也尝试从文件升级,我到达这里:[https://magento.com/tech-resources/download][1] 但随后我得到一个错误,安装文件:包文件无效。还有其他人有这个问题吗?如何解决?

嗨,我终于找到了解决方案。 这是正确的顺序:

cd ~/public
chmod 750 mage
./mage config-set preferred_state stable
./mage list-upgrades
./mage upgrade-all --force

更新完成后,我们应该使用这个命令进行数据库升级:

php -f ./index.php

最后还有几个命令应该是 运行:

grep -rZl ‘0660’ . | xargs -0 -l sed -i -e ‘s/0660/0644/g’
grep -rZl ‘0770’ . | xargs -0 -l sed -i -e ‘s/0770/0755/g’
find . -type f -exec chmod 644 {} \; && find . -type d -exec chmod 755 {} \;

通过清理缓存完成它:

rm -rf var/cache