I’m encountering an issue with a client who is having trouble publishing their website via SFTP using Sparkle. The error message we receive is: “The selected folder was not published on https://domain.tld.” It seems like the connection is established, but the upload doesn’t proceed.
We tested the SFTP credentials using FileZilla, and everything worked fine — creating, modifying, and deleting files and folders.
Before heading over to the client to troubleshoot in person, can anyone tell me if Sparkle has a logging feature that provides more detailed information about these errors? This feature would be really helpful to pinpoint what’s going wrong.
Actually the domain itself isnt transfered yet and the nameservers and zone still the old one - we are preparing everything to have a zero-downtime so we wanted to bring the site in place before moving the domain.
Hi @xZomby, that particular step of the publishing setup is attempting to ensure the folder you pick on the FTP/SFTP end is the same folder the web server is using on the http end, so that when Sparkle publishes, it’s publishing to a live folder.
The way that’s done is by uploading a small test file via FTP/SFTP, then checking on the http side. Clearly if the domain is being migrated that can’t work.
However you can achieve zero downtime by simply transferring all the currently published contents of the domain folder on the old server over to the new server, and only setting up publishing on the new server after the domain has migrated.