Support

Akeeba Backup for Joomla!

#16450 Upload to Remote FTP server fails

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by user61600 on Tuesday, 18 June 2013 07:53 CDT

user61600
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? yes
Have I searched the tickets before posting? yes
Have I read the documentation before posting (which pages?)? yes
Joomla! version: 3.1
PHP version: 5.x
MySQL version: (unknown)
Host: (optional, but it helps us help you)
Akeeba Backup version: latest

EXTREMELY IMPORTANT: Please attach a ZIP file containing your Akeeba Backup log file in order for us to help you with any backup or restoration issue. If the file is over 2Mb, please upload it on your server and post a link to it.

Description of my issue:
Hello,

I am trying to upload my backup to a remote FTP server.
I am doing it through the configuration panel. I have given all the parameters needed but it fails!!!

I have already done some troubleshooting:
- YES my router is configured like it should (port forwarding; ...)
- YES, I can use Filezilla to manually connect to the FTP server through Internet.
- The FTP server (Synology) is configured (I can access locally and from the Internet)
- I have the issue even if I use the external IP address: 94.224.115.214:10021

I have a picture in attachment. If you follow the link, you will see the server is reachable.
In the log from akeeba:
ERROR |130618 10:54:07|Wrong FTP hostname or port (host:port = tsolution.zapto.org:10021)
DEBUG |130618 10:54:07|AEArchiverDirectftp :: FTP connection status: FAIL
DEBUG |130618 12:12:09|Connecting to remote FTP
ERROR |130618 12:12:31|Wrong FTP hostname or port (host:port = tsolution.zapto.org:10021)
DEBUG |130618 12:12:31|AEArchiverDirectftp :: FTP connection status: FAIL


What should I try next?


Regards,


Thierry

nicholas
Akeeba Staff
Manager
Please contact the host of your site and ask them to open connections to 94.224.115.214 over TCP port 10021.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user61600
Hello,

I am the host :-) So, I can open the ports. The ports are already open.

You can try it by yourself: ftp://94.224.115.214:10021/

I am able to connect via Filezilla or a browser. It is just Akeeba that gives me an error.


Regards,


T.

nicholas
Akeeba Staff
Manager
Um, that's why I told you that you need to ask the host of the web site, not the FTP site ;) What is most likely going on is that your web server has an active firewall solution which prevents outbound connections. There's a 99% chance it's based on iptables. In those cases you just need to tell the host of the server where your web site (not yoru FTP site) is hosted on to open outbound connections to a specific IP and port.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user61600
This is becoming interesting.

I installed admintools next to akeebabackup. Is it something I can configure in Admintools to allow outbound connections?

Regards,

T.

nicholas
Akeeba Staff
Manager
You're not reading my replies.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user61600
Believe me, I am reading your answers ;-)

The point is to try to understand the answers :-)

So, this has nothing to make with Admintools. I should contact my host and ask him to open an outbound connection from the website IP to my FTP IP/port.

The IP of my FTP server is dynamic :-( It doesn't change a lot but it does change.

Many thanks for your support,


Regards,

T.

nicholas
Akeeba Staff
Manager
I think this was clear:

What is most likely going on is that your web server has an active firewall solution which prevents outbound connections. There's a 99% chance it's based on iptables. In those cases you just need to tell the host of the server where your web site (not yourFTP site) is hosted on to open outbound connections to a specific IP and port.

Now, if you have a dynamic IP to your FTP server I don't think you'll get this to work, exactly because your web server has an active kernel level firewall solution which prevents outbound connections and needs a specific IP and port to create an exception. You can try buying a static IP address from your ISP (the one your FTP server machine is connected on, not your web site host).

That said, try something simpler: use Dropbox or Box.com. They both sync with your computer. You can then upload the backup archives to your FTP server.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user61600
This is indeed the choice I am gonna make: Box.com.

Case closed!

Many thanks and regards,

T.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!