Page 1 of 1

moving HESK to a new server

Posted: Wed Jun 12, 2013 6:11 pm
by rapidwebs
hello everybody!

i currently have HESK setup on a windows server with a WAMP like configuration, however, have just finished setting up a new Linux node on the network, and would like to migrate to the new platform.

after i finish configuration of everything else necessary i would like to start moving my existing HESK installation.

the old server was serving the files off of support.mywebsite.com/help/ (due to a virtual host's issue), however, the new sever will have no problem serving from just support.mywebsite.com

my question is that, after following these steps in which i found, describing a very basic move to a new Server, how will i configure HESK to serve from new Domain appropriately?

are the configurations simple stored in Flat Files, which are easy to access, or will I have to change settings stored within the existing MySQL DB (after its backup, and move, likewise)?

and this also brings up the topic, after restoration of a backed up HESK MySQL DB, will i have to alter any tables or values to get everything up and running, or should it auto detect and allow me to reconfigure from the administration panel?

thanks in ahead of time for anybody whom takes a look at, and possibly helps me with my issue!

if needed i can provide real domains, URLs, locations, servers, OS's and Versions, including other Specs and information if necessary. thanks!

Re: moving HESK to a new server

Posted: Wed Jun 12, 2013 7:11 pm
by Klemen
HESK settings are stored in the "hesk_settings.inc.php" file.

The way I would do it is like this (basically repeating what the article says):

1. do a full BACKUP of existing help desk and database, just in case.

2. install a clean version of HESK on the new server, for example in database "support"

3. login to the NEW admin panel and modify the settings to fit your needs (or import them from the old hesk_settings.inc.php file if you are familiar with PHP code, otherwise I don't recommend it).

4. export your OLD database using phpMyAdmin (data + structure)

5. go to the NEW server into phpMyAdmin

6. in the database "support" database DELETE all hesk tables

7. import the OLD database into the "support" database

That's should do it. No need to make any changes inside the imported database.


If you are not comfortable doing it yourself, you can consider hiring someone to help.


An alternative (maybe better?) would be to simply retire your old help desk and start with a fresh one - without importing old tickets.

Re: moving HESK to a new server

Posted: Wed Jun 12, 2013 7:23 pm
by rapidwebs
thank you very much for your timely response!

this is all great information, and is exactly what i was looking for in terms of a sort-of step by step tutorial on how i should get this done; not because I couldn't figure this out on my own,

i figured it would be about this simple, however, during the Migration we will be moving a slurry of different Services and it is just SO MUCH easier having some situation specific pointers, and a list to run down, which i can use as a check list while doing the move.

the actual server is located behind a Switch @ appsrv.myserver.com (server A) and will be replacing the existing Windows node which sits as a secondary server for our Development (currently, server B, appsrv.myserver.com)

we are moving all the existing services from server B to server A, and then going to refurbish server B (the old server) for use as a Cluster node.

anyways, this is all for a software development firm in which i am currently running entitled RapidWebs (http://rapidwebs.org).

we shoulden't have any problem, and this should be all that we will require. infact, this is an excellent run down on the steps required to move the HESK application, and im sure it will be of use to others in the Future as well!

thank you very much!

Re: moving HESK to a new server

Posted: Sun Mar 01, 2015 3:38 am
by capeloyo
Klemen wrote:HESK settings are stored in the "hesk_settings.inc.php" file.

The way I would do it is like this (basically repeating what the article says):

1. do a full BACKUP of existing help desk and database, just in case.

2. install a clean version of HESK on the new server, for example in database "support"

3. login to the NEW admin panel and modify the settings to fit your needs (or import them from the old hesk_settings.inc.php file if you are familiar with PHP code, otherwise I don't recommend it).

4. export your OLD database using phpMyAdmin (data + structure)

5. go to the NEW server into phpMyAdmin

6. in the database "support" database DELETE all hesk tables

7. import the OLD database into the "support" database

That's should do it. No need to make any changes inside the imported database.


If you are not comfortable doing it yourself, you can consider hiring someone to help.


An alternative (maybe better?) would be to simply retire your old help desk and start with a fresh one - without importing old tickets.

Hi Kelemen,

This solution is only for the same version of hesk right?

thank You

Re: moving HESK to a new server

Posted: Sun Mar 01, 2015 2:58 pm
by Klemen
Yes, this only works for the same version.

You should either upgrade on the old HESK before moving or move an old version then upgrade on the new server.

Re: moving HESK to a new server

Posted: Fri Jun 02, 2017 12:09 pm
by zgap1122
This is for 1and1 phpMyAdmin:

I was a bit stuck, but figured it out a bit...

re: 6. in the database "support" database DELETE all hesk tables

: I could not find "DELETE" but the function in 1and1's phpMyAdmin is "DROP"

I'm a noob at this, and if DELETE = DROP
then this is for all the noobs :)