Safest Way to Upgrade Zammad 5.0x ubuntu 21.10

  • Used Zammad version: 5.0.x
  • Used Zammad installation type: source
  • Operating system: ubuntu 21.10 in a VM in esxi
  • Browser + version:

Hi

as you can see i’ve old OS and Old zammad version

i would like to upgrade safely first ubuntu to 22.04 (not LTS right? it run properly only in 22.04) and then upgrade zammad version

there is a best practise to manage that and do it safely?

TL;DR:
Hold the Zammad package, upgrade your distribution, migrate PostgreSQL, unhold your Zammad package and upgrade Zammad based on the current distribution.

Longer version:
This might differ on source code installations where you basically wanna take the same steps, but:

You’ll have to “re run” the installation part on the new OS version to have correct rubies installed and stuff. This might be a lot more difficult than with a package installation. If you feel unsafe with these steps, you may want to prefer using a backup and restore based migration.

See: Backup and Restore — Zammad System Documentation documentation

1 Like

im very uncomfortable on doing this processes, but i’ve to do it, have you a better explanation, one too long that i’ll read? :rofl:

or maybe can you help me privately doing properly this operation? best regards

If you’re not comfortable with this, in my opinion you have the following options (in my preffered order):

  • setup a new machine as per documentation but with a package installation (then stop the old instance, backup, restore #profit)
  • get a workshop with Zammad to do this (no matter in which direction, but it’s pricey so no pressure…!)
  • Fiddle your way around with the source code installation

I’m afraid I can’t hold your hand in this process.

ok before all of these i’ve to be sure to manage few things

i’ll backup as you suggest and i’ll duplicate the VM into my esxi host that i’ll restore if any problem i’ll come during updates

so after that i’ll create new istance in new ubuntu updated and i’ll restore the backup, after that, before zammad starts to read email again i’ve to be sure that all is done and i don’t have any error, is there a way to start zammad again in new istance and stops read email?

I wonder if you managed to migrate to the new server. I’m having a token problem when trying to login into the new migrated server.

Please don’t hijack issues of a differen type (technically) with your other problems.
Use your own thread for that.

This topic was automatically closed 360 days after the last reply. New replies are no longer allowed.