We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
WordPress /FTP
WordPress /FTP
I've just installed VespaCP on a new CentOS 6.5 minimal install. I created a user and added a domain, on the domain I installed WordPress 3.8.1 and I tried to download/install a plugin. It asked for FTP credentials so I added them. I get this error:
Downloading install package from https://downloads.wordpress.org/plugin/ ... .4.0.3.zip…
Unpacking the package…
Could not create directory.
I tried to connect to FTP using Filezilla using the user FTP account, I can connect and navigate directory but I cannot upload files, change file names, change file permissions or delete files using the user FTP account. I can only download files from the server to my local machine.
If I use SFTP as server root I can modify, upload files just fine.
1. How can I allow WordPress to download and install files without FTP?
2. How can I allow users with FTP accounts to modify, upload files to their directory?
Thanks in advance for your hard work! I love VestaCP!
Downloading install package from https://downloads.wordpress.org/plugin/ ... .4.0.3.zip…
Unpacking the package…
Could not create directory.
I tried to connect to FTP using Filezilla using the user FTP account, I can connect and navigate directory but I cannot upload files, change file names, change file permissions or delete files using the user FTP account. I can only download files from the server to my local machine.
If I use SFTP as server root I can modify, upload files just fine.
1. How can I allow WordPress to download and install files without FTP?
2. How can I allow users with FTP accounts to modify, upload files to their directory?
Thanks in advance for your hard work! I love VestaCP!
Re: WordPress /FTP
Update: I tried to install proFTP hoping that it would fix the user FTP permissions and allow users to create/modify files via FTP.
I followed the instructions outlined in the documentation and proFTP fails to start.
Starting proftpd: [FAILED]
I can yum remove proFTP and re-install vsftp, however I have the same issue with users not being able to create/modify files.
I followed the instructions outlined in the documentation and proFTP fails to start.
Starting proftpd: [FAILED]
I can yum remove proFTP and re-install vsftp, however I have the same issue with users not being able to create/modify files.
Re: WordPress /FTP
Code: Select all
yum install proftpd
yum remove vsftpd
chkconfig proftpd on
wget http://c.vestacp.com/0.9.8/rhel/proftpd.conf -O /etc/proftpd/proftpd.conf
sed -i "s/vsftpd/proftpd/" /usr/local/vesta/conf/vesta.conf
service proftpd restart
Re: WordPress /FTP
Got this error after restarting :demian wrote:Code: Select all
yum install proftpd yum remove vsftpd chkconfig proftpd on wget http://c.vestacp.com/0.9.8/rhel/proftpd.conf -O /etc/proftpd/proftpd.conf sed -i "s/vsftpd/proftpd/" /usr/local/vesta/conf/vesta.conf service proftpd restart
Code: Select all
Starting ftp server: proftpdtx proftpd[31736]: Fatal: unknown configuration directive 'VRootEngine' on line 5 of '/etc/proftpd/proftpd.conf
Re: WordPress /FTP
Ok, after many tries of installing CentOS 6.5, I've found out the best way to do things.
1. Install CentOS 6.5 - choose basic server install.
2. After successful install ssh root to the server and add additional IPs to the network configuration.
3. Install Vestacp, following documentation.
4. After successful Vestacp install, login as admin to Cpanel.
5. Delete all packages EXCEPT default.
6. Reboot server.
7. Login to Vestacp - Goto services tab and confirm all services are up and running at least 5 minutes. If a service stops trouble shoot that service.
8. Add your child ns domain following the private domain name server instructions in the documentation.
9. Add a user.
10. Login to the user account and add a domain. Be sure to check "additional FTP" and create login credentials, otherwise you won't be able to upload/modify files in that account.
Thats it. Everything should work fine from here on.
1. Install CentOS 6.5 - choose basic server install.
2. After successful install ssh root to the server and add additional IPs to the network configuration.
3. Install Vestacp, following documentation.
4. After successful Vestacp install, login as admin to Cpanel.
5. Delete all packages EXCEPT default.
6. Reboot server.
7. Login to Vestacp - Goto services tab and confirm all services are up and running at least 5 minutes. If a service stops trouble shoot that service.
8. Add your child ns domain following the private domain name server instructions in the documentation.
9. Add a user.
10. Login to the user account and add a domain. Be sure to check "additional FTP" and create login credentials, otherwise you won't be able to upload/modify files in that account.
Thats it. Everything should work fine from here on.
Re: WordPress /FTP
I couldn't restart proftp after following the steps. Then I edited the host (based on this guide https://www.digitalocean.com/community/ ... n-centos-6) and it started ok.
Re: WordPress /FTP
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?
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?
Re: WordPress /FTP
Got an easy fist. Mount public_html and code: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?
Code: Select all
chown admin -R *
Code: Select all
cd /home/admin/web/domain.tld/public_html/
chown admin -R *
Re: WordPress /FTP
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