Configuration - UpdateCreated: 2022-04-26 15:44:26 || Updated: 2022-05-11 16:23:51
Keep your ITFlow instance updated with the latest features and security patches.
The updater can be accessed via Settings > Update. Updates will contain changes to both the filesystem and the database schema.
The majority of ITFlow updates are just changes to the PHP files. The update tab will show the latest git commits and offer to download them for you. In the background, this is just running git pull.
If you've edited any files, the auto-updater may fail - navigate to your web directory and run git pull to review and resolve the issue.
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 database_updates.php to update the database.
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. PHP Fatal error: Uncaught TypeError: mysqli_fetch_array(): Argument #1 ($result) must be of type mysqli_result, bool given in /var/www/html/). What this error is saying is that PHP failed to correctly pull data from the database, generally due to an error (and returned boolean false rather than a dataset) - this would be due to something not matching (table/column names may have been added/changed).
Additional note: 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.