meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
updates [2023/04/28 23:34] – [Files] johnny | updates [2025/07/08 22:54] (current) – [CLI] bigbug | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Updates ====== | ||
+ | {{:: | ||
+ | |||
+ | * New features, bug fixes and security patches are regularly released - it's important to stay up-to-date | ||
+ | * It's important to take regular (e.g. nightly) backups of your ITFlow instance; **you should not attempt to run updates without a current backup** (e.g. VM snapshot) | ||
+ | * Always look over the changelog before running updates to check for breaking changes | ||
+ | * Updates are a two part process: | ||
+ | * Download the updated files | ||
+ | * Apply any required database migrations | ||
+ | |||
+ | ===== Web Interface ===== | ||
+ | - Login to ITFlow as an admin | ||
+ | - Navigate to Admin Settings > Update | ||
+ | - If any updates are available, you will see the git commit details | ||
+ | - Select **Update App** (this downloads the latest app files) | ||
+ | - If prompted, also select **Update database** (you may have to do this several times) | ||
+ | |||
+ | ===== CLI ===== | ||
+ | - Connect to your server via SSH as a user with root privileges | ||
+ | - Navigiate to the ITFlow scripts directory (usually ''/ | ||
+ | - To update the app files run: '' | ||
+ | - Then apply database updates: '' | ||
+ | |||
+ | ---- | ||
+ | |||
+ | |||
+ | ===== Additional notes ===== | ||
+ | * It is crucial that you run the database updater as soon as possible after downloading the latest app files. Otherwise, you will begin seeing database-related issues in your error log. | ||
+ | |||
+ | * The database update applies one update at a time (see // | ||
+ | |||
+ | * If you run into any issues running multiple database updates, you should try running the database updates via the CLI. Some updates alter files in your PHP session, which might only be set during login. This is usually mentioned in the breaking changes. |