Hello All, we have a osTicket Version v1.15.2 (cb6766e)— v1.15.8 installed in one of the linux server with Apache/2.4.6 (CentOS). I am trying to install a new latest version in another windows server but every time i am restoring the database i am always getting "This site can’t be reached localhost refused to connect." if i am installing a fresh instance everything works fine but as i am replacing the ost-config file with the old running one it starts giving me this error. I have addressed all the steps which were detailed in the documentations and in this forum but all fails on the old db restore.
I am in need of desperate help from this wonderful community. thanks
ssalehahmed2
Did you update the ost-config information to match the information of the new server?
Cheers.
please guide me what information needs to be changed in the ost-config file. thanks
ssalehahmed2 The database information.
all of the database info except "secret_salt" key is same on both new and new ost file as you can see in the pictures please let me know if i am doing something wrong.
Right, on the new server do you have a database named osticket and a MySQL user by the name of ostuser with access to the osticket database?
osticket
ostuser
yes i do
if i am just replacing the old ost-config file with the new file without merging the old database to new one i can login to admin panel but its just like a new instance and not giving me the upgrading option in the Dashboard>information as described in the documentations and as soon as i will merge the old database to new one it starts giving the error the site cannot be reached
Right because it’s a new install. You can now migrate the database to the new server, update the config to point to that database, then you can upgrade.
I did what you are telling and as i migrate the database i am unable to go to sign in page and getting "This site can’t be reached localhost refused to connect"
Then something is wrong like the database information or something.
can you please guide me how to troubleshoot it
Maybe clear the browser cache? Also, check your logs (general server logs, webserver error logs, PHP error logs, MySQL/MariaDB error logs, osTicket System Logs, Browser Console logs, etc.) for any related errors.
Hello, I was able to fix the issue as there were difference between my old table columns and the new one after matching them the issue was resolved