Page 2 of 2

Re: WordPress /FTP

Posted: Tue Apr 07, 2015 1:34 pm
by skurudo
zachska87 wrote:I am having this same issue. Any FTP users created can copy files without issue but cannot create directories. Any idea why this would be? Everything is already owned by admin:admin so the above fix did not work for me. I'm on Ubuntu 14.04
Then your issue not the same.
What's about this error in vsftp logs? Can you show us?

Re: WordPress /FTP

Posted: Mon Apr 13, 2015 6:45 am
by Esmertec
skurudo wrote: Then your issue not the same.
What's about this error in vsftp logs? Can you show us?
Hello everyone! I also use Ubuntu server 14.04 LTS and get the same error, here's the log from vsftp:
vsftp logsShow
Mon Apr 13 10:44:34 2015 [pid 11178] CONNECT: Client "127.0.0.1"
Mon Apr 13 10:44:34 2015 [pid 11177] [administrator] OK LOGIN: Client "127.0.0.1"
Mon Apr 13 10:44:35 2015 [pid 11184] CONNECT: Client "127.0.0.1"
Mon Apr 13 10:44:35 2015 [pid 11183] [administrator] OK LOGIN: Client "127.0.0.1"
Mon Apr 13 10:44:37 2015 [pid 11188] CONNECT: Client "127.0.0.1"
Mon Apr 13 10:44:37 2015 [pid 11187] [administrator] OK LOGIN: Client "127.0.0.1"
Mon Apr 13 10:45:18 2015 [pid 11420] CONNECT: Client "127.0.0.1"
Mon Apr 13 10:45:18 2015 [pid 11418] [admin_crash] OK LOGIN: Client "127.0.0.1"
Mon Apr 13 10:45:18 2015 [pid 11425] CONNECT: Client "127.0.0.1"
Mon Apr 13 10:45:18 2015 [pid 11424] [admin_crash] OK LOGIN: Client "127.0.0.1"
Mon Apr 13 10:45:22 2015 [pid 11430] CONNECT: Client "127.0.0.1"
Mon Apr 13 10:45:22 2015 [pid 11429] [admin_crash] OK LOGIN: Client "127.0.0.1"
Mon Apr 13 11:20:10 2015 [pid 13971] CONNECT: Client "10.59.0.123"
Mon Apr 13 11:20:11 2015 [pid 13969] [anonymous] FAIL LOGIN: Client "10.59.0.123"
Mon Apr 13 11:20:13 2015 [pid 13974] CONNECT: Client "10.59.0.123"
Mon Apr 13 11:20:13 2015 [pid 13977] CONNECT: Client "10.59.0.123"
Mon Apr 13 11:20:14 2015 [pid 13973] [anonymous] FAIL LOGIN: Client "10.59.0.123"
Mon Apr 13 11:20:14 2015 [pid 13976] [anonymous] FAIL LOGIN: Client "10.59.0.123"
Mon Apr 13 11:20:15 2015 [pid 13979] CONNECT: Client "10.59.0.123"
Mon Apr 13 11:20:15 2015 [pid 13978] [administrator] OK LOGIN: Client "10.59.0.123"
Mon Apr 13 11:20:15 2015 [pid 13982] CONNECT: Client "10.59.0.123"
Mon Apr 13 11:20:15 2015 [pid 13981] [administrator] OK LOGIN: Client "10.59.0.123"
Mon Apr 13 11:20:39 2015 [pid 13986] CONNECT: Client "10.59.0.123"
Mon Apr 13 11:20:41 2015 [pid 13984] [anonymous] FAIL LOGIN: Client "10.59.0.123"
Mon Apr 13 11:20:53 2015 [pid 13992] CONNECT: Client "10.59.0.123"
Mon Apr 13 11:20:53 2015 [pid 13991] [admin_crash] OK LOGIN: Client "10.59.0.123"
Mon Apr 13 11:21:02 2015 [pid 13998] CONNECT: Client "10.59.0.123"
Mon Apr 13 11:21:04 2015 [pid 13997] [anonymous] FAIL LOGIN: Client "10.59.0.123"
Mon Apr 13 11:21:05 2015 [pid 14005] CONNECT: Client "10.59.0.123"
Mon Apr 13 11:21:05 2015 [pid 14004] [admin_crash] OK LOGIN: Client "10.59.0.123"
Mon Apr 13 11:21:07 2015 [pid 14009] CONNECT: Client "10.59.0.123"
Mon Apr 13 11:21:09 2015 [pid 14008] [anonymous] FAIL LOGIN: Client "10.59.0.123"
Mon Apr 13 11:21:10 2015 [pid 14013] CONNECT: Client "10.59.0.123"
Mon Apr 13 11:21:10 2015 [pid 14012] [admin_crash] OK LOGIN: Client "10.59.0.123"
Mon Apr 13 11:21:15 2015 [pid 14017] CONNECT: Client "10.59.0.123"
Mon Apr 13 11:21:17 2015 [pid 14016] [anonymous] FAIL LOGIN: Client "10.59.0.123"
Mon Apr 13 11:21:18 2015 [pid 14024] CONNECT: Client "10.59.0.123"
Mon Apr 13 11:21:18 2015 [pid 14023] [admin_crash] OK LOGIN: Client "10.59.0.123"
Mon Apr 13 11:22:59 2015 [pid 14042] CONNECT: Client "127.0.0.1"
Mon Apr 13 11:22:59 2015 [pid 14041] [admin_crash] OK LOGIN: Client "127.0.0.1"
Mon Apr 13 11:22:59 2015 [pid 14048] CONNECT: Client "127.0.0.1"
Mon Apr 13 11:23:00 2015 [pid 14047] [admin_crash] OK LOGIN: Client "127.0.0.1"
Mon Apr 13 11:23:02 2015 [pid 14052] CONNECT: Client "127.0.0.1"
Mon Apr 13 11:23:02 2015 [pid 14051] [admin_crash] OK LOGIN: Client "127.0.0.1"

Re: WordPress /FTP

Posted: Tue Apr 14, 2015 8:32 am
by Lancaster
Who have problem with update, you are must add define('FS_METHOD', 'direct'); in wp-config.php

Sry my English.

Re: WordPress /FTP

Posted: Wed Apr 15, 2015 5:28 am
by skurudo
Esmertec wrote: Hello everyone! I also use Ubuntu server 14.04 LTS and get the same error, here's the log from vsftp:
Check permission and owner first.
http://forum.vestacp.com/viewtopic.php? ... 708#p23724

Re: WordPress /FTP

Posted: Sun Dec 20, 2015 11:57 pm
by warmax356
Got an easy fist. Mount public_html and code:

Code: Select all

chown admin -R *
or after you ssh to the server ( ssh root@(IPADDRESS))

Code: Select all

cd /home/admin/web/domain.tld/public_html/
chown admin -R *
Did this and new themes/plugs all downloaded and installed seamlessly. Did not require me to enter ftp credentials or anything.[/quote]


this did the job for me i was gonna go nuts, sadly i think will have to do this for all other users/sites.

Re: WordPress /FTP

Posted: Fri Mar 17, 2017 5:29 am
by Harsh223
warmax356 wrote:Got an easy fist. Mount public_html and code:

Code: Select all

chown admin -R *
or after you ssh to the server ( ssh root@(IPADDRESS))

Code: Select all

cd /home/admin/web/domain.tld/public_html/
chown admin -R *
Did this and new themes/plugs all downloaded and installed seamlessly. Did not require me to enter ftp credentials or anything.


Thanks!!!!! This did the job for me!!!!!

Re: WordPress /FTP

Posted: Mon Apr 03, 2017 8:45 pm
by Sweely
afl3x wrote:
afl3x wrote:So I have similar issue:

WordPress is set up and everything, but when I try to install theme, it asks for FTP credentials. I enter IP address, user name, and password. Goes to next page, downloads, but when tries to unzip, says that it cannot create directory, like stated above.

Is there a fix for this?
Got an easy fist. Mount public_html and code:

Code: Select all

chown admin -R *
or after you ssh to the server ( ssh root@(IPADDRESS))

Code: Select all

cd /home/admin/web/domain.tld/public_html/
chown admin -R *
Did this and new themes/plugs all downloaded and installed seamlessly. Did not require me to enter ftp credentials or anything.
I had the same problem as OP, with my Wordpress install asking me for FTP credentials after installing VestaCP. I tried just about everything on the web but this is what worked for me. Registered just to say thanks!

Re: WordPress /FTP

Posted: Wed Nov 15, 2017 12:29 pm
by habal
It's works )
cd /home/admin/web/domain.tld/public_html/
chown admin -R *