Skip to content

Commit

Permalink
Re-add missing warning about upgrades in _build
Browse files Browse the repository at this point in the history
  • Loading branch information
bitwalker committed Jun 2, 2017
1 parent 6af995e commit ae3b4f8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/Upgrades and Downgrades.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ and installed. ERTS must be packaged in the release in order for hot upgrades/do

## A bit about upgrades

**NOTE**: You *cannot* perform upgrades from within the `_build` directory - you must deploy the tarballs
as described in the Walkthrough document. Hot upgrades/downgrades mutate the release directory, and some of
the files which are required for building releases will be missing if you do a build after upgrading a release
there, resulting in errors when you attempt to upgrade/downgrade from that release. Always deploy to another
local directory (for example, `/tmp`) first.

When building upgrade releases, Distillery will ensure that all modified
applications have appups generated for them. Appups are what tell `:systools` how
to generate the `relup` file, which are low-level instructions for the release handler,
Expand Down

0 comments on commit ae3b4f8

Please sign in to comment.