NextCloud does not connect to SFTP or FTP


I have a server powered by CloudLinux and LiteSpeed.

I have been using SFTP for about a year but after moving to v12 (currently I am on 12.3) the SFTP did not work any more and it turned to red in the admin section.

Your help is really appreciated

Here are the related errors from the NextCloud Log:

Cannot connect to Error 111. Connection refused at /home/user/public_html/nextcloud/3rdparty/phpseclib/phpseclib/phpseclib/Net/SSH2.php#101

1 Error while running background job (OCP\Files\StorageNotAvailableException): Storage with mount id 1 is not available

Do you have a sftp-server running yourself that you could run in debug mode? This way you can perhaps catch the error why the connection is refused. It looks like the server refused the connection.

Thank you for your reply,

No, I am using Hetzner’s FileBox service which is a ready to use service.

And by the way, it was working before migrating to v12 !!

sorry for a stupid question, but is really the box to connect to on port 22? or is it just a dummy variable? just checking superficially i could find no dns-record for it.

Thank you for the reply,

Yes, this is a dummy URL and this is just for demonstration.