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 [2025/06/22 06:40] – [Updates] add image wrongecho | updates [2025/06/22 06:47] (current) – tidy wrongecho | ||
---|---|---|---|
Line 9: | Line 9: | ||
* Download the updated files | * Download the updated files | ||
* Apply any required database migrations | * Apply any required database migrations | ||
+ | |||
===== Web Interface ===== | ===== Web Interface ===== | ||
- Login to ITFlow as an admin | - Login to ITFlow as an admin | ||
- Navigate to Admin Settings > Update | - Navigate to Admin Settings > Update | ||
- | - Select **Update App** | + | |
+ | | ||
- If prompted, also select **Update database** (you may have to do this several times) | - If prompted, also select **Update database** (you may have to do this several times) | ||
Line 22: | Line 24: | ||
---- | ---- | ||
- | |||
- | ---- | ||
- | |||
- | ===== 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:// | ||
- | |||
- | If you've manually edited any files, the updater will fail - navigate to your web directory and run git pull to review and resolve the issue. | ||
- | |||
- | {{updates_git_pull.png? | ||
- | |||
- | ==== 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 // | ||
- | |||
- | If you have updated your files and the database is showing it needs an update, it is crucial that you run the database updater as soon as possible. | ||
- | |||
- | If you do not update the database after updating the files, you will start seeing database-related errors | ||
- | * e.g. '' | ||
- | |||
- | * 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 // | ||
- | **Additional notes: ** | + | ===== Additional notes ===== |
- | * The database | + | * It is crucial that you run the database |
- | * If you run into any issues running | + | * 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. |