Skip to:
Content
Pages
Categories
Search
Top
Bottom

updating from BP 2.9.4

  • We have a site with quite a complex custom theme, a bunch of template- and hook-based BP modifications, and for various reasons we’ve not updated BP for a while – it’s on 2.9.4.

    This is no longer viable, so we’re assessing updating to the latest version.

    Are there any general tips for managing such a big update jump? Of course I’ll be reading release notes and checking template changes. Just wondering if there’s any general advice, e.g. updating to each major version sequentially? Run checks at each point or wait until it’s on the latest version?

Viewing 4 replies - 1 through 4 (of 4 total)

  • sofia17sm
    Participant

    @sofia17sm

    Hi
    I can assist you in this.
    please reach me over <S.k.y.p.e> live:sofia_6831 or E-mail>… sofia@cisinlabs.com.


    shanebp
    Moderator

    @shanebp

    Clone your site as a development site and then try updating to the latest version.
    If there are major failures that you cannot figure out, then reclone the site and try updating in steps per major releases.
    The main point is that you do nothing on the production site until you have updated the de site and are satisfied with the result.

    @shanebp Sure, we’ll be going through the process locally then on a staging space before applying to production.

    If there’s no well-known red flags for updating through so many major versions at once, I’ll have a go with the all-at-once update and backtrack if we get stuck.

    Thanks for the advice!

    A note for anyone doing this. Sequential updating is probably best, at the very least if going through version 5.

    I updated from 2.9.4 to 6.3.0 and got an error regarding a missing DB table (bp_invitations). This is new in BP 5.

    Check bp-core-update.php, which contains functions for special actions updating to major versions. The one for versions higher than 2.9.4 is bp_update_to_5_0(), which creates the new invitations table. This seems to only be run if updating to 5 (not run if updating from < 5 to e.g. 6.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar