Upgrader depuis une version précédente de b2evolution
Avant de commencer, merci de noter que certaines fonctionnalités distribuées de b2evolution nécessitent que vous approuvier nos Conditions d'utilisation (très simples).
- Backup all your b2evolution files. Take special care of the files you may have modified, including /conf, /skins, /plugins, your /media directory and possibly stubfiles, hacks or custom templates...
- Vous devriez également faire une sauvegarde de votre base de données si vous le pouvez. Cette fonctionnalité devrait être proposée par votre hébergeur.
- If you are upgrading from a version prior to 2.0, we highly recommend you clean up outdated files. To achieve this, delete your b2evolution folders except /media. Folders to delete include /admin, /conf, /cron, /htsrv, /inc, /install, /plugins, /skins, /skins_adm, /xmlsrv. Depending on your version, you may not have all of these folders on your server. Also, again, make sure you have a backup before deleting.
- Upload all new b2evolution files from the /blogs folder to your site. We cannot stress this enough: ALL FILES! And that means you cannot reuse your /conf files, default skin templates or default plugins as they are.
Since your custom skins and custom plugins should be using different names, they will not be overwritten. Same for your media files.
The one file you must absolutely restore from your backup (see step 1) though is /blogs/_basic_config.php
. You will need to either restore or recreate that file in order to proceed with upgrade.
- Run the installation/upgrade script on your server. It is located in
http://yoursite.com/yourblogsfolder/install
/ . Then, simply follow the on screen instructions.
The installer/upgrader will allow you to run a database upgrade from any b2evolution version to the new one.
- Vérifiez que la nouvelle installation fonctionne.
- Consultez le manuel en ligne pour obtenir des instructions de mise à jour spécifiques à votre nouvelle version de b2evolution.
- Sur les serveurs de production, il est recommandé de supprimer le sous répertoire
/install
.
- If you had hacks or other customizations to the core files, your can bring those back now.
We recommend you get yourself a diff/merge tool like WinMerge. This will allow you to easily compare your old (backuped) files with the new files (even whole directories at once) and report changes accordingly.