I can telnet my server on port 21, and it responds fine as OPEN. Also, I would have thought then I would get a different error. I am provisioning a VM on GCP and installing it on there to see if the issue persists. Will allow port 21 via the firewall.
Dec 7 20:48:01 localhost CRON[188058]: (root) CMD (if ! find /home/*/public_html/ -maxdepth 2 -type f -newer /usr/local/lsws/cgid -name ‘.htaccess’ -exec false {} +; then systemctl restart lsws; fi)
Dec 7 20:49:27 localhost pdns_server[40143]: Not validating response for security status update, this is a non-release version
Dec 7 20:50:28 localhost pure-ftpd: (?@149.28.48.43.vultrusercontent.com) [INFO] New connection from 149.28.48.43.vultrusercontent.com
Dec 7 20:50:29 localhost pure-ftpd: (?@149.28.48.43.vultrusercontent.com) [INFO] TLS: Enabled TLSv1.3 with TLS_AES_256_GCM_SHA384, 256 secret bits cipher
Dec 7 20:50:33 localhost pure-ftpd: (?@149.28.48.43.vultrusercontent.com) [WARNING] Authentication failed for user [someuser_ftp]
This implies it is just an auth issue but I’m not convinced it is from me. I’ve tried multiple accounts, copying and pasting the username/password etc. For some reason, I feel like the UI username/pass doesn’t match what is stored. Is there a way I can view the ACTUAL db to see the stored content isn’t corrupted.
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 =
Tried that but I now get the following when trying to restart ftpd. Logs indicate:
/usr/sbin/pure-ftpd-wrapper: Couldn’t examine directory /etc/pure-ftpd/conf: No such file or directory
➜ ~ ls -la /etc/pure-ftpd/
total 32
drwxr-xr-x 2 root root 4096 Dec 7 23:00 .
drwxr-xr-x 126 root root 12288 Dec 7 23:00 …
-rw-r–r-- 1 root root 1092 Dec 7 23:01 pure-ftpd.conf
-rw-r–r-- 1 root root 2009 Dec 7 23:01 pureftpd-ldap.conf
-rw-r–r-- 1 root root 375 Dec 7 23:01 pureftpd-mysql.conf
-rw-r–r-- 1 root root 2966 Dec 7 23:01 pureftpd-pgsql.conf
Fixed by not deleting the ftpd dir but just overwriting the files from CP. However, still no luck even with a new user and pass, only difference I see in FileZilla is: Status: Insecure server, it does not support FTP over TLS.
Only other thing I can think of is that I haven’t updated the DNS for the “website” yet. Does that matter?. It shouldn’t do?. I am connecting Host via FileZilla directly via the IP and not the domain name anyway.
Or possibly because I am using Ubuntu 22. The install only says up to Ubuntu 20. Ya looks like Ubuntu 22 is not support as Stable release yet. CyberPanel support for Ubuntu 22
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 =
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)
I tried to install vsftp but Forklift refuse the connection with ftpuser. I just don’t understand what you mean by “and the password you create during the process” … what process exactly?
You are talking about pureftpd I was talking about vsftpd. The script remove pureftpd completely and then installs vsftpd for you to use as you wish off cyberpanel