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/10/24 16:20] – andrewmalsbury | updates [2025/07/08 22:54] (current) – [CLI] bigbug | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Updates ====== | ====== Updates ====== | ||
| - | * **Keep your ITFlow instance updated** with the latest features and security patches. | + | {{:: |
| - | * Updates will contain changes to both the filesystem and the database schema. | + | |
| - | * The updater can be accessed via **Settings > Update**. | + | |
| - | * It's important to take regular (e.g. nightly) backups of your ITFlow instance, especially before updating | + | |
| - | ===== Files ===== | + | * 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 | ||
| - | The majority of ITFlow updates are just changes to the PHP files. The update tab will show the latest [[https:// | + | ===== Web Interface ===== |
| + | - Login to ITFlow | ||
| + | - Navigate to Admin Settings > Update | ||
| + | - If any updates are available, you will see the git commit details | ||
| + | - Select **Update App** (this downloads | ||
| + | - If prompted, also select **Update database** (you may have to do this several times) | ||
| - | If you've edited any files, the auto-updater will fail - navigate | + | ===== CLI ===== |
| + | | ||
| + | - Navigiate | ||
| + | - To update the app files run: '' | ||
| + | - Then apply database updates: '' | ||
| - | {{updates_git_pull.png? | + | ---- |
| - | ===== Database ===== | ||
| - | After pulling down the latest files, | + | ===== Additional notes ===== |
| + | * It is crucial that you run the database updater as soon as possible after downloading | ||
| - | If you have updated your files and the database | + | * The database update |
| - | If you do not update the database after updating the files, you will start seeing database-related errors | + | |
| - | | + | |
| - | + | ||
| - | * What this error is saying is that PHP failed to correctly pull data from the database. The query returned boolean false rather than a dataset. This would be due to something not matching (table/ | + | |
| - | + | ||
| - | * If you are ever unable to login to due not updating the database, you can manually apply the relevant SQL changes in // | + | |
| - | + | ||
| - | + | ||
| - | // | + | |
| - | + | ||
| - | {{: | + | |