OTRS

From Wikitech
(Difference between revisions)
Jump to: navigation, search
(some updates)
(To upgrade)
Line 16: Line 16:
 
# Fetch new OTRS code
 
# Fetch new OTRS code
 
# Decompress into /opt/otrs-X.Y.Z
 
# Decompress into /opt/otrs-X.Y.Z
# Copy in Kernel/Config files...
+
# Copy in Kernel/Config/Files/*, home, var/article, var/log, var/spool, var/stats, var/sessions
# cp -a ../otrs/.procmailrc ../maintenance
+
# Set it to use the shared var dir:
+
#* mv var var-dist && ln -s ../otrs-var var
+
 
# Symlink the templates...
 
# Symlink the templates...
 
#* cd Kernel/Output/HTML && ln -s Standard OTRS
 
#* cd Kernel/Output/HTML && ln -s Standard OTRS

Revision as of 06:36, 28 January 2009

OTRS is installed on bart.wikimedia.org.

You no longer need to invoke a specific script or update config files to add email addresses to OTRS; mchenry will automatically see that the queue exists or has disappeared.

It is possible (due to negative caching at the secondary mail exchangers) that new addresses will take up to two hours to begin working.

To upgrade

  1. Stop postfix. You don't want to have mail coming in while OTRS is broken.
  2. Fetch new OTRS code
  3. Decompress into /opt/otrs-X.Y.Z
  4. Copy in Kernel/Config/Files/*, home, var/article, var/log, var/spool, var/stats, var/sessions
  5. Symlink the templates...
    • cd Kernel/Output/HTML && ln -s Standard OTRS
  6. Set permissions on the dir, eg:
    • bin/SetPermissions.pl --secure --otrs-user=otrs --web-user=apache --otrs-group=otrs --web-group=apache /opt/otrs-X.Y.Z
  7. Get the patches with svn export -f -d /opt/otrs-X.Y.Z http://svn.wikimedia.org/svnroot/mediawiki/trunk/otrs
  8. Apply them with quilt push -a
  9. change the /opt/otrs symlink to the new version
  10. start postfix
  11. send a mail to e.g. info-en and check that it shows up in OTRS
Personal tools
Namespaces

Variants
Actions
Navigation
Ops documentation
Wiki
Toolbox