Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Utility/update failure in 2.1.6

AnonymooseAnonymoose ✭✭
edited December 2014 in Vanilla 2.0 - 2.8

Vanilla 2.1.6

Works fine.

But utility/update fails each time it is run (but was successful once after upgrading from 2.0).

Debug Trace shows only Info messages Need to re-index theme cache and Need to re-index plugin cache which I understand, can be ignored.

Structure shows no problems.

So how can I find out what is failing with update, and importantly, why?

Comments

  • Options

    run /utility/structure multiple times restructure and re-scan

    It may be this issue

    http://vanillaforums.org/discussion/comment/220448/#Comment_220448

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options

    All suggestions followed, no result.

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP

    htaccess ? it gets overwritten and when rewrite url in config is true it causes a failure.

  • Options
    peregrineperegrine MVP
    edited December 2014

    @Anonymoose said:
    All suggestions followed, no result.

    if you want me to take a look. pm me an admin password and login as well as a link to your site.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options
    AnonymooseAnonymoose ✭✭
    edited December 2014

    @vrijvlinder said:
    htaccess ? it gets overwritten and when rewrite url in config is true it causes a failure.

    Good point. I don't use htaccess because I don't use an Apache server. Is there an override setting for this?

  • Options

    @Anonymoose said:
    Good point. I don't use htaccess because I don't use an Apache server. Is there an override setting for this?

    if you don't use apache .htaccess is ignored. nothing to worry about.

    your web server rules for whatever should be written properly.

    you didn't say what happened when you ran /utility/structure and re-scanned.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options
    AnonymooseAnonymoose ✭✭
    edited December 2014

    @peregrine said:
    your web server rules for whatever should be written properly.

    Works well.

    @peregrine said:
    you didn't say what happened when you ran /utility/structure and re-scanned.

    "There are no database structure changes required. There may, however, be data changes."

  • Options
    peregrineperegrine MVP
    edited December 2014

    set up error logging.

    • 1 add these statements to your config.php

      $Configuration['Garden']['Errors']['LogEnabled'] = TRUE;
      $Configuration['Garden']['Errors']['LogFile'] = 'log/DebugLog';
      
    • 2 create a log folder off of the root folder of your forum

    e.g. if your forum resides in /forum

    create a folder (directory) called log

    give it read write and execute permissions. depending on ownership of files and what the owner of your web process.

    you could try 777 or lesser permissions.

    775

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options
    peregrineperegrine MVP
    edited December 2014

    check the DebugLog and post any errors.

    @peregrine said: your web server rules for whatever should be written properly.

    @anonymoose

    said: Works well.

    then check your web server logs for errors.

    immediately after you run /utility/update.

    If it were me and I wanted to solve the problem and get reasonable help.

    • 1 change to the bittersweet theme.

    • 2 I would disable all applications EXCEPT vanilla and conversations via the dashboard.

    • 3 I would disable all plugins via the dashboard.

    then I would run utility/update

    if it fails

    change to

    $Configuration['Garden']['RewriteUrls'] = TRUE;

    if it fails try again try.

    $Configuration['Garden']['RewriteUrls'] = FALSE;

    if it still fails

    download all the vanilla core files and update your server again.

    and repeat above.

    if it still fails

    • post you config.php with sensitive info removed.
    • post your server rules
    • post your phpinfo dealing with modules
    • post whether you are running sql in strict mode.
    • post your mbstring info

    short of that it is a guessing game. up to you if you want to post all info, or post as little as possible and make everyone guess. I won't guess anymore without all the info.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options
    AnonymooseAnonymoose ✭✭
    edited December 2014

    Thanks for the tips about the log. Will work on it.

  • Options

    @Anonymoose said:
    Thanks for the tips about the log. Will work on it.

    I'll check back in 2016, to see where you are at.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

Sign In or Register to comment.