Cannot login via FTP using FileZilla: 530 Login authentication failed

@villasweb @Epic sorry to hear you have issues with authentication.

530 Login authentication failed error on cyberpanel seems to always be a password database corruption.

Yes you have to reinstall although it should work on ubuntu 20 new installation without any issues.

However, the only way to fix this is reinstall pureftpd or install CyberPanel without ftp.

Run this to remove pure-ftpd software package and reinstall it again just to eliminate any package and conf corruptions:

# create a snapshot of your server
# stop the service
systemctl stop pure-ftpd
# remove package and leftovers
sudo apt-get remove --purge pure-ftpd pure-ftpd-common
sudo apt autoremove
sudo killall -u ftpuser
sudo userdel -f ftpuser
sudo groupdel ftpgroup
sudo apt install pure-ftpd -y
groupadd -g 2001 ftpgroup
useradd -u 2001 -s /bin/false -d /bin/null -c "pureftpd user" -g ftpgroup ftpuser
systemctl start pure-ftpd
mkdir /etc/ssl/private
openssl req -newkey rsa:1024 -new -nodes -x509 -days 3650 -subj "/C=US/ST=Denial/L=Springfield/O=Dis/CN=www.example.com" -keyout /etc/ssl/private/pure-ftpd.pem -out /etc/ssl/private/pure-ftpd.pem
rm -R /etc/pure-ftpd
mkdir /etc/pure-ftpd
cp /usr/local/CyberCP/install/pure-ftpd-one/* /etc/pure-ftpd/
systemctl restart pure-ftpd

If you get an error that Access denied for user ('cyberpanel' @ 'localhost' ... run the following command nano pureftpd-mysql.conf and change the password to correct cyberpanel user password you can find it here /usr/local/CyberCP/CyberCP/settings.py under DATABASES =

OR

sudo service pure-ftpd stop
sudo apt-get autoremove pure-ftpd
sudo apt-get purge pure-ftpd
sudo rm -r /etc/pure-ftpd
sudo killall -u ftpuser
sudo userdel -f ftpuser
sudo groupdel ftpgroup
sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh || wget -O - https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh)

OR

Just install vsftp for a secure ftp if you dont care about managing users on a dashboard

sh <(curl https://raw.githubusercontent.com/josephgodwinkimani/cyberpanel-mods/main/install_vsftpd.sh || wget -O - https://raw.githubusercontent.com/josephgodwinkimani/cyberpanel-mods/main/install_vsftpd.sh)

You will access ftp with user your choose during the installation process and the password you create during the process. This user will access the home directory you choose (note the script will not create the user home directory)

You can create other users by running:

# usercreatedoncyberP managed mydomain.com
sudo usermod -d /home/mydomain.com usercreatedoncyberP
sudo chown usercreatedoncyberP:usercreatedoncyberP /home/mydomain.com/public_html

I use this method on several servers with similar issues in the past and it works. Good luck