Instructions on how to upgrade your Ushahidi deployment.
- Make a backup copy of the current folder where you have installed the Ushahidi Platform.
- Make a backup copy of your database.
- The exact procedure to do this depends on your environment.
- Download the latest .tar.gz file from our github releases page . Please note that pre-releases are not considered stable and you may find issues with them.
- Uncompress the downloaded file on the same location where the Ushahidi Platform is currently installed.
- If you had made any changes to .htaccess files, application config files or similar after installation, restore those from your backup copy.
- Re-run some of the installation steps (refer to the installation guide for more detailed instructions). In particular, re-run these two steps
- Running database migrations
- Ensuring that log, cache and media/uploads under platform/application are owned by the proper user
From your local repository fetch the latest code and run `npm install` to update your modules:
git pull
npm install
gulp build
The updated version should load when you reload your browser.
From your local repository fetch the latest code and run `bin/update` or `bin/update --production` if you are running on a production environment:
git pull
bin/update
OR
bin/update --production