Hi all, this is my version of osTicket

I want to upgrade to the latest version. CentOS 7 has reach EOL, so Debian 12 is te OS I choose.
My question is, if I install a fresh install of the latest version and restore a mysqldump database and attachments, is this sufficient or I will need do more configurations?

Thanks in advance for the help!

Best regards
Gabriel

  • KevinTheJedi replied to this.
  • neok

    You do not need to make a new install. You simply turn current system offline, disable email fetching, run a full MySQL database dump, put the new code in place on the new server (essentially, get it to where it shows the installer but don’t run the installer), put the latest build of any currently installed plugins in the new plugins folder on the new server, copy the old include/ost-config.php file to the new include/ folder on the new server, import the database dump on the new server, update the config file on the new server to match the new credentials (if changed), visit the site on the new server, and login to the staff control panel as an admin. There you will be presented with the upgrader where you run it and sit back and let it do its thing. Then you can login, check everything, make sure it’s all good, enable email fetching, and turn it in online.

    Cheers.

    neok

    You do not need to make a new install. You simply turn current system offline, disable email fetching, run a full MySQL database dump, put the new code in place on the new server (essentially, get it to where it shows the installer but don’t run the installer), put the latest build of any currently installed plugins in the new plugins folder on the new server, copy the old include/ost-config.php file to the new include/ folder on the new server, import the database dump on the new server, update the config file on the new server to match the new credentials (if changed), visit the site on the new server, and login to the staff control panel as an admin. There you will be presented with the upgrader where you run it and sit back and let it do its thing. Then you can login, check everything, make sure it’s all good, enable email fetching, and turn it in online.

    Cheers.

    I am forced to do a new installation because the base operating system, CentOS 7 is discontinued. For that reason I made a new installation on Debian 12.

    Now I followed your steps, but on the new installation.

    1. I installed the base system.
    2. I installed the nginx web server.
    3. I installed Maria DB Server 10
    4. I installed PHP 8.2
    5. I downloaded the latest version 1.18.2 and copied it to /var/www/html/osticket
    6. I created the new database with a user and password for osticket.
    7. I imported a mysqldump from osticket 1.14.2 to this new database.
    8. I copied the plugins I downloaded to the folder /upload/incude/plugins

    Everything seems to be in order, but when I login with my root user, it goes straight to the osticket upgrader screen, all the prerequisites are ok, I click Start upgrade now, and finally I get an error, aborting

    No log in Dashboard. Can you hlep me at this stage?

      neok

      If you get an upgrade error then check the System Logs for the related error to see what happened. Sometimes simply reimporting the database and re-running the upgrader can work. However if you run into the same error then something is definitely wrong and will need to be addressed in order to continue.

      Cheers.

      Write a Reply...