Upgrade from 6.2.0 to 6.3.1 not working

Infos:

  • Used Zammad version: 6.2.0-1707987827.798dd740.focal
  • Used Zammad installation type: docker
  • Operating system: Ubuntu 20.04.6
  • Browser + version:

Expected behavior:

Zammad Update to newest Version 6.3.1

Actual behavior:

Get Errors if run “apt-get upgrade”

Steps to reproduce the behavior:

/

Hey All,
I’ve never had problems with updating zammad by running “apt-get update & upgrade” but from Version 6.2.0 to 6.3.0 and now 6.3.1 i get a lot of error:

It starts with:

Preparing to unpack …/34-zammad_6.3.1-1722948970.e504ff79.focal_amd64.deb …
!!! ERROR !!!
Your database does not seem to be online!
Please check your configuration in config/database.yml and ensure the configured database server is online.
Exiting Zammad package installation / upgrade - try again.
dpkg: error processing archive /tmp/apt-dpkg-install-mfhh62/34-zammad_6.3.1-1722948970.e504ff79.focal_amd64.deb (–unpack):
new zammad package pre-installation script subprocess returned error exit status 1

what is very strange because, the database is on the same host. also zammd was running correctly.

After this error a lot of messages came in the Upgrade process like:

Clear cache…

/opt/zammad/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.8/lib/active_record/connection_adapters/postgresql_adapter.rb:87:in `rescue in new_client’: could not connect to server: No such file or directory (ActiveRecord::ConnectionNotEstablished)
Is the server running locally and accepting
connections on Unix domain socket “/var/run/postgresql/.s.PGSQL.5432”?

could someone help me?

Thanks a lot!

this:

was helpfull for me in that Situation