|
SocorroUIInstallation
Instructions for installing the Socorro UI
Upgrading? See SocorroUpgrade Installing Socorro UICheck Socorro DBNow that you have data in your dumps and reports tables, you are ready to setup the Socorro UI. Crash Dump data flows from the Breakpad Client to the Socorro Backend collector onto the filesystem. Next a processor run via the jobs table populates the reports table. Populate with Products and Versionsinsert into the branches table values for product, version, and branch. Example: product=Firefox, version=3.0.5. branch=1.9 These values should match what is coming in from your collector/processor. product and version are the more important columns here. If you project doesn't track at the branch level, just set this to 1.0 or some other value. This is implicit knowlelge of your release engineer and unneeded if your product has only one mainline of development you may not need branch. Mozilla uses branch as another way to narrow down results, for us it mirrors our Gecko platform,1.9, 1.9.1, etc. Your products and versions should be setup in the admin branches screen. Now that we have data, we are ready to install the frontend UI. Apache Server Configuration
svn checkout http://socorro.googlecode.com/svn/trunk/webapp-php /data/www/mycrashreporter PHP Webapp Installation
cp htaccess-dist .htaccess vim htaccess cp application/config/config.php-dist application/config/config.php vim application/config/config.php cp application/config/database.php-dist application/config/database.php vim application/config/database.php vim application/config/cache.php cp application/config/cache_memcache.php-dist application/config/cache_memcache.php vim application/config/cache_memcache.php cp application/config/application.php-dist application/config/application.php cp application/config/webserviceclient.php-dist application/config/webserviceclient.php cp application/config/auth.php-dist application/config/auth.php $config['driver'] = 'LDAP'; -- running without https support? use $config['proto'] = 'http'; -- next you'll need to enter your LDAP settings: cp application/config/ldap.php-dist application/config/ldap.php chmod a+rw application/logs application/cache Note: Configuration files such as config.php-dist are not suitable for a production installation! Please lock down dev friendly config settings such as: $config['display_errors'] = FALSE; Application CustomizationSocorroReporterConfiguration - explains how to customize aspects of the reporter. Cron Job InstallationThere is also a "Canned Reports" aspect to the UI. These are populated via cron jobs. Topcrasher Scriptcp socorro/cron/topcrashes_config.py.dist socorro/cron/topcrashes_config.py
ServerStatus ScriptSimilar to Topcrasher Script... It should be configured for 5 minute cron job. See ServerStatus for details. Topcrasher By UrlSimilar to Topcrasher Script... cp scripts/config/topcrashbyurlconfig.py.dist scripts/config/topcrashbyurlconfig.py It should be configured for 5 minute cron job. See TopCrashersByUrl for details. Mean Time Before Failure ScriptSimilar to Topcrasher Script... cp scripts/config/mtbfconfig.py.dist scripts/config/mtbfconfig.py It should be configured for once per day runs. See MeanTimeBeforeFailure for details. Testing our setupThe homepage search screen lets you do ad hoc queries. The way it filters is to join the branches table to the reports table and constrain it by date_processed. If you aren’t getting any results, look into the reports table and pick an item. If the date_processed was “Feb 12th, 2009” then use the date picker to choose “Feb 13th, 2009” and leave the date range at 1 week. So now that you have search working, next up are reports: These are powered by cron jobs which will populate various tables http://code.google.com/p/socorro/wiki/Deployment mentions topcrashers signature and server status also there are http://code.google.com/p/socorro/wiki/MeanTimeBeforeFailure http://code.google.com/p/socorro/wiki/TopCrashersByUrl |
Sign in to add a comment