meta data for this page
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
updates [2023/02/01 05:21] – created - external edit 127.0.0.1 | updates [2024/08/29 16:13] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Updates ====== | ||
+ | * It's important to take regular (e.g. nightly) backups of your ITFlow instance, especially before updating | ||
+ | * **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**. | ||
+ | |||
+ | ===== Files ===== | ||
+ | |||
+ | 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. | ||
+ | |||
+ | {{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: ** | ||
+ | * The database update applies one update at a time. If there are multiple updates needed, you will need to manually cycle through each update. | ||
+ | |||
+ | * If you run into any issues running multiple database updates, it may be worth signing out and back in again between updates. Some updates alter files in your PHP session, which might only be set during login. | ||
+ | |||
+ | {{: |