Recent Topics

Upgrade from a very old version 2.4.5

Started by on May 27, 2017 – Contents updated: Oct 07, 2018

May 27, 2017 05:45    

I know it sounds insane, but the web site has sat dormant for a few years and I see there are a huge number of upgrades since 2013. The older version was installed by my web host company in 2012 go figure. However, things are still functioning but I would like to upgrade it and make sure I am able to keep all the old posts. Is it possible, is it easy to do?

Thanks

May 27, 2017 12:33

@oops upgrade is designed to be a smooth process. However, there are some factors that may lead you by a rough path (e.g. previous partial, or incomplete upgrades, charset issues, etc).

Please check this pages: http://b2evolution.net/man/upgrade-instructions, or all the upgrade section in general. They will give all the info you need to upgrade your site.

It's written in the manual, but I want to stress this out a bit more before yo start:

  1. Double check that you have a full backup (code + database) of your site
  2. Make sure that you know how to restore the backup if things are going south.

Regards!

May 29, 2017 02:23

You will very probably need to use a new skin. But we have many nice skins now ;)

May 29, 2017 02:28

@mgsolipa wrote earlier:

@oops upgrade is designed to be a smooth process. However, there are some factors that may lead you by a rough path (e.g. previous partial, or incomplete upgrades, charset issues, etc).

Please check this pages: http://b2evolution.net/man/upgrade-instructions, or all the upgrade section in general. They will give all the info you need to upgrade your site.

It's written in the manual, but I want to stress this out a bit more before yo start:

  1. Double check that you have a full backup (code + database) of your site
  2. Make sure that you know how to restore the backup if things are going south.

Regards!

Thanks so this very old version can simply be updated to the newest stable version? I thought I would have to upgrade to older versions and keep doing it until i go to the current one.

May 29, 2017 02:37

Yes it can. The b2evo upgrade script detects any version you use and starts upgrading from there, even v1.0.

I thought I would have to upgrade to older versions and keep doing it until i go to the current one.

The upgrade script knows how to do exactly that... all automatically ;)

The upgrade script includes the code for all intermediary upgrades.

May 29, 2017 04:27

Thanks that helps a lot. Hopefully it goes well.

Jun 17, 2017 19:16

Nice to know how you got on :)

Oct 02, 2018 14:36

Here we are a year later and I finally upgraded. This website was not on a list of priorities lol. Ok so I just upgraded because I was moving servers with higher and updated php and the like.

So I moved the database and required the handful of files to the new server, decompressed the b2evolution version 6.10.3-stable.

This message appeared on Home Page

You cannot use the application before you finish configuration and installation.

Database schema is not up to date!

You have schema version «9700», but we would need «12972».

Launched the install and it was going well until

Checking default locale...
Notice: Undefined index: en-US in /home/mywebsite/public_html/inc/locales/_locale.funcs.php on line 1680

Notice: Undefined index: en-US in /home/mywebsite /public_html/inc/locales/_locale.funcs.php on line 1681

Notice: Undefined index: en-US in /home/mywebsite /public_html/inc/locales/_locale.funcs.php on line 1682

Notice: Undefined index: en-US in /home/mywebsite /public_html/inc/locales/_locale.funcs.php on line 1683

Notice: Undefined index: en-US in /home/mywebsite /public_html/inc/locales/_locale.funcs.php on line 1684

Notice: Undefined index: en-US in /home/mywebsite /public_html/inc/locales/_locale.funcs.php on line 1685

Notice: Undefined index: en-US in /home/mywebsite /public_html/inc/locales/_locale.funcs.php on line 1686

Notice: Undefined index: en-US in /home/mywebsite /public_html/inc/locales/_locale.funcs.php on line 1687

Notice: Undefined index: en-US in /home/mywebsite /public_html/inc/locales/_locale.funcs.php on line 1688

Notice: Undefined index: en-US in /home/mywebsite /public_html/inc/locales/_locale.funcs.php on line 1689

Notice: Undefined index: en-US in /home/mywebsite /public_html/inc/locales/_locale.funcs.php on line 1690
An unexpected error has occurred!
If this error persists, please report it to the administrator.
Go back to home page
Additional information about this error:
MySQL error!
Column 'loc_datefmt' cannot be null(Errno=1048)
Your query:
INSERT INTO evo_locales ( loc_locale, loc_datefmt, loc_longdatefmt, loc_extdatefmt, loc_input_datefmt, loc_timefmt, loc_shorttimefmt, loc_input_timefmt, loc_startofweek, loc_name, loc_messages, loc_priority, loc_transliteration_map, loc_enabled )

VALUES ( 'en-US', NULL, '', '', NULL, NULL, '', NULL, NULL, NULL, NULL, NULL, '', 1 )

Any ideas? I dont want to have to restart the entire process again, if I have to do that, then I may just go to WP.

Oct 04, 2018 22:54

You can go into the DB with PhpMYSQL and allow NULL for the field loc_datefmt of the table evo_locales.

No matter what, thanks for the install log + error. We'll fix the upgrade script ASAP. It seems we haven't tested it on upgrading from such an old version for a little while.

Oct 05, 2018 00:01

@fplanque wrote earlier:

You can go into the DB with PhpMYSQL and allow NULL for the field loc_datefmt of the table evo_locales.

No matter what, thanks for the install log + error. We'll fix the upgrade script ASAP. It seems we haven't tested it on upgrading from such an old version for a little while.

Thanks, I appreciate the help. I know enough of the tech stuff to get me in trouble. Other than that error everything is working on the new server. Most people probably have upgraded lol, I just work way too many hours.

Oct 07, 2018 01:42

So hopefully I did this correctly. I dont use phpmyadmin too often

Oct 07, 2018 12:24

Thanks, it worked before that, just had the null error on install. I assume I don't have to do anything else. Admin works fine. Will do some test posting so hopefully, all goes well and I can find the plugins I was using before or something close to it.


Form is loading...

b2evolution CMS – This forum is powered by b2evolution CMS, a complete engine for your website.