Upgrading from Cafelog/b2 (the original b2)
Before you begin, please note that some network features of b2evolution require you to agree our simple Terms of service.
The upgrade procedure below has been tested exclusively with b2 versions 0.6.1 and 0.6.2.
Though, we believe that versions 0.5.x should also upgrade without problems. Anyway, if you run any older version of b2,
you can give it a try quite safely. b2evolution will not harm your data, even if it can't understand it.
The worst you would get is an error message.
However, as always, it is wise to do a backup of your current website / blog / database
(depending on what you already have) before starting to install something new.
Once you have unzipped the b2evolution distribution:
- On your server, locate the mysql database you are already using for Cafelog/b2.
You must use the same database for b2evolution to be able to upgrade. Feel safe, b2evolution will
not alter your Cafelog/b2 tables and data in any way!
Note 1: Unless you changed the config, all tables created by b2evolution are prefixed with
evo_ . Unless you already have an application using the same prefix, this makes it safe to install
b2evolution in a database shared with other applications. For example, Cafelog/b2 used tables prefixed with b2 .
Your existing tables will not be affected in any way.
Note 2: Why the same database? Because the SQL process we use to copy the data -- which is fast and
secure -- can only be done within a single database.
- Upload the b2evolution files to your website.
Note: Only the contents of the
/blogs directory need to be uploaded to your site. If you want b2evolution to handle the homepage of your site, upload the contents of the
/blogs folder to your website root. However, you could start by uploading the files to a new subdirectory,
/b2evo for example; that way your existing Cafelog/b2 blog remains fully functional while you check out b2evolution.
Let's assume you install the contents of the blogs folder to
- Run the installation script on your server. It is located in
http://yoursite.com/b2evo/install . Then, simply follow the on screen instructions.
The installer will ask you a few questions, create required database tables, copy your b2 data to b2evo (without affecting b2) and configure b2evolution for you.
- Check to make sure the new installation works.
- On production servers, it is recommended that you delete the
- Check the manual or the forums for notes on upgrading your existing b2 template to b2evolution.
- After basic install is done, there are a few tricky things you may need to take care of (online manual).