OpenPSA installation

From MidgardWiki

Jump to: navigation, search

OpenPSA needs a working Midgard installation, see [1] for the relevant details.

Datagard Installation

Starting from version 8.09.6, there is a Datagard command line switch that installs and configures OpenPSA and its corresponding database completely from the command line, so this should be the preferred method for most use cases:

datagard -a install  -p openpsa

Afterwards, you can log into your new installation, create the owner group and do all necessary customizations in Asgard.

Manual Installation

Otherwise, you can install OpenPSA manually on any system running Midgard/MidCOM 8.09 by installing the respective PEAR packages from the MidCOM PEAR channel:

pear install ragnaroek/org_openpsa_core

Dependencies will be installed automatically. You can ignore error messages produced by template_OpenPsa2 and should run the following commands after all components are installed:

datagard -a upgrade
midgard-schema database_name

After stopping and starting Apache, you can create a new host with org.openpsa.mypage as the root topic (it should work with others as well, but that's the recommended setup) and create Topics for all the components you want to use directly underneath it.

Once all topics are created, you should go to /sitegroup-config/org.openpsa.core/ in Asgard and delete or empty the snippet 'config'. Afterwards, reload the website so that the siteconfig cache gets regenerated with all topics set.

Then, you can create the owner organization and copy its GUID into the config key owner_organization in /sitegroup-config/org.openpsa.core/config

Personal tools