Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Jan 01, 2011 3:01 pm 
Offline
Newbie

Joined: Sat Jan 01, 2011 2:53 pm
Posts: 4
I just installed my first Wordpress site on Linode, and am having trouble using the Automatic Upgrade feature. When it asks for my FTP credentials, I use my node's IP address as the host, and my root username and password. I still get the error "Failed to connect to FTP Server 192.xxx". I've tried selecting both the FTP and FTPS options, and I get the same thing for both.

Does anybody know what I'm doing wrong?


Top
   
 Post subject:
PostPosted: Sat Jan 01, 2011 4:10 pm 
Offline
Senior Newbie

Joined: Sat May 29, 2010 2:48 pm
Posts: 5
Location: Cambs, UK
Unless you have installed an FTP server you will not be able to use this upgrade method.

Personally I did install pure-ftp.. some will advise against that for security reasons..


Top
   
 Post subject:
PostPosted: Sat Jan 01, 2011 5:50 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
What I do is log in via ssh, chown the wordpress files to whatever user the web server is running under, run the update, then chown them back.

No need for a ftp server that way.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject:
PostPosted: Sat Jan 01, 2011 9:36 pm 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
Wordpress's automatic upgrade thing fails if the files aren't writeable by PHP, and it gives the "FTP Denied" message as a result - go figure.

chown the files to the correct user and the auto upgrade thing will work.

-Chris


Top
   
 Post subject:
PostPosted: Sun Jan 02, 2011 8:21 am 
Offline
Senior Newbie

Joined: Wed Jun 16, 2010 4:55 pm
Posts: 10
Can't CURL (php5-curl) do that for you? At least it's OK for me


Top
   
 Post subject:
PostPosted: Sun Jan 02, 2011 8:33 am 
Offline
Senior Newbie

Joined: Sat May 29, 2010 2:48 pm
Posts: 5
Location: Cambs, UK
caker wrote:
Wordpress's automatic upgrade thing fails if the files aren't writeable by PHP, and it gives the "FTP Denied" message as a result - go figure.

chown the files to the correct user and the auto upgrade thing will work.

-Chris


Something new every day, thanks for that!

Amar wrote:
Can't CURL (php5-curl) do that for you? At least it's OK for me


Care to elaborate please?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group