We are running v1.10.4 on a debian 8 lamp stack. Due to a number of issues we are facing with the server, we want to move to a debian 9 system.

The initial try was upgrade the server OS, which failed miserably with too many errors to document.
I built a new LAMP stack, did a clean install of 1.10.4 to make sure I'd got all the dependencies sorted then dropped the complete site and database onto the new server. The user page is available (the site is offline) but the scp is inaccessible.

Is it worth upgrading to v1.11 first on the old server before trying to migrate to the new? Anyone else out there managed to migrate between debian 8 & 9?

I have run it on both, and while I did not spin up a new machine to migrate it to, I can tell you that it runs okay under 9. The steps for migrating from one server to another server are not special based on the OS.

  1. back up the database.

  2. back up the site files.

  3. transfer both backups to the new server.

  4. create a database on the new server.

  5. create a database user on the new server

  6. give the db user privileges to the new database. [You can save yourself some time by using the same username and password that the old database user had.]

  7. setup Apache to serve the folder that you want osTicket to reside in. [There are a number of ways to do this so I trust that you will know the way that you want to do it.]

  8. test and make sure that the webserver is working.

  9. restore the database to the new database.

  10. restore the files to the folder your web server is serving.
    -OR-
    If you plan on upgrading you can install the new 1.11 files instead.

    • Check the ownership and permissions of the new files.
    • Copy the /include/ost-config.php from the old installation to the new installation -OR- copy the /include/ost-sampleconfig.php to ost-config.php and edit it. Go to the site and the upgrader will run.
  11. Test the site.

Write a Reply...