diff options
| author | Gerardo Zamudio <gerardozamudio@users.noreply.github.com> | 2016-02-24 23:48:50 -0600 |
|---|---|---|
| committer | Gerardo Zamudio <gerardozamudio@users.noreply.github.com> | 2016-02-24 23:48:50 -0600 |
| commit | e4de6b3898b64b26d29aff31f21df5fda8055686 (patch) | |
| tree | 575f8a65440f291d70a070d168eafca8c82a6459 /doc/update.markdown | |
| parent | d9ffbea174ea6524d0a22f8375ca8b3aa04a3c96 (diff) | |
| parent | a6540bc604c837d92c9368540c145606723e97f7 (diff) | |
Merge pull request #1 from fguillot/master
Update from upstream
Diffstat (limited to 'doc/update.markdown')
| -rw-r--r-- | doc/update.markdown | 35 |
1 files changed, 21 insertions, 14 deletions
diff --git a/doc/update.markdown b/doc/update.markdown index 0c59a85e..7be8a65a 100644 --- a/doc/update.markdown +++ b/doc/update.markdown @@ -1,26 +1,33 @@ -Update -====== +Upgrade Kanboard to a new version +================================= -**Always make a backup of your database before upgrading!** +Upgrading Kanboard to a newer version is seamless. +The process can be summarized to simply copy your data folder to the new Kanboard folder. +Kanboard will run database migrations automatically for you. + +Important things to do before updating +-------------------------------------- + +- Always make a backup of your data before upgrading +- Always read the [change log](https://github.com/fguillot/kanboard/blob/master/ChangeLog) to check for breaking changes +- Always close all user sessions (flush all sessions on the server) From the archive (stable version) --------------------------------- -1. Close all sessions (logout) -2. Rename your actual Kanboard directory (to keep a backup) -3. Uncompress the new archive and copy your `data` directory to the newly uncompressed directory. -4. Copy your custom `config.php` (if you created one) to the root of the newly uncompressed directory. -5. Make the directory `data` writeable by the web server user -6. Login and check if everything is ok -7. Remove the old Kanboard directory - +1. Decompress the new archive +2. Copy the content of your data folder into the newly uncompressed directory +3. Copy your custom `config.php` if you have one +4. Copy your plugins if necessary +5. Make sure the directory `data` is writeable by your web server user +6. Test +7. Remove your old Kanboard directory From the repository (development version) ----------------------------------------- -1. Close all sessions -2. `git pull` -3. `composer install` +1. `git pull` +2. `composer install` 3. Login and check if everything is ok Note: This method will install the **current development version**, use at your own risk. |
