miniflux-legacy/docs/upgrade.markdown

28 lines
921 B
Markdown
Raw Normal View History

2014-10-31 03:10:59 +01:00
Upgrade to a new version
========================
2016-12-29 03:03:04 +01:00
### Prerequisites
- **You must backup your data!**
- **You must read the [ChangeLog](https://github.com/miniflux/miniflux/blob/master/ChangeLog) to check for breaking changes**
2016-12-27 00:01:46 +01:00
2014-11-08 02:41:09 +01:00
### From the archive (stable version)
2014-10-31 03:10:59 +01:00
1. Close your session (logout)
2. Rename your actual miniflux directory (to keep a backup)
2015-12-08 03:05:31 +01:00
3. Decompress the new archive and copy your database file `db.sqlite` in the directory `data`
2014-10-31 03:10:59 +01:00
4. Make the directory `data` writeable by the web server user
2015-12-08 03:05:31 +01:00
5. Login and check if everything is OK
2014-10-31 03:10:59 +01:00
6. Remove the old miniflux directory
2014-11-08 02:41:09 +01:00
### From the repository (development version)
2014-10-31 03:10:59 +01:00
1. Close your session (logout)
2. `git pull`
2015-12-08 03:05:31 +01:00
3. Login and check if everything is OK
2014-10-31 03:10:59 +01:00
2016-12-29 03:03:04 +01:00
### 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)