# Upgrading Zammad 3.6.0/Debian 9-Stretch to Zammad 5.0/Debian 10-Buster

**URL:** https://community.zammad.org/t/upgrading-zammad-3-6-0-debian-9-stretch-to-zammad-5-0-debian-10-buster/7989
**Category:** Technical assistance
**Created:** [October 28, 2021, 8:10am UTC](https://community.zammad.org/t/upgrading-zammad-3-6-0-debian-9-stretch-to-zammad-5-0-debian-10-buster/7989 "2021-10-28T08:10:02Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![MR74](https://community.zammad.org/letter_avatar_proxy/v4/letter/m/6de8d8/32.png) [@MR74](https://community.zammad.org/u/MR74)
#### Post date: [October 28, 2021, 8:10am UTC](https://community.zammad.org/t/upgrading-zammad-3-6-0-debian-9-stretch-to-zammad-5-0-debian-10-buster/7989/1 "2021-10-28T08:10:02Z")

</div>

### Infos:

- Used Zammad version: 3.6.0
- Used Zammad installation type: package
- Operating system: Debian 9 Stretch
- Browser + version: Chrome 95.x

### Expected behavior:

Clean package upgrade zammad 3.6.0/debian 9 to zammad 5.0/debian 10

### Actual behavior:

What things to check before upgrading the whole system ?  
Need a little advise before starting …

### Steps to reproduce the behavior:

Is this the right way?

- Backup the complete system
- Upgrading debian 9 to latest debian 9
- Upgrading zammad
- Debian dist-upgrade

---

<div class="post-metadata">

### Author: ![MrGeneration](https://community.zammad.org/user_avatar/community.zammad.org/mrgeneration/32/9260_2.png) [@MrGeneration](https://community.zammad.org/u/MrGeneration)
#### Post date: [November 10, 2021, 9:23pm UTC](https://community.zammad.org/t/upgrading-zammad-3-6-0-debian-9-stretch-to-zammad-5-0-debian-10-buster/7989/2 "2021-11-10T21:23:59Z")

</div>

You may want to have 4.0 or 4.1 as step in between on your upgrade path. Just for safety.  
Please also ensure that your postgresql is high enough (version wise, see: [Software — Zammad documentation](https://docs.zammad.org/en/latest/prerequisites/software.html#database-server)).

Apart from that:  
Regarding your dist-upgrade:

- disable and stop Zammad before you do that
- ensure to have a backup (of course you’ll do! 🙂 )
- check if the dist upgrade also affects your database server - if so, ensure to have a clean data migration in between those versions

after dist-upgrade, please ensure:

- to update your Zammad repository to the debian 10 version (see [Install from package — Zammad documentation](https://docs.zammad.org/en/latest/install/package.html#add-repository-and-install-zammad) ) - remove the old repo version (this is crucial)
- reinstall Zammad from the new debian 10 repo

Please note that Zammad packages are distribution and version specific.  
Skipping above mentioned step will cause you ending in a non functional Zammad installation.

Other than that you should be fine.

---

<div class="post-metadata">

### Author: ![system](https://community.zammad.org/uploads/default/original/1X/5c5afaea2d23f811dbec33cd4edb02fa29d3262f.png) [@system](https://community.zammad.org/u/system)
#### Post date: [March 10, 2022, 9:24pm UTC](https://community.zammad.org/t/upgrading-zammad-3-6-0-debian-9-stretch-to-zammad-5-0-debian-10-buster/7989/3 "2022-03-10T21:24:04Z")

</div>

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