=====Upgrading Wikka to the latest release===== >>==See also== ~- **[[Installing12 Notes on upgrading to 1.2]]** ~- [[InstallingPlugins | How to use the plugins folder]] >>Upgrading a wiki to the [[WhatsNew | latest version]] of Wikka is done via a web wizard and only takes a few minutes. However there are a few points to bear in mind when upgrading, in particular if your wiki has custom extensions or code modifications. Before upgrading make sure you read the specific **[[Installing12 | instructions]]** for the version you are upgrading to. There are two methods to upgrade Wikka, but both begin with Step 1. ====Step 1: Backup, backup, backup! ==== 1) Backup your Wikka Wiki directory. 1) Backup your Wikka Wiki MySQL data. Wikka releases are upgrade tested before release, **but**, for your protection, backup all your Wikka files **and** the Wikka MySQL tables before upgrading. Backups are particularly important when restoring custom extensions after upgrading (see notes below). ====Step 2: Select your upgrade method ==== 1) For Wikka instances //with no custom modifications// at all (very rare cases), **Method A** should be best : it's the simple "delete & replace" method. If you haven't hacked wikka's code, this method is for you. If you have changed the code, or if you used the "file upload" action, this method is risky because the wiki admin could lose data like file uploads, as well as any custom mods. 1) For Wikka instances //with custom extensions//, plugins or file uploads, **Method B** (the overwrite method) is highly recommended. It should be made clear that using the overwrite method may leave useless files in the Wikka directory if the installer does not explicitly remove them. Note that some custom extensions may not work any more if they are not compliant with the new Wikka version. ===Method A: delete old files & replace with a fresh installation === <