miniflux-legacy/docs/upgrade.markdown

28 lines
921 B
Markdown
Raw Normal View History

2014-10-30 22:10:59 -04:00
Upgrade to a new version
========================
2016-12-28 21:03:04 -05: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-26 18:01:46 -05:00
2014-11-07 20:41:09 -05:00
### From the archive (stable version)
2014-10-30 22:10:59 -04:00
1. Close your session (logout)
2. Rename your actual miniflux directory (to keep a backup)
2015-12-07 21:05:31 -05:00
3. Decompress the new archive and copy your database file `db.sqlite` in the directory `data`
2014-10-30 22:10:59 -04:00
4. Make the directory `data` writeable by the web server user
2015-12-07 21:05:31 -05:00
5. Login and check if everything is OK
2014-10-30 22:10:59 -04:00
6. Remove the old miniflux directory
2014-11-07 20:41:09 -05:00
### From the repository (development version)
2014-10-30 22:10:59 -04:00
1. Close your session (logout)
2. `git pull`
2015-12-07 21:05:31 -05:00
3. Login and check if everything is OK
2014-10-30 22:10:59 -04:00
2016-12-28 21:03:04 -05: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)