• Hey Guys,

    Great plugin, though it seems like we’re having a few issues, well, one specific.

    All the information entered is correct and has been verified, though when clicking on the “Automate Deployment” button, we pass the FTP connection but fail the check where it determines the remote capabilities of the server.

    Both servers are behind a firewall, though the IP’s of each have been added to the other so that they can connect to each other as needed. The server we’re connecting to allows SSH/SFTP/FTP, though the one we’re connecting from is limited to FTP only.

    I’ve not looked deeply into the code, though I’m not sure what checks are being made to validate the capabilities. Perhaps you all can shed some light? :-).

    Thanks in advance,

    Jonathan

    http://wordpress.org/extend/plugins/wp-live-server-deploy/

Viewing 6 replies - 1 through 6 (of 6 total)
  • I had the same problem.

    Plugin Author Shannon Black

    (@sagetarian)

    Hi There

    Apologies for the late reply, wordpress didn’t notify me of anything. Can you perhaps copy and paste the debug messages here?

    Some background though:

    Remote capabilities is done by uploading a file to the folder specified .. usually /public_html or /www or /html. The script is then called on your server by using URL/remote-capabilities.php .. In other words, if you uploaded to /public_html/somefolder then your url must be http://www.somedomain.com/somefolder for it to be able to access http://www.somedomain.com/somefolder/remote-capabilities.php .. if it doesn’t then the script should kick out

    The script checks the following .. does the server have ZipArchive module installed and if the php isn’t running in safe mode .. if either one is not enabled on your local and destination server then it falls back to uploading each file individually (ZipArchive disabled) or to a custom php based MySQL database dump and import (MySQL system dump/import disabled) .. this means that even if remote capabilities fail the live server deploy should continue to do its thing ..

    MOST LIKELY DIAGNOSIS

    so it most likely that your URL doesn’t include “http://” or the full URL doesn’t point to the folder the ftp is uploading to .. i.e “/” is usually not the public html content folder

    [edit]
    let me know if this helps, otherwise send me your debug output and I’ll try to recreate the issue

    Hi Shannon,
    same problem here. Tried every conceivable variation of the url and could not get past this point. My server does not use ‘public_html’ so the url just comes off the root.

    just thought you might want to know.
    ken

    Plugin Author Shannon Black

    (@sagetarian)

    if your ftp user logs straight to the html serving folder then save the root as “/” .. let me know if this works

    i have the same problem

    I have the same problem:

    This is my configuration:

    Site url: http://173.253.58.254
    FTP root directory: /var/www

    I expect a folder named “my_wp_proyect” will be created at www folder, but nothing happens..

    After the message “Failed to determine remote capabilities …” nothing happens..

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: WP Live Server Deploy] Fails to Determine Remote Server Capabilities’ is closed to new replies.