meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
updates [2025/06/11 08:05] – clarify update_cli wrongecho | updates [2025/06/11 08:18] (current) – separate the two update processes: cli & web wrongecho | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Updates ====== | ====== Updates ====== | ||
- | * It's important to take regular (e.g. nightly) backups of your ITFlow instance, especially before updating | + | |
- | | + | |
- | * Updates will contain | + | * Always look over the changelog before running updates to check for breaking |
- | * The updater can be run in the app via **Settings > Update** or at the CLI using '' | + | * Updates are a two part process: |
+ | * Download | ||
+ | | ||
- | ===== Files ===== | + | ===== Web Interface |
+ | - Login to ITFlow as an admin | ||
+ | - Navigate to Admin Settings > Update | ||
+ | - Select **Update App** | ||
+ | - 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: '' | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Explanatory notes about updates (to be tidied up) ===== | ||
+ | ==== Files ==== | ||
The majority of ITFlow updates are just changes to the PHP files. The update tab will show the latest [[https:// | The majority of ITFlow updates are just changes to the PHP files. The update tab will show the latest [[https:// | ||
Line 14: | Line 33: | ||
{{updates_git_pull.png? | {{updates_git_pull.png? | ||
- | ===== Database | + | ==== Database ==== |
After pulling down the latest files, the update page will then show if the latest database version has increased. If it has, it will offer to run the commands in // | After pulling down the latest files, the update page will then show if the latest database version has increased. If it has, it will offer to run the commands in // |