Skip to content
christinerogers edited this page Jun 9, 2016 · 46 revisions

HOME > SETUP

If you are installing LORIS, please see the README and follow all Installation steps for the most recent Release, as well as additional notes on how to run the install script and set up Loris for different operating systems. Then following the Setup and Configuration instructions below in this wiki.

CentOS Install Readme

Mac Install Readme - Note Mac OS X is no longer supported as of 15.10

Initial Setup and Configuration

Follow these steps to setup and customize your LORIS

  1. Install Script
  2. Project Customization
  3. Behavioural Database
  4. Imaging Database
  5. LORIS Modules
  6. Data Querying Tool
  7. Backups
  8. Security: Enabling SSL
  9. Enable Mail Server

Updating your LORIS

We recommend upgrading to the most recent LORIS release.

Update your LORIS in a few steps:

  • Download the new release codebase. Be careful of overwriting any custom modifications that you may have added - you'll want to merge these with the code updates.
  • Apply the MySQL release-upgrade patch found in the SQL/ directory. Carefully note modifications to data columns and data type definitions
  • Check your project/ directory for code that may be overriding the main Loris codebase - these files may need updating to work with the release codebase. Note that as of 16.0.0 release, custom module support has changed
  • Review all Release Notes for Existing Projects - follow the recommended steps, and note key changes tagged with Caveat for Existing Projects.
  • If old template code continues to be sourced, clear your smarty/templates_c directory where templates are cached (NB: clear smarty/templates_c/ but do not clear smarty/templates/)

Note: If you are a developer used to working on the development branch, note that as of 15.10 the master branch is reserved for stable releases. e.g. 16.1-dev is the next development branch after 16.0.*

Upgrade Tips: It may help to update tables to utf8 character set:

ALTER TABLE users CONVERT TO CHARACTER SET utf8;

Updating User Permissions

Re-grant the administrative user all available permissions:

INSERT IGNORE INTO `user_perm_rel` (userID, permID) SELECT DISTINCT 1, permID FROM permissions;

Useful Resources

Clone this wiki locally