Hello, I have installed osTicket 1.11 on my Ubuntu server. When I creating a new ticket, replying a ticket and even closing ticket, the "Loading" screen will stay on much longer than it used to be. It takes about few mintues to load. Any idea how to resolve it?


I've never had this problem running multiple sites on multiple servers running different versions of php and osticket over the years. So I can only surmise that this is something unique to your configuration and or server setup.

The 1.11 FAQ specifically says PHP 5.6+ and you are running an Older version. I would upgrade to 5.6 (or 7.0 or 7.1) and I would check your slow query log for mysql and see if it sheds any light on the issue.

    ntozier Hi notozier, Thanks for your response. I would try upgrading the php version to see if it solve the issue.

    ntozier Hi ntozier, i have upgraded the php version to 5.6. However the osticket still showing 5.5.9. Any idea how to update it?

      ramrajone Hi Ramrajone and ntozier, Thanks for the response. i did what you had advised. However the PHP version still showing 5.5.9.

      i did php -v on the terminal in ubuntu. It indeed upgraded to 5.6.

      Any advice? Appreciate that!

        ramrajone Hi Ramrajone, i have checked the PHP version and the server is showing 5.6.

        However, it is still showing 5.5.9 in osTicketing. Do i need to amend anything to update it?

        Thank you so much!

          You can run multiple versions of php on the same server.

          Running the command that you ran at a command line tells you what the command line is using for PHP. It does not tell you the version that your webserver is running for a specific webpage.

          If you only have one version installed... then you need to stop/start the webserver (apache) to have it use the new one. Otherwise the configuration keeps using the old one.

          If you have more than one version of PHP installed then you need to tell the webserver which version to use.

            ntozier ramrajone Thanks both for the help and advice. i have managed to change the php version of my ubuntu server and osticket.

            Unfortunately, the issue still persist. The loading screen still stuck and keep loading.

            is there any other way i can resolve it? Appreciate that.

            Hmm.
            Maybe enable the mysql slow query log and see if that indicates what query is taking too long?

            I can't imagine that it is that... especially since my DB is about 3x the size of yours and I dont have the same issue.

              5 days later

              @captainhelpdesk

              Stupid question: are you sure that your server can handle the load? I would recommend running some stress tests and/or monitoring on the server while actively being used to see if it's the server that's causing the slowness. If not you can move on to the below questions.

              Also, do you see any errors in your Apache or PHP error logs? What about any errors in your Ubuntu system logs?

              Cheers.

              Hi Folks, the loading time has reduced after i updated the FQDN in my osticket server. Although it does not entirely revert it back to what it used to be. Not sure if this is one of the solution. Open for comment.

                Write a Reply...