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 [2024/08/29 20:13] – external edit 127.0.0.1 | 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 changes | + | * Always look over the changelog before running updates |
- | * The updater can be accessed via **Settings > Update**. | + | * Updates are a two part process: |
+ | | ||
+ | | ||
- | ===== 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:// | ||
- | If you've edited any files, the auto-updater will fail - navigate to your web directory and run git pull to review and resolve the issue. | + | If you' |
{{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 // |