Community  »  Applications  »  Sesha

Installing Sesha H5


This document contains instructions for installing the Sesha web-based inventory application on your system.

For information on the capabilities and features of Sesha, see the file README in the top-level directory of the Sesha distribution.

1   Prerequisites

To function properly, Sesha requires the following:

  1. A working Horde installation.

    Sesha runs within the Horde Application Framework, a set of common tools for Web applications written in PHP. You must install Horde before installing Sesha.


    Sesha H5 requires version 5.0+ of the Horde Framework - earlier versions of Horde will not work.


    Be sure to have completed all of the steps in the horde/docs/INSTALL file for the Horde Framework before installing Sesha. Many of Sesha's prerequisites are also Horde prerequisites. Additionally, many of Sesha's optional features are configured via the Horde install.

  2. SQL support in PHP

    Sesha stores its data in a backend - currently only SQL database is supported.

    Build PHP with whichever SQL driver you require; see the Horde horde/docs/INSTALL file for more details on using databases with Horde.

2   Installing Sesha

The RECOMMENDED way to install Sesha is using the PEAR installer. Alternatively, if you want to run the latest development code or get the latest not yet released fixes, you can install Sesha from Git.

2.1   Installing with PEAR

First follow the instructions in horde/docs/INSTALL to prepare a PEAR environment for Horde and install the Horde Framework.

When installing Sesha through PEAR now, the installer will automatically install any dependencies of Sesha too. If you want to install Sesha with all optional dependencies, but without the binary PECL packages that need to be compiled, specify both the -a and the -B flag:

pear install -a -B horde/sesha-alpha

By default, only the required dependencies will be installed:

pear install horde/sesha-alpha

If you want to install Sesha even with all binary dependencies, you need to remove the -B flag. Please note that this might also try to install PHP extensions through PECL that might need further configuration or activation in your PHP configuration:

pear install -a horde/sesha-alpha

3   Configuring Sesha

  1. Configuring Horde for Sesha

    Sesha requires an SQL backend for the Rdo storage driver. If you didn't setup an SQL backend yet, go to the configuration interface, select Horde from the list of applications and select the Database tab.

  2. Configuring Sesha

    You must login to Horde as a Horde Administrator to finish the configuration of Sesha. Use the Horde Administration menu item to get to the administration page, and then click on the Configuration icon to get the configuration page. Select Inventory from the selection list of applications. Fill in or change any configuration values as needed. When done click on Generate Inventory Configuration to generate the conf.php file. If your web server doesn't have write permissions to the Sesha configuration directory or file, it will not be able to write the file. In this case, go back to Configuration and choose one of the other methods to create the configuration file sesha/config/conf.php.

    Documentation on the format and purpose of the other configuration files in the config/ directory can be found in each file. You may create *.local.php versions of these files if you wish to customize Sesha's appearance and behavior. See the header of the configuration files for details and examples. The defaults will be correct for most sites.

  3. Creating the database tables

    Once you finished the configuration in the previous step, you can create all database tables by clicking the DB schema is out of date. link in the Sesha row of the configuration screen.

    Alternatively creating the Sesha database tables can be accomplished with Horde's horde-db-migrate utility. If your database is properly setup in the Horde configuration, just run the following:

    horde/bin/horde-db-migrate sesha
  4. Testing Sesha

    Use Sesha to create, modify, and delete categories and stock. Test at least the following:

    • Creating a new property
    • Creating an inventory category
    • Creating an inventory stock item
    • Modifying an item
    • Deleting an item

4   Obtaining Support

If you encounter problems with Sesha, help is available!

The Horde Frequently Asked Questions List (FAQ), available on the Web at

The Horde Project runs a number of mailing lists, for individual applications and for issues relating to the project as a whole. Information, archives, and subscription information can be found at

Lastly, Horde developers, contributors and users may also be found on IRC, on the channel #horde on the Freenode Network (

Please keep in mind that Sesha is free software written by volunteers. For information on reasonable support expectations, please read

Thanks for using Sesha!

The Horde team