Issue with upgrading to Zammad 5

Infos:

  • Used Zammad version: 4.0.x
  • Used Zammad installation type: yum update zammad
  • Operating system: CentOS
  • Browser + version: Chrome

I tried to upgrade my current Zammad from version 4 to Zammad 5 but I got an error in the upgrading process.

Resolving Dependencies
--> Running transaction check
---> Package zammad.x86_64 0:4.0.0-1621926932.fbc220d9.centos7 will be updated
---> Package zammad.x86_64 0:5.0.3-1643122088.879205d2.centos7 will be an update
--> Processing Dependency: postgresql-server >= 9.3 for package: zammad-5.0.3-1643122088.879205d2.centos7.x86_64
--> Finished Dependency Resolution
Error: Package: zammad-5.0.3-1643122088.879205d2.centos7.x86_64 (zammad)
           Requires: postgresql-server >= 9.3
           Installed: postgresql-server-9.2.24-7.el7_9.x86_64 (@updates)
               postgresql-server = 9.2.24-7.el7_9
           Available: postgresql-server-9.2.24-4.el7_8.x86_64 (base)
               postgresql-server = 9.2.24-4.el7_8
           Available: postgresql-server-9.2.24-6.el7_9.x86_64 (updates)
               postgresql-server = 9.2.24-6.el7_9
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

I used this command:

yum update zammad

How can I fix this problem?

Thank you in advance

Okay let’s try a different approach.
What is your package manager telling you?

What does the error message tell?

This is what exactly I entered and I get:

[root@server ~]# yum update zammad
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.fra10.de.leaseweb.net
 * epel: ftp.plusline.net
 * extras: mirror.checkdomain.de
 * updates: mirror.checkdomain.de
Resolving Dependencies
--> Running transaction check
---> Package zammad.x86_64 0:4.0.0-1621926932.fbc220d9.centos7 will be updated
---> Package zammad.x86_64 0:5.0.3-1643280981.141dc0ca.centos7 will be an update
--> Processing Dependency: postgresql-server >= 9.3 for package: zammad-5.0.3-1643280981.141dc0ca.centos7.x86_64
--> Finished Dependency Resolution
Error: Package: zammad-5.0.3-1643280981.141dc0ca.centos7.x86_64 (zammad)
           Requires: postgresql-server >= 9.3
           Installed: postgresql-server-9.2.24-7.el7_9.x86_64 (@updates)
               postgresql-server = 9.2.24-7.el7_9
           Available: postgresql-server-9.2.24-4.el7_8.x86_64 (base)
               postgresql-server = 9.2.24-4.el7_8
           Available: postgresql-server-9.2.24-6.el7_9.x86_64 (updates)
               postgresql-server = 9.2.24-6.el7_9
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[root@server ~]#

I have set up a VPS especially for Zammad and I don’t have anything else on this server. I installed the Zammad before via yum.

As far I understand, Zammad 5 needs Postgresql 9.3 while I have Postgresql 9.2 on the server. but I didn’t install PostgreSQL before manually, everything was installed via the Zammad package.

Right. postgresql is a dependency by Zammad and thus required.
Zammad 5 requires a specific minimum version of postgresql.

CentOS 7 does not provide this minimum required version in it’s default repositories.

This means you have to manually upgrade the postgresql server or upgrade the whole system.
Depending on what approach is easier for you.


Our install documentation hints for that:
https://docs.zammad.org/en/latest/install/package.html

However, upgrading existing database servers is out of this scopes.
There are a lot of very very detialed and good how tos for exactly this.

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