OTRS

From Wikitech
(Difference between revisions)
Jump to: navigation, search
(To upgrade)
(some updates)
Line 4: Line 4:
 
*URL is https://secure.wikimedia.org/otrs/index.pl
 
*URL is https://secure.wikimedia.org/otrs/index.pl
 
*The root user/pass is in /home/wikipedia/doc/otrs
 
*The root user/pass is in /home/wikipedia/doc/otrs
*Primary db is on [[srv179]], replica on ????. OTRS uses only the primary DB, they apparently don't support slaves.
+
*Primary db is on [[db9]], replica on [[db10]]. OTRS uses only the primary DB, they apparently don't support slaves.
*The codebase is patched, e.g. for supporting one-click-spam
+
*The codebase is patched, e.g. for supporting one-click-spam. The patches can be found at http://svn.wikimedia.org/svnroot/mediawiki/trunk/otrs
** '''since we have no current record of such patches, such patches are being removed. if you find them and can narrow them down, please point them out'''
+
  
 
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.
 
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.
Line 24: Line 23:
 
#* cd Kernel/Output/HTML && ln -s Standard OTRS
 
#* cd Kernel/Output/HTML && ln -s Standard OTRS
 
# Set permissions on the dir, eg:
 
# Set permissions on the dir, eg:
#* bin/SetPermissions.sh /opt/otrs-X.Y.Z otrs apache otrs apache
+
#* bin/SetPermissions.pl --secure --otrs-user=otrs --web-user=apache --otrs-group=otrs --web-group=apache /opt/otrs-X.Y.Z
# Apply patches
+
# Get the patches with svn export -f -d /opt/otrs-X.Y.Z http://svn.wikimedia.org/svnroot/mediawiki/trunk/otrs
#* '''What patches? Please add record of them!'''
+
# Apply them with quilt push -a
 
# change the /opt/otrs symlink to the new version
 
# change the /opt/otrs symlink to the new version
 
# start postfix
 
# start postfix
 
# send a mail to e.g. info-en and check that it shows up in OTRS
 
# send a mail to e.g. info-en and check that it shows up in OTRS
 
== Troubleshooting ==
 
 
* After 2.1.8 upgrade, ticket zooming failed trying to load Kernel::System::LinkObject::FAQ. Had to go to the Admin Package Manager screen and reinstall the FAQ module.
 
  
 
[[Category:Mail]]
 
[[Category:Mail]]

Revision as of 06:30, 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...
  5. cp -a ../otrs/.procmailrc ../maintenance
  6. Set it to use the shared var dir:
    • mv var var-dist && ln -s ../otrs-var var
  7. Symlink the templates...
    • cd Kernel/Output/HTML && ln -s Standard OTRS
  8. 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
  9. Get the patches with svn export -f -d /opt/otrs-X.Y.Z http://svn.wikimedia.org/svnroot/mediawiki/trunk/otrs
  10. Apply them with quilt push -a
  11. change the /opt/otrs symlink to the new version
  12. start postfix
  13. 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