I’m having trouble connecting to FTP on a cyberpanel installation on DigitalOcean, I’m getting these messages.
Estado: Resolviendo la dirección de ftp.copylatam.com
Estado: Conectando a xxx.xxx.xxx.xxx:21...
Estado: Conexión establecida, esperando el mensaje de bienvenida...
Estado: Inicializando TLS...
Estado: Conexión TLS establecida.
Comando: USER admin_ljchuello
Respuesta: 331 User admin_ljchuello OK. Password required
Comando: PASS ******
Respuesta: 530 Login authentication failed
Error: Error crítico: No se pudo conectar al servidor
Estado: Desconectado del servidor
Estado: Conectando a xxx.xxx.x.xxx:21...
Estado: Conexión establecida, esperando el mensaje de bienvenida...
Estado: Inicializando TLS...
Estado: Conexión TLS establecida.
Comando: USER admin_ljchuello
Respuesta: 331 User admin_ljchuello OK. Password required
Comando: PASS ******
Respuesta: 530 Login authentication failed
Error: Error crítico: No se pudo conectar al servidor
I have tested wordpress installations with no problems. I also have no problems with emails. My only problem is with the FTP.
Seems you are using CloudFlare. You need to use server IP to access bypassing Cloudflare’s protection. I have tested ftp 104.248.1.177 and TLS handshake is fine.
Confirm FTP username and password. Go to https://SERVER_URL:8090/ftp/listFTPAccounts choose domain copylatam.com and from the list click on change password of admin_ljchuello use the Generate feature
Change the password of the ftp user and still the same
I leave the filezilla log
Estado: Desconectado del servidor
Estado: Conectando a 104.248.1.177:21...
Estado: Conexión establecida, esperando el mensaje de bienvenida...
Estado: Inicializando TLS...
Estado: Conexión TLS establecida.
Comando: USER admin_ljchuello
Respuesta: 331 User admin_ljchuello OK. Password required
Comando: PASS ****************
Respuesta: 530 Login authentication failed
Error: Error crítico: No se pudo conectar al servidor
Would it be a waste of your time if I grant you temporary access to my cyberpanel so you can validate this?
I already followed those steps, I changed the password, I tried with a generated one and it didn’t work, I tried with one of my own and it didn’t work either. I find this situation very strange.
This is a CloudFlare issue where you will need to use server ip or create a ftp subdomain and unproxy it. Add a DNS record ftp.copylatam.com and set it to DNS only in cloudflare dashboard
I did the same thing, in cloudflare the proxy is turned off and it only has DNS, when pinging ftp.copylatam.com it returns 104.248.1.177 which is the IP of my server in DigitalOcean (not of cloudflare), so the password error appears to me very strange.
I did an install on Amazon Lightsail and it allows me to connect via FTP with no problem. Will it be some DigitalOcean block or configuration?
It seems strange to me that it tells me that the password is incorrect, when I had already entered the correct one and reset it several times. It’s not a typo, it’s something else.
Hello @ijchuello I appreciate you trying to diagnose your problem. I would recommend you raise the issue with digital ocean personally i have never used CyberP on digital ocean but basically i have made ftp work on digital ocean if you install it using their tutorial.
If they get back to you with a fix kindly share your fix here. Thank you for your feedback.
Is there maybe a command to restart the FTP service or stop it and then start it? I think the problem is that the service is stopped. Is there a way to see this?
root@ubuntu-s-1vcpu-1gb-nyc3-01:~# systemctl status pure-ftpd-mysql
● pure-ftpd-mysql.service
Loaded: loaded (/etc/init.d/pure-ftpd-mysql; generated)
Active: active (running) since Sat 2022-10-29 20:23:51 UTC; 7min ago
Docs: man:systemd-sysv-generator(8)
Tasks: 1 (limit: 1131)
Memory: 2.6M
CGroup: /system.slice/pure-ftpd-mysql.service
└─32592 pure-ftpd (SERVER)
I have realized that it does not allow me to connect with the CyberPanel FTP, but it does with some FTP that comes in the operating system, and this second one shows me the entire directory, that may be the reason for the message that the user is not correct and the password.
Now I have a question, what is the full path of the CyberPanel public_html folder?