Suddenly having an issue with FTP via RWC9.2 following a server change (same host). Using FTPS as previously, a connection is established but fails a few files in, or perhaps straight away for a different site. I can export the site and manually transfer using an FTP client (Cyberduck) with no problem using the same FTPS protocol and settings. My host support guys are baffled. I have tried every variant available in the RW publishing window to no avail. Any thoughts?
Oh no, sorry to hear youâre having issues. Iâm sure weâll be able to get to the bottom of it.
First off, can you run through this Help doc on fixing Publishing issues â Let us know how you get on.
Iâve also ccâd in @dang to help with this, as heâs our resident server/publishing expert
Hi Dan. Thanks for the response. I have read through the help doc and deleted the original setup and created a new one as advised, but this still fails. Connection is achieved and I can browse to the destination folder, and with this particular site around 16 files are uploaded before it fails (it always stops on a web font). Other sites fail immediately or after a few files. I have of course tried with fewer or even one connection, in Passive mode etc, but nothing works. All a bit odd, and these are sites that have been fine for years uploading to my previous server, also at Krystal hosting.
I am running RWC9.2 on Sonoma 14.6.1, the project in question is small (18Mb) and simple, using Multithemes Lode theme. There is a very small Easy CMS area and Admin page. The failure panel says "Unable to upload file, the server may be out of disk space.â, which it definitely isnât.
When setting up the new publishing panel it reported that it could not automatically detect the server settings.
Somebody at Weavers Space mentioned the port number for FTPS, but presumably this is automatically set within RW?
@dan Thereâs not really much I can help with regarding FTPS. Web hosting providers are updating their server environments and something is causing FTPS publishing to fail in RapidWeaver. I believe RapidWeaverâs publishing engine needs to be updated.
FTP still works, however itâs insecure so we advise against using it.
SFTP works (at least password based SFTP). SSH key based authentication sort of works if users are using the older RSA SHA-1 hash algorithm, but thatâs:
being quickly deprecated across operating systems and SSH clients because of various security vulnerabilities, with many of these technologies now outright denying the use of this algorithm
I donât think RW accepts ed25519 keys either, so RWâs publishing engine needs updating in this regard too. I believe thereâs a bug report in for it.
@androo You mentioned youâre hosting with Krystal Hosting, please try following their guide here to enable SSH/SFTP Connecting to your site using SSH / SFTP - Krystal Hosting Knowledge Base
Once you do that, please try connecting via SFTP (not FTPS) in RapidWeaver. Regarding the port number, you add it to the end of the server field in RapidWeaverâs publishing settings like so:
123.456.78.910:30954
Let us know how you get on.
@androo Just a follow-up, if that KB I linked to in my last comment is not the correct KB for your specific web hosting plan, try this one instead How do I enable and disable SSH (Secure SHell) access? - Krystal Hosting Knowledge Base
It looks like Krystal Hosting offers multiple control panels, not sure which one you are using, but in this KB article they mention the port is 722.
Great, thanks. Yes, this second link is correct for my Business account.
Adding port number doesnât help - refuses to connect.
Can you confirm you enabled SSH access for the account you are trying to connect to per that KB?
If so, can you post a screenshot of your publishing settings in RW? If youâd prefer to send them to me privately feel free to send it via a direct message.
Double-check to make sure you are entering all your details correctly per Krystal Hostingâs guide:
Server : Enter your home server name here (it may differ from the example shown), or your domain name, or the serverâs IP address
Port : 722
Username & Password : Enter your cPanel username and password
Yes, enabled SSH and tried with SFTP. No joy: timeout reached. If I add the port number I get âremote file not foundâ.
The port has to be there, so in the server field you would enter:
p100.lon.krystal.io:722
â (copy paste your server address directly from your control panel, I donât know if that is an uppercase I or a lowercase L in Ion.).
or
77.72.2.100:722
â (Probably easier)
Then, empty your Path field in RapidWeaver publishing settings. Then click on the âBrowseâ button next to the path field. Does it connect?
If it connects, then select the upload folder (which looks to be public_html/cgstrength) that you should be uploading your website to from the pop-up window that appears in RW.
Let me know what happens
Success. The path string is longer, but obviously it needed this fuller approach. As you said, there is clearly an issue with FTPS, but at least this will work for me now. Very grateful for your help guiding me to this solution!
Cheers Dan
Awesome, happy to hear itâs sorted!
Yep we need to get FTPS working again in RapidWeaver, however SFTP is a better publishing protocol so since your web host offers it, you wouldnât ever need to use FTPS again.
If you encounter any other problems let us know. Happy weaving and happy publishing!