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.

upgrade from 2.1.1 to higher version

Hi guys,

trying to upgrade from 2.1.1 to higher version (e.g 2.2 which is closest to 2.1 and thus I believe would work easily).

Applied all upgrade instructions and reviewed troubleshooint notes:

https://docs.vanillaforums.com/developer/troubleshooting/

but anyway after I put

forum.com/utility/update

it goes to

forum.com/dashboard/setup

with the message:

Version 2.2 Installer

where DB fields are filled in (for some reason localhost though instead of RDS DB host which we use)

and it asks for admin details (which seems strange b/c its upgrade not fresh install)

What could be wrong with it?

Comments

  • R_JR_J Ex-Fanboy Munich Admin

    Maybe you have taken a step from the upgrade process wrong:

    "Backup your database, .htaccess and conf/config.php file somewhere safe."

    Do you have moved your config.php file from the /conf folder? That would have been wrong. Inside of your config.php there should be two lines looking similar to this:

    // EnabledApplications
    $Configuration['EnabledApplications']['Conversations'] = 'conversations';
    $Configuration['EnabledApplications']['Vanilla'] = 'vanilla';
    

    As far as I know you get a fresh setup screen if those are missing.

  • ok I did not move out config file, and dbname/dbuser is taken properly from there, just not the other fields.

    Also tried added those 2 fields into configuration - but not difference.

  • also does it work normal when

    /index.php?p=/utility/update

    redirects to

    /index.php?p=/dashboard/setup

  • K17K17 Français / French Paris, France ✭✭✭
    edited January 2018

    Do you have the following lines in your config.php ?

    $Configuration['Garden']['Installed'] = true;
    $Configuration['Garden']['InstallationID'] = 'something here to keep secret';
    $Configuration['Garden']['InstallationSecret'] = 'something else secret here';
    

    And did you try refreshing the cache ? (by removing all files under the cache folder except /smarty/ folder)

    And for update/upgrade you must get something simillar to this screen:

    (It's in french here)

  • nope there is only this one:

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

  • If you fill in the proper login details in the setup screen, does it do anything?

    I highly recommend making a backup of your database before you test it.

  • well based on that screen its going to setup fresh installation and not upgrade current one, therefore Im not sure its good idea to do that

  • Do you have a current backup of your databases and other files?

    If yes, I recommend trying it out, and reverting to your backups if it doesn't work.
    It shouldn't delete any of your posts, if that's what you're worried about.

    If you don't have a backup, I recommend making a back up of everything before you do anything else.

Sign In or Register to comment.