Table of Contents

Updates

Web Interface

  1. Login to ITFlow as an admin
  2. Navigate to Admin Settings > Update
  3. Select Update App
  4. If prompted, also select Update database (you may have to do this several times)

CLI

  1. Connect to your server via SSH as a user with root privileges
  2. Navigiate to the ITFlow scripts directory (usually /var/www/itflow.yourdomain.com/scripts)
  3. To update the app files run: sudo -u www-data php update_cli.php
  4. Then apply database updates: sudo -u www-data php update_cli.php --update_db (this may have to be run several times)


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 git commits and offer to download them for you. In the background, this is just running git pull.

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.

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 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

Additional notes: