Hi,

I have some older osTicket here. It's 1.8.0.3.

I just want to write down my experiences, I'm having with updating that to a current osTicket version.

As I read in the documentation it's no problem to directly upgrade to the current version 1.15/1.16 from all versions that are higher than 1.6.x.

So I tried it. Migrated the database from the old vps(ubuntu 14.04) to a new(first try: ubuntu 22.04, second try: ubuntu 20.04), Copied the new program files over and restored the ost-config.php. Tried current 1.15.x and current 1.16.x.

It was a total mess. Errors everywhere. I tried several php-Versions and mysql-versions/mariadb-versions. Broken database schemes. "Fatal Errors" in the webinterface. Errors about unavailable functions. All far behond my php-fixing-skills.

After a lots of try-and-error and googling for the errors, I gave up and now I'm doing all step by step:

  • upgraded from current version to current major version minor version max (1.8.0.3 -> 1.8.12)
  • Then upgrading the major versions one after another as long as the system requirements are met
  • The doing ubuntu release-upgrade
  • The last two points until I'm at the current version
  • doing vps snapshots at every step

This works fine so far. Every osTicket update worked perfectly! I'm at 1.15 now / ubuntu 18.04.

1.16 probably won't work without more manual intervention, since it needs php 8.0 and ubuntu 20.04 ships with php 7.4 and ubuntu 22.04 ships with php 8.1.

Thanks to Ondrej Sury and his custom PHP - Deb - Packages, osTicket 1.16 ist running at Ubuntu 20.04 now. I'll just have to check the testing instance if all information/files are still there and everything works, before switching it to production.

Write a Reply...