Help in regards FTP, SFTP, Backups and Ubuntu version

Hi guys, well as I have mentioned before, I’m not expert, have learned a lot but still behind with this, but I love testing a lot, I’m an overthinking person and always I make a thunderstorm from a glass of water and this is not the exception.

In general I have productions servers and almost always I perform test with other VPS or virtual machines. my issue is this:

I installed 2 virtual machines:

server01: Ubuntu 22.04.5 / users: root and server01 (sudo user)
Hestia 1.9.3 with users: adminHestia01 and luis01
I decided to user ProFTPD and have installed with following:

bash hst-install.sh --lang 'es' --hostname 'server01.localhost.local' --username 'adminHestia01' --email 'XXXXXXXXXXX' --password '123' --multiphp '7.4,8.1,8.2,8.3,8.4' --vsftpd no --proftpd yes --sieve yes --quota yes --webterminal yes

Server02: Ubuntu 24.04.2 / users: root and server02 (sudo user)
Hestia 1.9.3 with users: adminHestia02 and luis02
with ProFTPD and pretty much same previous script.

After install was finished I noticed something:

on server01 using Filezilla I am able to login with FTP on system server01 user and same with Hestia users adminHestia01 and luis01

on server02 with Filezilla I can not use FTP with any user, I have also noticed using sftp://serverIP I can login to Hestia users adminHestia02 and luis02 but not with system user server02

Only difference is Ubuntu version, even this way looks is more secure with 24.04.

Next, I wanted to test remote backups (thinking in the future), so I have done:

on server02 (ubuntu 24.04) I set remote backup as FTP, I used user luis01, info was saved properly and after a backup performed file was sent to remote server01

on server01 (ubuntu 22.04) FTP backup was set with user luis02 info was save with no issues, but once backup was performed file was never sent to server02, but I was done locally, later I changed this to SFTP same user luis02, info was saved with no issue, a new backup was performed but as well file was never sent to remote server02.

If someone can help me with this I wil really appreciated, still testing, few things before doing on productions, in the last year I have reinstalled my production VPS but still using 22.04 on them, and not sure if I will continue working with it to avoid 24.04 until 22.04 supports end and be in the need to move to whatever LTS version be at that time.

Once again thanks in advance and sorry for the big wall of text.

UPDATE: I figured out issue with backup:

on server02 I set as remote folder: /web/respaldo.com/private
on server01 I set as remote folder: web/respaldo.net/private (had remove / before web and it worked).

Still with same issue, still testing and trying to find a solution, at least I test something I didn’t do before. I have install a virtual machine with Ubuntu 24.04 have installed Hestia 1.9.3 with this script:

bash hst-install.sh --port ‘9003’ --lang ‘es’ --hostname ‘server01.localhost.local’ --username ‘adminHestia’ --email ‘XXXXXXXXXXX’ --password ‘123’ --vsftpd no --proftpd yes --sieve yes --quota yes --webterminal yes

with user adminHestia is set by default on nologin and I can’t access FTP, it says server is like not compatible with FTP over TLS, something not happening on Ubuntu 22.04, but I just found that if I disable IPtables, FTP starts working, but have checks files on terminal and GUI and ports are open, I’m a little desesperated to be honest :sob: @eris @sahsanu pls someone help me I have spent a lot of time and surfing web without solution :sob: :sob: :sob:

Hi @luisedofon

Execute these commands and try again:

apt install proftpd-mod-crypto
systemctl restart proftpd
1 Like

Bro, thank you so much from the bottom of my soul, I have days with this, looking on Internet, asking AI, nothing worked, looks this is the one that works, I really appreciated a lot. Will donate again on my next paycheck for all your hard work guys

1 Like

You’re welcome :wink:

If I’ve time, tomorrow, I’ll try to submit a PR to fix this missing dependency on Ubuntu. Debian installs proftpd-basic, which includes proftpd-mod-crypto as a dependency. However, Ubuntu installs proftpd-core, which doesn’t have this dependency, so it must be installed manually.

That’s why, I didn’t know that, and well during dependency install we actually don’t see exact details, actually today I have installed, once again Ubuntu 22.04, Debian 12.9 and Ubuntu 24.04, last one was the only one giving me problems. Thank you much again :mending_heart: . BTW, any suggestion Ubuntu or Debian, I started with Ubuntu because is easier to clean and to get used to for people like me with not much experience, but looks like Debian performs better, use less resources and could be more secure and stable ?

1 Like

I only use Debian on my servers, but this is a personal choice. You should use the distribution you feel most comfortable with. Both are secure and stable.

2 Likes

FYI

1 Like

The 1.9.4 patch will break the update if proftd is installed

1 Like

If proftpd is installed and the package proftpd-mod-crypto is not installed, it just installs this package. Maybe I’m missing something here.

Edit: It’s better if we continue the conversation on GitHub. :wink: