Upgrade to a new version
========================

### Prerequisites

- **You must backup your data!**
- **You must read the [ChangeLog](https://github.com/miniflux/miniflux/blob/master/ChangeLog) to check for breaking changes**

### From the archive (stable version)

1. Close your session (logout)
2. Rename your actual miniflux directory (to keep a backup)
3. Decompress the new archive and copy your database file `db.sqlite` in the directory `data`
4. Make the directory `data` writeable by the web server user
5. Login and check if everything is OK
6. Remove the old miniflux directory

### From the repository (development version)

1. Close your session (logout)
2. `git pull`
3. Login and check if everything is OK

### Notes

- Upgrading from version 1.1.x to 1.2.x require a manual database conversion,
the procedure is documented in the [ChangeLog](https://github.com/miniflux/miniflux/blob/master/ChangeLog)