• I keep getting various errors when trying to upgrade plugins automatically.

    My site is hosted with Servage and on their advice I have changed line 37 of /wp-admin/includes/class-wp-filesystem-ftpext.php to default to port 2121 instead of 21.
    FWIW when attempting an upgrade a new directory <mysite.com> is created within my WP directory and under that a new WordPress directory. It seems part of the directory structure is replicated within my WP dir…

    Here are a couple of examples of the errors I receive… please help:

    Upgrading the Google XML Sitemaps plugin:
    1’st attempt:
    =============
    Warning: ftp_pwd() [function.ftp-pwd]: Opening ASCII mode data connection for file list in /mounted-storage/home39a/sub001/sc35113-EFZA/mysite.com/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 188

    Warning: ftp_pwd() [function.ftp-pwd]: Opening ASCII mode data connection for file list in /mounted-storage/home39a/sub001/sc35113-EFZA/mysite.com/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 188

    Unable to locate WordPress directory.

    2’nd attempt:
    ================
    Warning: ftp_pwd() [function.ftp-pwd]: Transfer complete. in /mounted-storage/home39a/sub001/sc35113-EFZA/mysite.com/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 188

    Warning: ftp_pwd() [function.ftp-pwd]: /wp-content/upgrade/sitemap: No such file or directory in /mounted-storage/home39a/sub001/sc35113-EFZA/mysite.com/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 188

    Unpacking the update

    Warning: ftp_pwd() [function.ftp-pwd]: CWD command successful in /mounted-storage/home39a/sub001/sc35113-EFZA/mysite.com/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 188

    Warning: ftp_pwd() [function.ftp-pwd]: CWD command successful in /mounted-storage/home39a/sub001/sc35113-EFZA/mysite.com/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 188

    Warning: ftp_pwd() [function.ftp-pwd]: CWD command successful in /mounted-storage/home39a/sub001/sc35113-EFZA/mysite.com/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 188

    Warning: ftp_pwd() [function.ftp-pwd]: PORT command successful in /mounted-storage/home39a/sub001/sc35113-EFZA/mysite.com/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 188

    Warning: ftp_pwd() [function.ftp-pwd]: CWD command successful in /mounted-storage/home39a/sub001/sc35113-EFZA/mysite.com/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 188

    Warning: ftp_pwd() [function.ftp-pwd]: PORT command successful in /mounted-storage/home39a/sub001/sc35113-EFZA/mysite.com/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 188

    Warning: ftp_pwd() [function.ftp-pwd]: /wp-content/upgrade/sitemap/: No such file or directory in /mounted-storage/home39a/sub001/sc35113-EFZA/mysite.com/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 188

    Warning: ftp_pwd() [function.ftp-pwd]: PORT command successful in /mounted-storage/home39a/sub001/sc35113-EFZA/mysite.com/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 188

    Warning: ftp_pwd() [function.ftp-pwd]: /wp-content/upgrade/sitemap/google-sitemap-generator/: No such file or directory in /mounted-storage/home39a/sub001/sc35113-EFZA/mysite.com/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 188

    Warning: ftp_pwd() [function.ftp-pwd]: Unable to build data connection: Connection refused in /mounted-storage/home39a/sub001/sc35113-EFZA/mysite.com/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 188

    Warning: ftp_pwd() [function.ftp-pwd]: CWD command successful in /mounted-storage/home39a/sub001/sc35113-EFZA/mysite.com/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 188

    Could not copy file

    Upgrading the WordPress Download Monitor plugin:
    Warning: ftp_pwd() [function.ftp-pwd]: PORT command successful in /mounted-storage/home39a/sub001/sc35113-EFZA/mysite.com/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 188

    Warning: ftp_pwd() [function.ftp-pwd]: CWD command successful in /mounted-storage/home39a/sub001/sc35113-EFZA/mysite.com/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 188

    Downloading update from http://downloads.wordpress.org/plugin/download-monitor.2.0.8.zip

    Warning: ftp_pwd() [function.ftp-pwd]: PORT command successful in /mounted-storage/home39a/sub001/sc35113-EFZA/mysite.com/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 188

    Warning: ftp_pwd() [function.ftp-pwd]: /wp-content/upgrade/wp-download_monitor: No such file or directory in /mounted-storage/home39a/sub001/sc35113-EFZA/mysite.com/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 188

    Unpacking the update

    Warning: ftp_pwd() [function.ftp-pwd]: CWD command successful in /mounted-storage/home39a/sub001/sc35113-EFZA/mysite.com/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 188

    Warning: ftp_pwd() [function.ftp-pwd]: CWD command successful in /mounted-storage/home39a/sub001/sc35113-EFZA/mysite.com/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 188

    Warning: ftp_pwd() [function.ftp-pwd]: CWD command successful in /mounted-storage/home39a/sub001/sc35113-EFZA/mysite.com/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 188

    Warning: ftp_pwd() [function.ftp-pwd]: PORT command successful in /mounted-storage/home39a/sub001/sc35113-EFZA/mysite.com/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 188

    Warning: ftp_pwd() [function.ftp-pwd]: CWD command successful in /mounted-storage/home39a/sub001/sc35113-EFZA/mysite.com/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 188

    Warning: ftp_pwd() [function.ftp-pwd]: PORT command successful in /mounted-storage/home39a/sub001/sc35113-EFZA/mysite.com/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 188

    Warning: ftp_pwd() [function.ftp-pwd]: /wp-content/upgrade/wp-download_monitor/: No such file or directory in /mounted-storage/home39a/sub001/sc35113-EFZA/mysite.com/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 188

    Warning: ftp_pwd() [function.ftp-pwd]: PORT command successful in /mounted-storage/home39a/sub001/sc35113-EFZA/mysite.com/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 188

    Warning: ftp_pwd() [function.ftp-pwd]: /wp-content/upgrade/wp-download_monitor/download-monitor/: No such file or directory in /mounted-storage/home39a/sub001/sc35113-EFZA/mysite.com/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 188

    Warning: ftp_pwd() [function.ftp-pwd]: Unable to build data connection: Connection refused in /mounted-storage/home39a/sub001/sc35113-EFZA/mysite.com/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 188

    Warning: ftp_pwd() [function.ftp-pwd]: CWD command successful in /mounted-storage/home39a/sub001/sc35113-EFZA/mysite.com/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 188

    Could not copy file

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hmm, My google xml upgraded no problems.

    I had the same problem recently. It’s not dependent on the google xml upgrade but on all automated plugin upgrades.
    Does anyone have an idea how to eliminate this problem?

    Thread Starter cjessing

    (@cjessing)

    Just want to confirm that this problem happens with all plugins… I was just using Google XML as an example…

    About the same here. In previous versions with the WP core plugin-upgrade I got just a error message, now in 2.6 the message sais: “Unable to locate WordPress Plugin directory.”

    An Upgrade plugin also results in an error. And the permissions are set correct.

    I host the sites on my own office with MAMB.

    Same problem here. Automatic updates work fine in WP 2.5, then in WP 2.6 they are gone. The 2.6 version is another WP installation on another hoster, but I doubt that the hoster causes the problem.

    Is there a patch or similar for 2.6? Any suggestions how to track down this bug? Is there a wordpress system log stored somewhere?

    Same problem here. Any solution? Is upgrading to 2.6.1 could help?

    Same problem her.. anyone found a solution to this problem?

    Tom Harrison

    (@fivepercent)

    I finally sorted out my “Unable to locate WordPress Plugin directory” problem.

    In my case, the issues was that the FTP server (vsFTP) was configured to prevent write operations (such as the creation of a temporary directory) used by the upgrader.

    I logged in as the user whose home directory was where WP is installed (in ~/wordpress) — all was well. No other special configurations were needed.

    sjogro

    (@sjogro)

    I can’t get the auto upgrade to work either. I get this error “Unable to locate WordPress Plugin directory.” I use this (example) info:

    hostname: http://ftp.host.com
    username: ftp-user
    password: xxxxxxx

    and I was wondering if I need to add some /folders/ to the hostname or something, since my wordpress is in a folder called /wp/…
    does anyone know?

    @fivepercent: I don’t understand your solution.

    I logged in as the user whose home directory was where WP is installed (in ~/wordpress) — all was well. No other special configurations were needed.

    …meaning you logged in where as who to do what???

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Still struggling with automatic plugin upgrade…’ is closed to new replies.