Zammad Upgrade 5.4.1 to 6.0, Redis not installed

Infos:

  • Used Zammad version: 5.4.1
  • Used Zammad installation type: package
  • Operating system: Ubuntu 16.04
  • Browser + version: Chrome 114

Actual behavior:

I tried to update Zammad from 5.4.1 to version 6.0. Unfortunately, the “zammad” package cannot be installed because it has been held. Guess it’s because Redis is missing.

I also tried to update Ubuntu 16.04 to 18.04, this failed because the “zammad” package was not updated…

Has anyone had the same problem?

Hi @touro8211,

according to New Major Release: Zammad 6.0!, redis is a mandatory dependency now. You need to install it, otherwise it’s not possible to use Zammad 6.0.

Thanks for the answer
What command can I use to install Redis?

I have tried this:

But it doesn’t work:
image

Unverified + untested: Install Redis on Linux | Redis

Otherwise you might need to use your favorite search engine with e.g. ubuntu 16.04 redis or any other fitting search terms :slight_smile:

Now, I have redis installed. But i cant update zammad. The same message: the “zammad” package cannot be installed because it has been held…

But I have redis installed…

The package on apt based system (at least for debian 10 and 11) would be redis-server.
The package expects redis which normally would also install the server variant. With the first package name you can overcome this.

After the installation a connection to redis locally should be possible. If not that and enable it manually.

Redis works!

image

And then by updating zammad:

image

Yeah so why has Zammad been hold back. Can’t tell or see the reason.
Frozen maybe?

I don’t know, zammad runs normally…

Backup zammad 5.4.1 – Install zammad on new system (debian 11 or Ubuntu 22.04) – Import Backup to Version 6.0

Is this solution workable?

Your package manger holds it back, at least that’s what the message tells you. I can’t tell the reasoning.

Technically yes.
See:
https://docs.zammad.org/en/latest/appendix/backup-and-restore/index.html

Make sure to set FULL_FS_DUMP to no for less pain during that operation.
(Backup configuration — Zammad System Documentation documentation)

Im guessing you ran the apt-get upgrade, or simillar, command? That will not work, since apt only upgrades the software if all dependencies are installed beforehand. You have to run apt-get install instead, that will install all dependencies and then the latest vesrion of zammad.

So remove redis that you installed manually, and then run the above.

I experience the same problem with updating ZAMMAD from 5.4.1 to 6.0.

Your advice to apt-get install ZAMMAD did not work for me but ended with the same message, that installing ZAMMAD is held because of the REDIS dependency.

I sincerly hope, that there will be a way to update, that does not involve deploying a backup.

So when you ran apt-get install zammad you still got that zammad had been held back because of dependencies? Can you show the output?

There are two other things you can try : apt-get --with-new-pkgs upgrade zammad, try this first, or a more dangerous route would be apt-get dist-upgrade

Thank you so much for your reply. I tried sudo apt-get update and sudo apt-get --with-new-pkgs upgrade zammad and got this Error:

user@zammad:~$ sudo apt-get --with-new-pkgs upgrade zammad
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Paketaktualisierung (Upgrade) wird berechnet... Fertig
Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass
Sie eine unmögliche Situation angefordert haben oder, wenn Sie die
Unstable-Distribution verwenden, dass einige erforderliche Pakete noch
nicht erstellt wurden oder Incoming noch nicht verlassen haben.
Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:

Die folgenden Pakete haben unerfüllte Abhängigkeiten:
 zammad : Hängt ab von: redis ist aber nicht installierbar
E: Beschädigte Pakete
user@zammad:~$

It is the same Error i got before, saying that zammad is depentent on redis.

Even using sudo apt-get dist-upgrade and afterwards sudo apt-get update and apt-get --with-new-pkgs upgrade zammad brought the same Error i had before.

Edit:
My Ubuntu Version is 16.04.7 LTS
My Zammad Version is 5.4.1-1681293771

Corrupted packages is the thing you may want to fix before trying anything else.

I was trying to correct the problem, but even dpkg --list | grep ^rc did not show any corrupted packages.

Could this maybe be a route to test?:

I’ve got stuck at the same point. Zammad 5.4.1 on Ubuntu 16.04LTS. I installed the redis-server, it is working, but the zammad package doesn’t find it.

`root@laemdmzweb2:/opt/zammad# apt list redis

Auflistung… Fertig
root@laemdmzweb2:/opt/zammad# apt list redis*

Auflistung… Fertig
redis-sentinel/xenial-updates,xenial-security 2:3.0.6-1ubuntu0.4 amd64
redis-server/xenial-updates,xenial-security,now 2:3.0.6-1ubuntu0.4 amd64 [installiert]
redis-tools/xenial-updates,xenial-security,now 2:3.0.6-1ubuntu0.4 amd64 [Installiert,automatisch]`

Can the name “redis-server” the problem because zammad 6 (apt) looks for “redis”?

If you’re using Ubuntu, it should check for redis-server.