9 points to note while installing osTicket

by Ankur Jain on December 14, 2010

osTicket is one of the best open source ticketing softwares I have encountered. Here are 9 points that may help you while and after installing osTicket. I am not going to osticketrepeat what is already present in installation guide but want to compliment it with my findings.

  1. Download is available as a .tar.gz extension.  Use unzipping softwares like 7zip to first uncompress .gz and then .tar. Finally you will get a folder lke osticket_1.6.0 (or osticket_x.y.z in general)
  2. You only need to upload the contents of upload folder inside osticket_1.6.0, do NOT upload the upload folder itself to your webserver. (Here I am assuming you have uploaded the contents inside support folder. This will be needed in the next steps)
  3. After uploading the files above, go to yourdomain.com/support/include and rename the file ost-config.sample.php to ost-config.php. Make sure you chmod it to 777.
  4. Now create a mysql database inside your webhost control panel. Note the database name, hostname, username, password. These will be needed in next step.
  5. Now you are ready to use the web installation script which can be located at http://www.yourdomain.com/support/setup/
  6. Once done with installation, make sure to chmod ost-config.php back to 644 and delete the setup directory.
  7. You can go to http://www.yourdomain.com/support/scp/admin.php?t=settings to modify settings. In case you wish to enable attachments for users, click on attachments tab and check various boxes acc. to your requirement. By default the maximum size allowed for an attachment was 1 MB which I found to be quite restrictive so I choose to increase it to 10 MB (10485760 bytes) Similarly I have included .doc, .pdf, .docx, .zip, .jpg, .png, .gif, .bmp, .txt as accepted file formats.
  8. Attachments folder option is a bit tricky one. You need to give the complete path of the folder where you wish to send the attachments. So I suggest you to create a new folder under support folder called attachments. Now you can either ask your webhost to provide you a complete path to the folder you created above OR create a fie called test.php inside the support folder and paste this code inside it <?php echo $_SERVER['DOCUMENT_ROOT'];?> Now run http://www.yourdomain.com/support/test.php and you will see the complete path to the folder.
  9. When you go to create a new ticket, you will see an additional field for phone number. in case you wish to remove the phone number field follow directions here

Bonus Points -

  • In case you use Google Apps for domains and want to set that for incoming emails with OSTicket, use this link (Remember you can’t use Email Piping feature with Google Apps you have to go for Pop Access and enable cron on your webhost)
  • In case you get errors in osTicket when an already logged-in user tries to submit a ticket, follow the 2nd point on this post.

{ 13 comments… read them below or add one }

Michael M January 31, 2011 at 10:34 AM

Great post, it saved us some headache while trying to do a fresh install of OS Ticket this morning.
I had trouble deleting the setup directory. I was able to delete the whole contents of the directory but not the directory itself. I *fixed* the issue by renaming the directory to something useless that I’ll never use.

Reply

Ankur February 6, 2011 at 4:51 AM

Thanks Michael. Good to know it helped you!

Reply

Sergani March 26, 2011 at 4:32 PM

Windows??

Reply

kg February 24, 2011 at 6:39 PM

is it possible to run osticket for my local lan netowork and not online.
how can i install , pls help

Reply

Ankur February 28, 2011 at 9:15 PM

@kg: Not sure. Check with OsTicket support folks

Reply

Sergani March 26, 2011 at 4:31 PM

If you’re running Linux, I may be able to help…

Basically you’ll do a little firewall work, easy not hard… this is just one of the ways, the easiest :)

Reply

Ranjandas July 26, 2011 at 10:49 AM

Yes, you can host osticket in your local lan network if you have any webserver,php and mysql server installation. You can use xampp if needed if you are using windows OS.

Reply

Bro. Ignatius Mary March 19, 2011 at 3:55 AM

No one seems to know how to fix this design flaw in osTicket. Perhaps you have some ideas?

The autoresponse emails are not word wrapping correctly. The lines break in the middle of words or urls. An example:

Our customer care team has created a ticket, #981546 on your behalf, with t
he following message.

The Votive Chapels are not displaying the lit candles.

If you wish to provide additional comments or information regarding this is
sue, please don’t open a new ticket. You can update or view this ticket’s p
rogress online here: http://www.saint-mike.org/xxxxx/support/view.php?e=e
xample@saint-mike.org&t=981546.

Reply

nikhil February 5, 2013 at 2:52 PM

it helped.Nicely put up.

Reply

Matt August 27, 2013 at 12:09 AM

Great post. I was stuggling with the attachment directory. You saved me the trouble. Thanks again!

Reply

Eric Chappuis August 28, 2013 at 1:07 PM

Thanks! Point 8 very usefull! the test.php was blocked or failed on my hostgator, but I was able to see the full path on the file editor.

Reply

loganayaki August 31, 2013 at 2:50 PM

thanks alot.It really helped me. superb :)

Reply

saj September 20, 2013 at 9:00 PM

please help i cannot get attachments to work am stuck :(

Reply

Leave a Comment

Previous post:

Next post: