我通过ssh升级到Magento 1.7失败了。 有谁知道解决方案?
这是输出:
日Thnx!
root@****:/var/www/vhosts/****.nl/httpdocs# ./mage install http://connect20.magentocommerce.com/community Mage_All_Latest --force
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/imap.ini on line 1 in Unknown on line 0
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/mcrypt.ini on line 1 in Unknown on line 0
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/imap.ini on line 1 in Unknown on line 0
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/mcrypt.ini on line 1 in Unknown on line 0
PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 17158657 bytes) in /var/www/vhosts/****.nl/httpdocs/downloader/lib/Mage/Archive/Abstract.php on line 45
Checking dependencies of packages
Package community/Mage_Core_Adminhtml failed: Detected Mage_Core_Adminhtml conflict of versions: 1.6.0.0-1.6.1.0 and 1.6.1.0-1.7.0.0
Package community/Mage_Core_Modules failed: Detected Mage_Core_Modules conflict of versions: 1.6.0.0-1.6.1.0 and 1.5.0.1-1.6.0.0
Installing package community/Mage_All_Latest 1.6.0.0
Package community/Mage_All_Latest 1.6.0.0 installed successfully
Installing package community/Lib_Varien 1.7.0.0
Package community/Lib_Varien 1.7.0.0 installed successfully
Installing package community/Lib_Google_Checkout 1.5.0.0
Package community/Lib_Google_Checkout 1.5.0.0 installed successfully
Installing package community/Lib_Js_Mage 1.7.0.0
Package community/Lib_Js_Mage 1.7.0.0 installed successfully
Installing package community/Lib_Phpseclib 1.5.0.0
Package community/Lib_Phpseclib 1.5.0.0 installed successfully
Installing package community/Mage_Locale_en_US 1.7.0.0
Package community/Mage_Locale_en_US 1.7.0.0 installed successfully
Installing package community/Lib_Mage 1.7.0.0
Package community/Lib_Mage 1.7.0.0 installed successfully
////////更新/////////
我在php.ini中增加了memory_limit并再次尝试。 现在结果更好,顶部只有一个冲突。
该网站仍然无效。它向我展示了安装向导。 我试着以这种方式下载它。但是,当我继续时,它会将我重定向到相同的下载页面。
我有一个备份。 ;)
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/imap.ini on line 1 in Unknown on line 0
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/mcrypt.ini on line 1 in Unknown on line 0
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/imap.ini on line 1 in Unknown on line 0
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/mcrypt.ini on line 1 in Unknown on line 0
Checking dependencies of packages
Package community/Lib_ZF failed: couldn't connect to host
Package community/Mage_Core_Modules failed: Detected Mage_Core_Modules conflict of versions: 1.6.0.0-1.6.1.0 and 1.5.0.1-1.6.0.0
Installing package community/Mage_All_Latest 1.6.0.0
Package community/Mage_All_Latest 1.6.0.0 installed successfully
Installing package community/Lib_Varien 1.7.0.0
Package community/Lib_Varien 1.7.0.0 installed successfully
Installing package community/Lib_Google_Checkout 1.5.0.0
Package community/Lib_Google_Checkout 1.5.0.0 installed successfully
Installing package community/Lib_Js_Mage 1.7.0.0
Package community/Lib_Js_Mage 1.7.0.0 installed successfully
Installing package community/Lib_Phpseclib 1.5.0.0
Package community/Lib_Phpseclib 1.5.0.0 installed successfully
Installing package community/Mage_Locale_en_US 1.7.0.0
Package community/Mage_Locale_en_US 1.7.0.0 installed successfully
Installing package community/Lib_Mage 1.7.0.0
Package community/Lib_Mage 1.7.0.0 installed successfully
Installing package community/Lib_Js_Prototype 1.7.0.0.3
Package community/Lib_Js_Prototype 1.7.0.0.3 installed successfully
Installing package community/Interface_Adminhtml_Default 1.6.0.0
Package community/Interface_Adminhtml_Default 1.6.0.0 installed successfully
Installing package community/Interface_Frontend_Default 1.6.0.0
Package community/Interface_Frontend_Default 1.6.0.0 installed successfully
Installing package community/Interface_Install_Default 1.6.0.0
Package community/Interface_Install_Default 1.6.0.0 installed successfully
Installing package community/Mage_Downloader 1.6.0.0
Package community/Mage_Downloader 1.6.0.0 installed successfully
Installing package community/Mage_Centinel 1.6.0.0
Package community/Mage_Centinel 1.6.0.0 installed successfully
Installing package community/Interface_Frontend_Base_Default 1.6.0.0
Package community/Interface_Frontend_Base_Default 1.6.0.0 installed successfully
Installing package community/Phoenix_Moneybookers 1.3.0
Package community/Phoenix_Moneybookers 1.3.0 installed successfully
Installing package community/Find_Feed 1.1.0
Package community/Find_Feed 1.1.0 installed successfully
Installing package community/Mage_Compiler 1.6.0.0
Package community/Mage_Compiler 1.6.0.0 installed successfully
Installing package community/Magento_Mobile 1.5.0.0.21.0
Package community/Magento_Mobile 1.5.0.0.21.0 installed successfully
Installing package community/Mage_Core_Adminhtml 1.6.0.0
Package community/Mage_Core_Adminhtml 1.6.0.0 installed successfully
Starting to download Lib_Js_Calendar-1.51.1.tgz ...
...done: 24,627 bytes
Installing package community/Lib_Js_Calendar 1.51.1
Package community/Lib_Js_Calendar 1.51.1 installed successfully
Starting to download Lib_Js_Ext-1.6.0.0.tgz ...
...done: 267,847 bytes
Installing package community/Lib_Js_Ext 1.6.0.0
Package community/Lib_Js_Ext 1.6.0.0 installed successfully
Starting to download Lib_LinLibertineFont-2.8.14.0.tgz ...
...done: 1,430,498 bytes
Installing package community/Lib_LinLibertineFont 2.8.14.0
Package community/Lib_LinLibertineFont 2.8.14.0 installed successfully
Starting to download Lib_Js_TinyMCE-3.3.7.0.tgz ...
...done: 909,906 bytes
Installing package community/Lib_Js_TinyMCE 3.3.7.0
Package community/Lib_Js_TinyMCE 3.3.7.0 installed successfully
Package installed: community/Mage_All_Latest 1.6.0.0
Package installed: community/Lib_Varien 1.7.0.0
Package installed: community/Lib_Google_Checkout 1.5.0.0
Package installed: community/Lib_Js_Mage 1.7.0.0
Package installed: community/Lib_Phpseclib 1.5.0.0
Package installed: community/Mage_Locale_en_US 1.7.0.0
Package installed: community/Lib_Mage 1.7.0.0
Package installed: community/Lib_Js_Prototype 1.7.0.0.3
Package installed: community/Interface_Adminhtml_Default 1.6.0.0
Package installed: community/Interface_Frontend_Default 1.6.0.0
Package installed: community/Interface_Install_Default 1.6.0.0
Package installed: community/Mage_Downloader 1.6.0.0
Package installed: community/Mage_Centinel 1.6.0.0
Package installed: community/Interface_Frontend_Base_Default 1.6.0.0
Package installed: community/Phoenix_Moneybookers 1.3.0
Package installed: community/Find_Feed 1.1.0
Package installed: community/Mage_Compiler 1.6.0.0
Package installed: community/Magento_Mobile 1.5.0.0.21.0
Package installed: community/Mage_Core_Adminhtml 1.6.0.0
Package installed: community/Lib_Js_Calendar 1.51.1
Package installed: community/Lib_Js_Ext 1.6.0.0
Package installed: community/Lib_LinLibertineFont 2.8.14.0
Package installed: community/Lib_Js_TinyMCE 3.3.7.0
答案 0 :(得分:0)
你的php cli php.ini文件可以做些什么来摆脱那些警告并且超过32MB?记忆。
至于手头的问题,为什么不用gui安装一个新的Magento构建超过1.6分贝?它将自行更新,向表中添加列等等。
然后,您可以针对vanilla 1.7安装运行数据库检查,并修补多年来收集的数据库的任何问题。
最后,您可以将模块和主题放回去。
这是一个升级路径,而不是您希望的简单几次点击!只需确保备份所有内容。
答案 1 :(得分:0)
找到解决方案! Mage是一个PHP脚本,由phpcli而不是普通的php运行。 phpcli的memory_limit默认为32MB。所以phpcli处理其他php配置。 (不知道,我与服务器不太相似)
在增加/etc/php5/cli/php.ini中的memory_limit之后升级工作