Magento Forum

Using Pear and SSH
 
BlackNightSW
Jr. Member
 
Total Posts:  6
Joined:  2008-12-23
 

Hi,

I would prefer to upgrade / install extensions using the SSH method as I don’t want to set all the permissions to be writeable as per instructions. However, when I run the following command

./pear mage-setup .

I get the following error :

Running initial setup…
Could not open input file: Web
Could not open input file: Web
Could not open input file: Web
Could not open input file: Web
Could not open input file: Web
Could not open input file: Web
Could not open input file: Web
Could not open input file: Web
Could not open input file: Web
Could not open input file: Web
Could not open input file: Web
Could not open input file: Web
Could not open input file: Web
Could not open input file: Web
Could not open input file: Web
Could not open input file: Web
Could not open input file: Web
Could not open input file: Web
Could not open input file: Web
Could not open input file: Web
Could not open input file: Web
Could not open input file: Web
Could not open input file: Web
Could not open input file: Web
Could not open input file: Web

This is running on Mac OS X 10.5.6 with Entropy Release 6 5.2.5 PHP installation. Any pointers on how I can resolve this issue?

 
Magento Community Magento Community
Magento Community
Magento Community
 
BlackNightSW
Jr. Member
 
Total Posts:  6
Joined:  2008-12-23
 

I guess no one has seen this issue before :(

Note that I know Pear is installed and working as when I use Magento Connect with full write permissions everything installs/updates ok. I just really do not want to have full write permissions set up.

Basically, I am going to start a new store with this software and a couple of my customers have requested that I offer hosting. However, having the ability to assist people install extensions, updating their installations using SSH is definitely something I need before I start rolling out a hosting package.

Any hosts out there that may have any ideas of what could be causing the issue? All my servers run on Apple xServes running Mac OS X though the actual server I am planning on using for shared hosting is running Mac OS X 10.5.6.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Sindre|ProperHost
Mentor
 
Avatar
Total Posts:  1158
Joined:  2008-04-24
 

I’ve never seen this issue before. Are you sure PEAR is correctly installed and up to date? What happens if you run ./pear install magento-core/Mage_All_Latest ?

 
Magento Community Magento Community
Magento Community
Magento Community
 
rsskga
Jr. Member
 
Avatar
Total Posts:  30
Joined:  2008-02-15
San Francisco
 

I’ve run into the same problem. Prefixing the normal pear commands with ‘sudo’ works for me.

Then, once the installer runs and your files are owned by root, use (substituting your own user:group of course):
# sudo chown -R user:group *

To have sufficient permissions to continue the command line installation.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Sweet-Apple
Jr. Member
 
Avatar
Total Posts:  9
Joined:  2011-02-12
 

I think you’ll find that this may be because there are <spaces> in the file path to the folder containing the Magento installation.

Typically the boot drive on a Mac will be called “Macintosh HD” and it appears that the <space> in the path is not getting escaped correctly…

Try renaming any folders so that you get a clean <space> free path and you might have some better success?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top