Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Page 2 of 2
Cannot install the new ver. 0.7.14800 Please help! 
 
Phliplip
Member
 
Total Posts:  46
Joined:  2007-08-31
Copenhagen, Denmark
 

Did not work for me to chown all file/dirs to 1012:80 (myUID:WebserverGID).

Still get the above error have tried both bootstrap-installer and normal, alpha and beta.

Running (installed from FreeBSD ports);
PHP Version 5.2.5
All extensions

 
Magento Community Magento Community
Magento Community
Magento Community
 
siralbert
Jr. Member
 
Total Posts:  11
Joined:  2008-01-08
 

Hi,

My config/setup => See here

I’ve got the same problem. Attempted to install new version 0.7. After following the instructions and changing permissions, the installation fail.
I get the same error message:

Array 

[data] => Array 

[0] => Array 

[0] => Package â€œpear/PEAR-stable” is not valid 
)

[1] => Array 

[0] => Package â€œconnect.magentocommerce.com/core/Mage_Pear_Helpers” is not valid 
)

[2] => Array 

[0] => Package â€œconnect.magentocommerce.com/core/Lib_ZF” is not valid 
)

[3] => Array 

[0] => Package â€œconnect.magentocommerce.com/core/Lib_Varien” is not valid 
)

[4] => Array 

[0] => Package â€œconnect.magentocommerce.com/core/Mage_All” is not valid 
)

[5] => Array 

[0] => Package â€œconnect.magentocommerce.com/core/Interface_Frontend_Default” is not valid 
)

[6] => Array 

[0] => Package â€œconnect.magentocommerce.com/core/Interface_Adminhtml_Default” is not valid 
)

[7] => Array 

[0] => Package â€œconnect.magentocommerce.com/core/Interface_Install_Default” is not valid 
)

)

[headline] => Install Errors 
)

PEAR ERRORinstall failed

Love Magento!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Duro
Jr. Member
 
Total Posts:  1
Joined:  2008-01-07
 

I’m getting this too. I tried changing ownership, and no dice there.  I know PEAR is running on my dev box, I have used it for other packages in the past.

I saw that they were doing maintenance on the Magento PEAR channel earlier today, any possibility that there is still some work to be done there?

 
Magento Community Magento Community
Magento Community
Magento Community
 
siralbert
Jr. Member
 
Total Posts:  11
Joined:  2008-01-08
 

The complete message:

Warningfile_exists() [function.file-exists]open_basedir restriction in effectFile(/usr/local/etc/pear.conf) is not within the allowed path(s): (/home/siralbert:/usr/lib/php:/usr/local/lib/php:/tmpin /home/siralbert/public_html/magento/lib/pear/php/PEAR/Config.php on line 625
[0] in file_exists
("/usr/local/etc/pear.conf"in /home/siralbert/public_html/magento/lib/pear/php/PEAR/Config.php on line 625
[1] in PEAR_Config
->PEAR_Config("/home/siralbert/public_html/magento/lib/pear/pear.ini""", , 1in /home/siralbert/public_html/magento/lib/pear/php/PEAR/Config.php on line 694
[2] in PEAR_Config
->singleton("/home/siralbert/public_html/magento/lib/pear/pear.ini"in /home/siralbert/public_html/magento/lib/Varien/Pear.php on line 78
[3] in Varien_Pear
->getConfig() in /home/siralbert/public_html/magento/lib/Varien/Pear.php on line 47
[4] in Varien_Pear
->__construct() in /home/siralbert/public_html/magento/lib/Varien/Pear.php on line 53
[5] in Varien_Pear
->getInstance() in /home/siralbert/public_html/magento/app/code/core/Mage/Install/controllers/WizardController.php on line 221
[6] in Mage_Install_WizardController
->installAction() in /home/siralbert/public_html/magento/app/code/core/Mage/Core/Controller/Varien/Action.php on line 332
[7] in Mage_Core_Controller_Varien_Action
->dispatch("install"in /home/siralbert/public_html/magento/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php on line 149
[8] in Mage_Core_Controller_Varien_Router_Standard
->match(Mage_Core_Controller_Request_Httpin /home/siralbert/public_html/magento/app/code/core/Mage/Core/Controller/Varien/Front.php on line 166
[9] in Mage_Core_Controller_Varien_Front
->dispatch() in /home/siralbert/public_html/magento/app/Mage.php on line 411
[10] in Mage
::run("base"in /home/siralbert/public_html/magento/index.php on line 29
Setting preferred state to
beta

config
-set succeededsiralbert
Downloading 
and installing Magentoplease wait...

Ignoring installed package pear/PEAR
Ignoring installed package mage
-core/Mage_Pear_Helpers
Ignoring installed package mage
-core/Lib_ZF
Ignoring installed package mage
-core/Lib_Varien
Ignoring installed package mage
-core/Mage_All

PEAR ERROR
Cannot installphp_dir for channel "connect.magentocommerce.com/core" is not writeable by the current user
siralbert - 08 January 2008 12:49 PM

Hi,

My config/setup => See here

I’ve got the same problem. Attempted to install new version 0.7. After following the instructions and changing permissions, the installation fail.
I get the same error message:

Array 

[data] => Array 

[0] => Array 

[0] => Package â€œpear/PEAR-stable” is not valid 
)

[1] => Array 

[0] => Package â€œconnect.magentocommerce.com/core/Mage_Pear_Helpers” is not valid 
)

[2] => Array 

[0] => Package â€œconnect.magentocommerce.com/core/Lib_ZF” is not valid 
)

[3] => Array 

[0] => Package â€œconnect.magentocommerce.com/core/Lib_Varien” is not valid 
)

[4] => Array 

[0] => Package â€œconnect.magentocommerce.com/core/Mage_All” is not valid 
)

[5] => Array 

[0] => Package â€œconnect.magentocommerce.com/core/Interface_Frontend_Default” is not valid 
)

[6] => Array 

[0] => Package â€œconnect.magentocommerce.com/core/Interface_Adminhtml_Default” is not valid 
)

[7] => Array 

[0] => Package â€œconnect.magentocommerce.com/core/Interface_Install_Default” is not valid 
)

)

[headline] => Install Errors 
)

PEAR ERRORinstall failed

Love Magento!
 
Magento Community Magento Community
Magento Community
Magento Community
 
siralbert
Jr. Member
 
Total Posts:  11
Joined:  2008-01-08
 

I also try “Manual Download and Upgrade” via SSH.

And get the following error message:

[siralbert@host-60 magento]$ ./pear mage-setup
Running initial setup
...
config-set succeeded
config
-set succeeded
config
-set succeeded
config
-set succeeded
config
-set succeeded
config
-set succeeded
config
-set succeeded
config
-set succeeded
config
-set succeeded
config
-set succeeded
config
-set succeeded
config
-set succeeded
config
-set succeeded
config
-set succeeded
config
-set succeeded
config
-set succeeded
config
-set succeeded
config
-set succeeded
config
-set succeeded
config
-set succeeded
config
-set succeeded
config
-set succeeded
config
-set succeeded
Adding Channel 
"connect.magentocommerce.com/core" succeeded
Discovery of channel 
"connect.magentocommerce.com/core" succeeded
Adding Channel 
"connect.magentocommerce.com/community" succeeded
Discovery of channel 
"connect.magentocommerce.com/community" succeeded
[siralbert
@host-60 magento]$ ./pear install mage-core/Mage_Pear_Helpers mage-core/Mage_Lib mage-core/Varien_Lib
No releases available 
for package "connect.magentocommerce.com/core/Mage_Lib"
Cannot initialize 'channel://connect.magentocommerce.com/core/Mage_Lib'invalid or missing package file
No releases available 
for package "connect.magentocommerce.com/core/Varien_Lib"
Cannot initialize 'channel://connect.magentocommerce.com/core/Varien_Lib'invalid or missing package file
Did not download optional dependencies
pear/XML_RPC, use --alldeps to download automatically
pear
/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0)
downloading Mage_Pear_Helpers-0.7.0.tgz ...
Starting to download Mage_Pear_Helpers-0.7.0.tgz (9,233 bytes)
.....
done9,233 bytes
downloading PEAR
-1.7.0RC2.tgz ...
Starting to download PEAR-1.7.0RC2.tgz (298,557 bytes)
...
done298,557 bytes
downloading Archive_Tar
-1.3.2.tgz ...
Starting to download Archive_Tar-1.3.2.tgz (17,150 bytes)
...
done17,150 bytes
downloading Structures_Graph
-1.0.2.tgz ...
Starting to download Structures_Graph-1.0.2.tgz (30,947 bytes)
...
done30,947 bytes
downloading Console_Getopt
-1.2.3.tgz ...
Starting to download Console_Getopt-1.2.3.tgz (4,011 bytes)
...
done4,011 bytes
Package 
"channel://connect.magentocommerce.com/core/Mage_Lib" is not valid
Package 
"channel://connect.magentocommerce.com/core/Varien_Lib" is not valid
install ok
channel://pear.php.net/Archive_Tar-1.3.2
install okchannel://pear.php.net/Structures_Graph-1.0.2
install okchannel://pear.php.net/Console_Getopt-1.2.3
install okchannel://pear.php.net/PEAR-1.7.0RC2
install okchannel://connect.magentocommerce.com/core/Mage_Pear_Helpers-0.7.0
PEAROptional feature webinstaller available (PEAR's web-based installer)
PEAR: Optional feature gtkinstaller available (PEAR'
s PHP-GTK-based installer)
PEAROptional feature gtk2installer available (PEAR's PHP-GTK2-based installer)
PEAR: To install optional features use "pear install pear/PEAR#featurename"
[siralbert@host-60 magento]$ ./pear install mage-core/Mage_All
downloading Mage_All-0.7.0.tgz ...
Starting to download Mage_All-0.7.0.tgz (1,890,552 bytes)
...................done: 1,890,552 bytes
downloading Lib_Varien-0.7.0.tgz ...
Starting to download Lib_Varien-0.7.0.tgz (81,143 bytes)
...done: 81,143 bytes
downloading Lib_ZF-0.7.0.tgz ...
Starting to download Lib_ZF-0.7.0.tgz (2,080,168 bytes)
...done: 2,080,168 bytes
install ok: channel://connect.magentocommerce.com/core/Lib_ZF-0.7.0
install ok: channel://connect.magentocommerce.com/core/Lib_Varien-0.7.0
install ok: channel://connect.magentocommerce.com/core/Mage_All-0.7.0
[siralbert@host-60 magento]$ ./pear install mage-core/Interface_Frontend_Default mage-core/Interface_Adminhtml_Default
-bash: ./pear: Permission denied
[siralbert@host-60 magento]$

Best regards,
siralbert

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

@siralbert: please run

chmod +x pear
it was overwritten by Mage_All package and apparently doesn’t have execute attribute in the archive.
 
Magento Community Magento Community
Magento Community
Magento Community
 
siralbert
Jr. Member
 
Total Posts:  11
Joined:  2008-01-08
 

Thanks Moshe.Seem to solve that step! If I continue the installation and log in to the admin interface / system / interface / available remote the page starts with the following lines:

[b]Browse Available Remote Extensions[/b]
Manage Installed Extensions
Warning
file_exists() [function.file-exists]open_basedir restriction in effectFile(/usr/local/etc/pear.conf) is not within the allowed path(s): (/home/siralbert:/usr/lib/php:/usr/local/lib/php:/tmpin /home/siralbert/public_html/magento/lib/pear/php/PEAR/Config.php on line 625
[0] in file_exists
("/usr/local/etc/pear.conf"in /home/siralbert/public_html/magento/lib/pear/php/PEAR/Config.php on line 625
[1] in PEAR_Config
->PEAR_Config("/home/siralbert/public_html/magento/lib/pear/pear.ini""", , 1in /home/siralbert/public_html/magento/lib/pear/php/PEAR/Config.php on line 694
[2] in PEAR_Config
->singleton("/home/siralbert/public_html/magento/lib/pear/pear.ini"in /home/siralbert/public_html/magento/lib/Varien/Pear.php on line 78
[3] in Varien_Pear
->getConfig() in /home/siralbert/public_html/magento/lib/Varien/Pear.php on line 47
[4] in Varien_Pear
->__construct() in /home/siralbert/public_html/magento/lib/Varien/Pear.php on line 53
[5] in Varien_Pear
->getInstance() in /home/siralbert/public_html/magento/app/code/core/Mage/Adminhtml/Model/Extension/Remote/Collection.php on line 8
[6] in Mage_Adminhtml_Model_Extension_Remote_Collection
->_fetchPackages() in /home/siralbert/public_html/magento/app/code/core/Mage/Adminhtml/Model/Extension/Collection/Abstract.php on line 15
[7] in Mage_Adminhtml_Model_Extension_Collection_Abstract
->loadData(, ) in /home/siralbert/public_html/magento/lib/Varien/Data/Collection.php on line 486
[8] in Varien_Data_Collection
->load() in /home/siralbert/public_html/magento/app/code/core/Mage/Adminhtml/Block/Widget/Grid.php on line 355
[9] in Mage_Adminhtml_Block_Widget_Grid
->_prepareCollection() in /home/siralbert/public_html/magento/app/code/core/Mage/Adminhtml/Block/Extensions/Remote/Grid.php on line 43
[10] in Mage_Adminhtml_Block_Extensions_Remote_Grid
->_prepareCollection() in /home/siralbert/public_html/magento/app/code/core/Mage/Adminhtml/Block/Widget/Grid.php on line 429
[11] in Mage_Adminhtml_Block_Widget_Grid
->_prepareGrid() in /home/siralbert/public_html/magento/app/code/core/Mage/Adminhtml/Block/Widget/Grid.php on line 435
[12] in Mage_Adminhtml_Block_Widget_Grid
->_beforeToHtml() in /home/siralbert/public_html/magento/app/code/core/Mage/Core/Block/Template.php on line 181
[13] in Mage_Core_Block_Template
->toHtml() in /home/siralbert/public_html/magento/app/code/core/Mage/Core/Block/Abstract.php on line 437
[14] in Mage_Core_Block_Abstract
->_getChildHtml("grid"1in /home/siralbert/public_html/magento/app/code/core/Mage/Core/Block/Abstract.php on line 415
[15] in Mage_Core_Block_Abstract
->getChildHtml("grid"in /home/siralbert/public_html/magento/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Container.php on line 62
[16] in Mage_Adminhtml_Block_Widget_Grid_Container
->getGridHtml() in /home/siralbert/public_html/magento/app/design/adminhtml/default/default/template/widget/grid/container.phtml on line 30
[17] in 
include("/home/siralbert/public_html/magento/app/design/adminhtml/default/default/template/widget/grid/containe"in /home/siralbert/public_html/magento/app/code/core/Mage/Core/Block/Template.php on line 118
[18] in Mage_Core_Block_Template
->fetchView("adminhtml/default/default/template/widget/grid/container.phtml"in /home/siralbert/public_html/magento/app/code/core/Mage/Core/Block/Template.php on line 144
[19] in Mage_Core_Block_Template
->renderView() in /home/siralbert/public_html/magento/app/code/core/Mage/Core/Block/Template.php on line 189
[20] in Mage_Core_Block_Template
->toHtml() in /home/siralbert/public_html/magento/app/code/core/Mage/Core/Block/Text/List.php on line 36
[21] in Mage_Core_Block_Text_List
->toHtml() in /home/siralbert/public_html/magento/app/code/core/Mage/Core/Block/Abstract.php on line 437
[22] in Mage_Core_Block_Abstract
->_getChildHtml("content"1in /home/siralbert/public_html/magento/app/code/core/Mage/Core/Block/Abstract.php on line 415
[23] in Mage_Core_Block_Abstract
->getChildHtml("content"in /home/siralbert/public_html/magento/app/design/adminhtml/default/default/template/page.phtml on line 131
[24] in 
include("/home/siralbert/public_html/magento/app/design/adminhtml/default/default/template/page.phtml"in /home/siralbert/public_html/magento/app/code/core/Mage/Core/Block/Template.php on line 118
[25] in Mage_Core_Block_Template
->fetchView("adminhtml/default/default/template/page.phtml"in /home/siralbert/public_html/magento/app/code/core/Mage/Core/Block/Template.php on line 144
[26] in Mage_Core_Block_Template
->renderView() in /home/siralbert/public_html/magento/app/code/core/Mage/Core/Block/Template.php on line 189
[27] in Mage_Core_Block_Template
->toHtml() in /home/siralbert/public_html/magento/app/code/core/Mage/Core/Model/Layout.php on line 417
[28] in Mage_Core_Model_Layout
->getOutput() in /home/siralbert/public_html/magento/app/code/core/Mage/Core/Controller/Varien/Action.php on line 30
 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

Standard PEAR installer tries to read system configuration from guessed location which is usually outside of open_basedir, if it is configured.

Until now we were able to embed PEAR installer without changed to default packages, but maybe we’ll need to patch it anyway..

 
Magento Community Magento Community
Magento Community
Magento Community
 
siralbert
Jr. Member
 
Total Posts:  11
Joined:  2008-01-08
 

@Moshe: Ok. Thanks for your time. I’ll put my project on hold then.

Regards,
siralbert

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top
Page 2 of 2