Improve update guide

This commit is contained in:
Dmitriy Simushev 2015-04-15 10:55:54 +00:00
parent 77f2dcbb0b
commit 52d3d9f985

View File

@ -84,8 +84,14 @@ started. Here are the instructions:
## Update ## Update
Mibew starting from 2.0.0-beta.1 version can be updated to later versions using
built-in update tool.
Notice that there are neither migration tools nor updtate guides from 1.6.x
versions.
1. Backup your `mibew/configs/config.yml` 1. Backup your `mibew/configs/config.yml`
2. Backup your `mibew/images/avatar` folder. 2. Backup your `mibew/files/avatar` folder.
3. Backup your database. Although it's not required, it's strongly recommended 3. Backup your database. Although it's not required, it's strongly recommended
to to so. to to so.
3. Delete all items in mibew folder on the server. 3. Delete all items in mibew folder on the server.
@ -97,7 +103,7 @@ started. Here are the instructions:
`/mibew/files/avatar` and `/mibew/cache` `/mibew/files/avatar` and `/mibew/cache`
(`chmod 0700 /mibew/files/avatar && chmod 0700 /mibew/cache`). (`chmod 0700 /mibew/files/avatar && chmod 0700 /mibew/cache`).
6. Restore all settings in `mibew/configs/config.yml` 6. Restore all settings in `mibew/configs/config.yml`
7. Restore contents of mibew/images/avatar folder. 7. Restore contents of `mibew/files/avatar` folder.
8. Visit `http://<yourdomain>/mibew/update/` and follow the instructions 8. Visit `http://<yourdomain>/mibew/update/` and follow the instructions
to update the database tables (if needed). to update the database tables (if needed).
9. Remove `mibew/install.php` file from your server. 9. Remove `mibew/install.php` file from your server.