The instructions below detail how to update your Ushahidi instance. It is intended for developers and admins who are running the engine on their own servers.
- Backup everything, including:
- .htaccess, ./applications/config/config.php, database.php and auth.php.
- Back up your database.
- It is recommended to keep a backup of the entire /ushahidi/ installation directory in case you make a mistake.
- Download the most recent version of Ushahidi from the Github.com repository at http://github.com/ushahidi/Ushahidi_Web/downloads
- Upgrade your database:
- First determine your database schema revision: you can determine which schema revision your database is at by examining your settings table, the value of db_version.
If you are at version 25, you need to upgrade from 25-26, 26-27, 27-28 and so on up to the latest sql file in your /sql directory.
Each schema revision is usually only a couple of small changes. - Execute the appropriate upgrade*-*.sql scripts in phpMyAdmin or via the command line to bring your database up to date.
- First determine your database schema revision: you can determine which schema revision your database is at by examining your settings table, the value of db_version.
- Copy the new files over the old ones.
- Update config.php, database.php, auth.php as necessary to match your previous configuration details with the database name, database user name, and database password.
That’s it! You are done. Your Ushahidi instance is updated. If you have problems visit the forums.
Labels:
None
2 Comments
comments.show.hideFeb 17, 2012
Anonymous
didn't work well for me
Feb 20, 2012
Heather Leson
Can you provide more details?