• Just installed 2.8.2 fresh yesterday, and now today am trying to do Tools-Upgrade to go to 2.8.3.

    The FTP log-in goes just fine, but then I get a very zen “Installation Failed” message right away, with no other detail.

    Am running PHP5.

    Any ideas?

    thanks,

    Paul.

Viewing 15 replies - 16 through 30 (of 42 total)
  • I have the same problem for different sites on same server. Same configuration. I Updated one site that had all plugins enabled, no problem. While other sites show me nothing more then “Installation Failed”.

    Is there no solution for fixing this?

    I found out that the find_folder function in the WP_Filesystem_Base class does not return a value when the root folder of the FTP path is the root location of the site. Therefor the error returned is “fs_no_folder”.

    I fixed this my adding a folder within the root FTP location and moving the root location of the web. Then it all worked out.

    I think this is a bug that must have come when I upgraded to 2.8.2.

    plz fix this in future releases.

    I don’t have the wp auto-update plugin and my plugins were all deactivated and also moved to another directory so the plugins directory was empty when I upgraded. Same failure – instant “Installation failed”

    I have traced through the code that performs the auto-upgrade and for reasons not yet known to me it checks to see if the directory “/” exists (it’s checking for ABSPATH and WP_CONTENT_DIR before it begins upgrading) and the check fails … so my upgrade stops. No error message is being returned from fs_connect() [in file wp-upgrader.php] which is the routine that is called to check for existence of various directories before an upgrade can begin. I don’t see why there’s no error message generated (yet) in fs_connect(). I modified the code so it would skip checking if the directory name is “/” and my upgrade to 2.8.3 was performed just fine – took about 60 seconds. (It would be pretty goofy if the filesystem was OK and “/” didn’t exist, wouldn’t it?)

    I’ll file a bug report.

    Hey @harabanar – you found essentially the same thing! I didn’t see your response because I was on my other computer debugging this process. I don’t have the option of moving my docroot, sorry, because I have about 25 WP instances that are affected by this bug. I’ll just hack the code in fs_connect() for now.

    I did the : config.php : change
    define(‘WP_MEMORY_LIMIT’, ’64M’);

    and it worked on 5 sites that I have WP on.

    I was puzzled as two of my sites are VERY new: 4 pages, 2 posts and 1 comment ! and yet still had memory problem ???

    Even my largest site, using WP, is still small: 14 pages, 38 posts and 1 comment.

    I only recently started with WP, and do now have some concerns, although hopefully this is a one of malfunction…

    This is a really nasty deep-down bug…we sometimes see some feature added to WP that later on fails, but it doesn’t happen very often. WP is a very cool system with a dedicated maintenance and development crew. The auto-upgrade feature saves me hours every time a new WP is released, so I particularly wanted it to work. It’s not clear why it works on some of my 25 blogs and not on others, however.

    Anyone know how to report this bug so it gets fixed in the future?

    Thread Starter paulandrew

    (@paulandrew)

    I got itchy and ended up doing a hand upgrade and it worked fine. Because it’s a new site, it didn’t take too long. Nice to know I’m not alone though. ??

    I auto-upgraded about 3 minutes ago and got this error when I refreshed my site (https://theagnonschool.org).

    WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘order ASC’ at line 1]
    SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy IN (‘category’) AND ( t.term_id <> 1 AND t.term_id <> 9 AND t.term_id <> 46 AND t.term_id <> 48 ) ORDER BY order ASC

    And, OK, I was an idiot. Because every other upgrade I’ve done has gone super smoothly, for some reason I thought it would be OK not to back up (although I do have autobackups from yesterday). So I didn’t back up. Now what do I do? Is there an easy way to go back to 2.8.2?

    i see this:
    Warning: require(/home/shem/public_html/wp-includes/compat.php) [function.require]: failed to open stream: Permission denied in /home/shem/public_html/wp-settings.php on line 246

    which looks youre reinstalling.

    i would have tried the default theme first, and disbaling your plugins.

    I just hit the “Auto upgrade” button, and it upgraded without a hitch. I didn’t do anything prior, except backup my WP.

    My error:

    Downloading update from https://www.ads-software.com/wordpress-2.8.3.zip.
    
    Unpacking the update.
    
    Could not copy file: /var/www/avwordpress/wp-content/upgrade/wordpress-2.8.3/wordpress/wp-includes/js/codepress/engines/khtml.js
    
    Installation Failed

    All plugins off. I use a SSH connection.

    Whooami, thanks for the reply.

    That’s right, I reinstalled the earlier the previous version of WP. Still got the error message. I restored my database to a version from a couple days before the upgrade. Still got error message. I repaired my database from cPanel. Still got error message. I tried again to upgrade to 2.8.3. Still got error message.

    I don’t know anything about MySQL, so I did sent a support ticket to my host, Hostgator. Do you have any ideas about what went wrong or suggestions about what I should do?

    Okay, wait, I just checked again — about an hour after I tried the initial upgrade — and the problem is gone, and I have an email from Hostgator saying:

    Greetings and Salutations!

    Looks like this was caused by the my-category-order plugin. I moved the directory (/home/shem/public_html/wp-content/plugins/my-category-order/ to /home/shem/public_html/wp-content/plugins/my-category-order.old) and this resolved the error at the top of the screen. I went and downloaded the newest version of WordPress but was still getting this error. It seems this part of the query “ORDER BY order ASC” is incorrect (where oder ASC needs to be tt_order ASC or something similar).

    In the mean time, the website is no longer displaying any errors, but you may want to get a hold of the plugin author to resolve this issue. Youc an more information here:

    https://www.ads-software.com/extend/plugins/my-category-order/

    Hope this helps! Please do not hesitate to contact us if you are in need of further assistance.

    Have a wonderful day!

    Thanks for trying to help. I’ve learned my lesson about upgrades, backups and plug=ins. ??

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Anyone know how to report this bug so it gets fixed in the future?

    If you have technical details on the bug, you can go to trac.www.ads-software.com and file the bug report there. Use your wp.org login and password.

    harabanar & jimsky7: I had this problem too. My ftp login was to the root directory for wordpress and the automatic installation did not work. This has happened in all 2.8 releases so far (I’ve only been able to do manual updates). I fixed it the same way harabanar did, I made a new directory in the root ftp login, put all my wordpress files in it, and then changed the doc root in apache httpd.conf to point to the new subdirectory. Pretty easy fix, but I am surprised how long this bug has existed I guess…

Viewing 15 replies - 16 through 30 (of 42 total)
  • The topic ‘Auto upgrade 2.8.2 to 2.8.3 “Installation Failed”’ is closed to new replies.