Skip to content

Commit

Permalink
Merge branch 'ColVisTec-upgrade-flag'
Browse files Browse the repository at this point in the history
  • Loading branch information
jcormier committed Sep 3, 2024
2 parents e4aff70 + 10450b9 commit 698b3f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -983,6 +983,8 @@ Replace `x.x.x` with the version you are upgrading from. For example, if you are
docker run --name=redmine -d [OPTIONS] sameersbn/redmine:5.1.3
```
When an upgrade is in progress the variable `REDMINE_WAS_UPDATED` will be defined and set to `yes`. This allows easy integration of individual upgrade-steps via `entrypoint.custom.sh`, `pre-install.sh`, and `post-install.sh`.
## Shell Access
For debugging and maintenance purposes you may want access the containers shell. If you are using docker version `1.3.0` or higher you can access a running containers shell using `docker exec` command.
Expand Down
1 change: 1 addition & 0 deletions assets/runtime/functions
Original file line number Diff line number Diff line change
Expand Up @@ -1058,6 +1058,7 @@ migrate_database() {

# Now that database has been migrated, update version file
echo ${REDMINE_VERSION} | exec_as_redmine tee --append ${REDMINE_DATA_DIR}/tmp/VERSION >/dev/null
export REDMINE_WAS_UPDATED=yes
fi
}

Expand Down

0 comments on commit 698b3f1

Please sign in to comment.