- Request Tracker: how to delete stuff (tickets, users, etc.) (May 2013)
- Request Tracker: set up external authentication via LDAPS (May 2013)
- openSUSE 12.3: How I installed and set up Request Tracker (May 2013)
- Request Tracker documentation (February 2013)
- Request Tracker says config file is locked - and it won't open up (February 2013)
- openSUSE 12.2: How I installed and set up Request Tracker (February 2013)
Showing posts with label rt. Show all posts
Showing posts with label rt. Show all posts
2013-05-30
Linux System Administration: Request Tracker
This post contains links to all posts on this blog that relate to Request Tracker:
Request Tracker: how to delete stuff (tickets, users, etc.)
Before I learned more about Request Tracker's ACL system and the DeleteTicket right, I noticed that Request Tracker's web UI didn't seem to offer any options for deleting stuff. There was no way to issue a "delete ticket" or "delete user" command. Or was there?
Of course, now I know that if I log in as 'root' or have 'DeleteTicket' and other administrator-level rights, there _is_ a "delete ticket" option in the Request Tracker web UI.
Users are typically not deleted, but rather disabled. This is done by disabling the option in the user's settings where it says "Let this user access RT".
Now, the old blog entry was about the Shredder, which is a tool for wiping out Request Tracker objects by deleting them, along with all their associated baggage, from the underlying database. Since the RT database is quite complex, making any changes to it is fraught with danger. The Shredder provides a safe way to not just delete, but completely eradicate (wipe out) objects. Be careful when using it.
In later versions of RT (4.0.13, 4.0.17, etc.), the Shredder is available (to the 'root' RT user) through the web UI. The rest of this old blog entry is about accessing the Shredder from the command line.
On my openSUSE 12.3 system with Request Tracker 4.0.13 installed and running, I can do:
Hmm, interesting. Now, let me look at
Although the summary says it's a "script which wipe out tickets from RT DB", it can wipe out more than just tickets:
Of course, now I know that if I log in as 'root' or have 'DeleteTicket' and other administrator-level rights, there _is_ a "delete ticket" option in the Request Tracker web UI.
Users are typically not deleted, but rather disabled. This is done by disabling the option in the user's settings where it says "Let this user access RT".
Now, the old blog entry was about the Shredder, which is a tool for wiping out Request Tracker objects by deleting them, along with all their associated baggage, from the underlying database. Since the RT database is quite complex, making any changes to it is fraught with danger. The Shredder provides a safe way to not just delete, but completely eradicate (wipe out) objects. Be careful when using it.
In later versions of RT (4.0.13, 4.0.17, etc.), the Shredder is available (to the 'root' RT user) through the web UI. The rest of this old blog entry is about accessing the Shredder from the command line.
On my openSUSE 12.3 system with Request Tracker 4.0.13 installed and running, I can do:
# cd /usr/sbin # ls rt-* rt-attributes-viewer rt-email-group-admin rt-setup-database rt-clean-mason-cache rt-fulltext-indexer rt-setup-fulltext-index rt-clean-sessions rt-preferences-viewer rt-shredder rt-dump-metadata rt-server rt-test-dependencies rt-email-dashboards rt-server.fcgi rt-validate-aliases rt-email-digest rt-session-viewer rt-validator
Hmm, interesting. Now, let me look at
rt-shredder. One way would be to simply run less on that file. However, since the documentation for the script is included in the same file as the script, I can do this:# perldoc rt-shredder
Although the summary says it's a "script which wipe out tickets from RT DB", it can wipe out more than just tickets:
# rt-shredder --plugin list
Plugins list:
Objects
Users
Attachments
Summary
Tickets
SQLDump
# rt-shredder --plugin help-Users
# rt-shredder --plugin help-Tickets
2013-05-22
openSUSE 12.3: How I installed and set up Request Tracker
A new version of openSUSE is out and my blog entry describing how I installed and set up Request Tracker on openSUSE 12.2 is now out of date.
This blog entry, then, describes how I installed Request Tracker on openSUSE 12.3.
This blog entry, then, describes how I installed Request Tracker on openSUSE 12.3.
2013-02-28
Request Tracker documentation
Request Tracker documentation is scattered in various places. This is a list of specific documentation resources I have found so far.
2013-02-20
Request Tracker says config file is locked
Symptom: I openrf Request Tracker in my browser and instead of the login screen, it said:
Since I had no idea what the cause could be, I asked Google. All the forum entries it pointed me to said that it's because request-tracker can't access MySQL. But on my system this wasn't the case -- MySQL was running fine.
Checking the logs, I found this intriguing message:
I checked my
Later, I found that I shouldn't be setting
Config file /etc/request-tracker/RT_SiteConfig.pm is locked
Since I had no idea what the cause could be, I asked Google. All the forum entries it pointed me to said that it's because request-tracker can't access MySQL. But on my system this wasn't the case -- MySQL was running fine.
Checking the logs, I found this intriguing message:
I checked my
RT_SiteConfig.pm and, sure enough, I had a trailing slash in the URL. After removing it and restarting Apache, the error went away.Later, I found that I shouldn't be setting
WebBaseURL anyway -- quoting from the RT 4.0 Documentation:$WebBaseURL, $WebURL
Usually you don't want to set these options. The only obvious
reason is if RT is accessible via https protocol on a non standard
port, e.g. 'https://rt.example.com:9999'. In all other cases these
options are computed using $WebDomain, $WebPort and $WebPath.
2013-02-11
openSUSE 12.2: How I installed and set up Request Tracker
One of my projects at work is to learn Request Tracker. Here's how I installed it and got it running on openSUSE 12.2.
Subscribe to:
Posts (Atom)