9 points to note while installing osTicket

by Ankur Jain on December 14, 2010

Share This Article:

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 like osticket_1.9.0 (or osticket_x.y.z in general)
  2. You only need to upload the contents of upload folder inside osticket_1.9.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 -

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.

Ankur February 6, 2011 at 4:51 AM

Thanks Michael. Good to know it helped you!

Sergani March 26, 2011 at 4:32 PM

Windows??

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

Ankur February 28, 2011 at 9:15 PM

@kg: Not sure. Check with OsTicket support folks

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 :)

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.

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.

nikhil February 5, 2013 at 2:52 PM

it helped.Nicely put up.

Matt August 27, 2013 at 12:09 AM

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

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.

loganayaki August 31, 2013 at 2:50 PM

thanks alot.It really helped me. superb :)

saj September 20, 2013 at 9:00 PM

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

Rajiv May 27, 2014 at 9:49 PM

Hi. Would you be able to give me some feedback on scalability of osticket, especially when on a shared hosting ? I would like to use this as a query management system with about 15 odd users answering queries, and the volume of incoming mail queries is quite high – something like 300-400 mails daily. Not sure if the shared hosting environment on which our site is hosted would support this. Any inputs would be most welcome. Thanks in advance.

Ankur Jain May 29, 2014 at 3:20 PM

@Rajiv: osTicket is one fine piece of software. There are lots of variables involved when it comes to shared hosting, however if it is a decent enough host, managing 300-400 mails should not be a problem at all.

Rajiv June 13, 2014 at 8:32 PM

@ Ankur – Thanks so much for your inputs, Ankur. Highly appreciated !

Comments on this entry are closed.

Previous post:

Next post: