Update error: post-installation script subprocess returned error exit status 1

Infos:

  • Used Zammad version: 7.0.2-1781669454.9dc15acf.jammy
  • Used Zammad installation type: (source, package, docker-compose, …) Ubuntu package
  • Operating system: Ubuntu 22.04.5 LTS

Expected behavior:

  • Zammad gets upgraded to 7.1.2-1786027046.fb3abf2.ubuntu22 amd64.

Actual behavior:

  • dpkg: error processing package zammad (–configure):
    installed zammad package post-installation script subprocess returned error exit status 1

Steps to reproduce the behavior:

This issue has been solved.

Running “dpkg --configure zammad” again I found “ActiveRecord::RecordInvalid: Validation failed: AI provider is missing”.

The setting ai_provider was configured as true. But there was no specific AI Provider selected. Zammad 7.1 seems to be more rigid there checking the configuration than Zammad 7.0.

We are not using Zammad AI. So I just deactivated it (zammad run rails r “Setting.set(‘ai_provider’, false)”) and everything is fine now.

1 Like

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