Update Zammad Docker

Infos:

Hello. I use Zammad via Docker. The following error occurs after the update. Please help.

  • Used Zammad version: latest zammad-docker-compose version
  • Used Zammad installation type: docker-compose
  • Operating system: Debian
  • Browser + version: Chrome
  • Error: PG::UndefinedTable: ERROR: relation “active_job_locks” does not exist
Starting zammad-docker-compose_zammad-elasticsearch_1 ... done
Starting zammad-docker-compose_zammad-memcached_1     ... done
Starting zammad-docker-compose_zammad-redis_1         ... done
Starting zammad-docker-compose_zammad-postgresql_1    ... done
Starting zammad-docker-compose_zammad-init_1          ... done
Starting zammad-docker-compose_zammad-railsserver_1   ... done
Starting zammad-docker-compose_zammad-nginx_1         ... done
Starting zammad-docker-compose_zammad-websocket_1     ... done
Starting zammad-docker-compose_zammad-scheduler_1     ... done
Starting zammad-docker-compose_zammad-backup_1        ... done
Attaching to zammad-docker-compose_zammad-elasticsearch_1, zammad-docker-compose_zammad-redis_1, zammad-docker-compose_zammad-memcached_1, zammad-docker-compose_zammad-postgresql_1, zammad-docker-compose_zammad-init_1, zammad-docker-compose_zammad-railsserver_1, zammad-docker-compose_zammad-nginx_1, zammad-docker-compose_zammad-scheduler_1, zammad-docker-compose_zammad-websocket_1, zammad-docker-compose_zammad-backup_1
zammad-redis_1          | 1:C 12 Nov 2021 07:43:45.352 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
zammad-redis_1          | 1:C 12 Nov 2021 07:43:45.352 # Redis version=6.2.5, bits=64, commit=00000000, modified=0, pid=1, just started
zammad-redis_1          | 1:C 12 Nov 2021 07:43:45.352 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
zammad-redis_1          | 1:M 12 Nov 2021 07:43:45.352 * monotonic clock: POSIX clock_gettime
zammad-redis_1          | 1:M 12 Nov 2021 07:43:45.353 * Running mode=standalone, port=6379.
zammad-redis_1          | 1:M 12 Nov 2021 07:43:45.354 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
zammad-redis_1          | 1:M 12 Nov 2021 07:43:45.354 # Server initialized
zammad-redis_1          | 1:M 12 Nov 2021 07:43:45.354 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
zammad-redis_1          | 1:M 12 Nov 2021 07:43:45.354 * Loading RDB produced by version 6.2.5
zammad-redis_1          | 1:M 12 Nov 2021 07:43:45.354 * RDB age 6771 seconds
zammad-redis_1          | 1:M 12 Nov 2021 07:43:45.354 * RDB memory usage when created 0.77 Mb
zammad-redis_1          | 1:M 12 Nov 2021 07:43:45.354 * DB loaded from disk: 0.000 seconds
zammad-redis_1          | 1:M 12 Nov 2021 07:43:45.354 * Ready to accept connections
zammad-postgresql_1     |
zammad-postgresql_1     | PostgreSQL Database directory appears to contain a database; Skipping initialization
zammad-postgresql_1     |
zammad-postgresql_1     | LOG:  database system was shut down at 2021-11-12 05:50:54 UTC
zammad-postgresql_1     | LOG:  MultiXact member wraparound protections are now enabled
zammad-postgresql_1     | LOG:  database system is ready to accept connections
zammad-postgresql_1     | LOG:  autovacuum launcher started
zammad-postgresql_1     | LOG:  incomplete startup packet
zammad-init_1           | initialising / updating database...
zammad-backup_1         | waiting for railsserver to be ready...
zammad-elasticsearch_1  | WARNING: A terminally deprecated method in java.lang.System has been called
zammad-elasticsearch_1  | WARNING: System::setSecurityManager has been called by org.elasticsearch.bootstrap.Elasticsearch (file:/usr/share/elasticsearch/lib/elasticsearch-7.15.1.jar)
zammad-elasticsearch_1  | WARNING: Please consider reporting this to the maintainers of org.elasticsearch.bootstrap.Elasticsearch
zammad-elasticsearch_1  | WARNING: System::setSecurityManager will be removed in a future release
zammad-elasticsearch_1  | WARNING: A terminally deprecated method in java.lang.System has been called
zammad-elasticsearch_1  | WARNING: System::setSecurityManager has been called by org.elasticsearch.bootstrap.Security (file:/usr/share/elasticsearch/lib/elasticsearch-7.15.1.jar)
zammad-elasticsearch_1  | WARNING: Please consider reporting this to the maintainers of org.elasticsearch.bootstrap.Security
zammad-elasticsearch_1  | WARNING: System::setSecurityManager will be removed in a future release
zammad-elasticsearch_1  | {"type": "server", "timestamp": "2021-11-12T07:43:54,572Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "32a205375cea", "message": "version[7.15.1], pid[6], build[default/docker/83c34f456ae29d60e94d886e455e6a3409bba9ed/2021-10-07T21:56:19.031608185Z], OS[Linux/4.9.0-16-amd64/amd64], JVM[Eclipse Adoptium/OpenJDK 64-Bit Server VM/17/17+35]" }
zammad-elasticsearch_1  | {"type": "server", "timestamp": "2021-11-12T07:43:54,589Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "32a205375cea", "message": "JVM home [/usr/share/elasticsearch/jdk], using bundled JDK [true]" }
zammad-elasticsearch_1  | {"type": "server", "timestamp": "2021-11-12T07:43:54,589Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "32a205375cea", "message": "JVM arguments [-Xshare:auto, -Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -XX:+ShowCodeDetailsInExceptionMessages, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dio.netty.allocator.numDirectArenas=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.locale.providers=SPI,COMPAT, --add-opens=java.base/java.io=ALL-UNNAMED, -XX:+UseG1GC, -Djava.io.tmpdir=/tmp/elasticsearch-2399984110306907105, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=data, -XX:ErrorFile=logs/hs_err_pid%p.log, -Xlog:gc*,gc+age=trace,safepoint:file=logs/gc.log:utctime,pid,tags:filecount=32,filesize=64m, -Des.cgroups.hierarchy.override=/, -Xms1912m, -Xmx1912m, -XX:MaxDirectMemorySize=1002438656, -XX:G1HeapRegionSize=4m, -XX:InitiatingHeapOccupancyPercent=30, -XX:G1ReservePercent=15, -Des.path.home=/usr/share/elasticsearch, -Des.path.conf=/usr/share/elasticsearch/config, -Des.distribution.flavor=default, -Des.distribution.type=docker, -Des.bundled_jdk=true]" }
zammad-init_1           | I, [2021-11-12T07:43:57.646463 #21-10060]  INFO -- : Using memcached as Rails cache store.
zammad-init_1           | I, [2021-11-12T07:43:57.646581 #21-10060]  INFO -- : Using Redis as web socket session store.
zammad-init_1           | I, [2021-11-12T07:43:59.455926 #21-10060]  INFO -- : Setting.set('models_searchable', ["Chat::Session", "Organization", "User", "Ticket"])
zammad-elasticsearch_1  | {"type": "server", "timestamp": "2021-11-12T07:44:01,080Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "32a205375cea", "message": "loaded module [aggs-matrix-stats]" }
zammad-elasticsearch_1  | {"type": "server", "timestamp": "2021-11-12T07:44:01,081Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "32a205375cea", "message": "loaded module [analysis-common]" }
zammad-elasticsearch_1  | {"type": "server", "timestamp": "2021-11-12T07:44:01,081Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "32a205375cea", "message": "loaded module [constant-keyword]" }
zammad-elasticsearch_1  | {"type": "server", "timestamp": "2021-11-12T07:44:01,082Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "32a205375cea", "message": "loaded module [frozen-indices]" }
zammad-elasticsearch_1  | {"type": "server", "timestamp": "2021-11-12T07:44:01,083Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "32a205375cea", "message": "loaded module [ingest-common]" }
zammad-elasticsearch_1  | {"type": "server", "timestamp": "2021-11-12T07:44:01,087Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "32a205375cea", "message": "loaded module [ingest-geoip]" }
zammad-elasticsearch_1  | {"type": "server", "timestamp": "2021-11-12T07:44:01,088Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "32a205375cea", "message": "loaded module [ingest-user-agent]" }
zammad-elasticsearch_1  | {"type": "server", "timestamp": "2021-11-12T07:44:01,092Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "32a205375cea", "message": "loaded module [kibana]" }
"32a205375cea", "message": "loaded plugin [ingest-attachment]" }
zammad-elasticsearch_1  | {"type": "server", "timestamp": "2021-11-12T07:44:01,243Z", "level": "INFO", "component": "o.e.e.NodeEnvironment", "cluster.name": "docker-cluster", "node.name": "32a205375cea", "message": "using [1] data paths, mounts [[/usr/share/elasticsearch/data (/dev/mapper/SA--Support--vg-root)]], net usable_space [193.8gb], net total_space [214gb], types [ext4]" }
zammad-elasticsearch_1  | {"type": "server", "timestamp": "2021-11-12T07:44:01,244Z", "level": "INFO", "component": "o.e.e.NodeEnvironment", "cluster.name": "docker-cluster", "node.name": "32a205375cea", "message": "heap size [1.8gb], compressed ordinary object pointers [true]" }
zammad-railsserver_1    | waiting for init container to finish install or update...
zammad-elasticsearch_1  | {"type": "server", "timestamp": "2021-11-12T07:44:01,395Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "32a205375cea", "message": "node name [32a205375cea], node ID [dCq7Qa7JS-emM08tuxzFEg], cluster name [docker-cluster], roles [transform, data_frozen, master, remote_cluster_client, data, ml, data_content, data_hot, data_warm, data_cold, ingest]" }
zammad-nginx_1          | waiting for init container to finish install or update...
zammad-scheduler_1      | waiting for init container to finish install or update...
zammad-websocket_1      | waiting for init container to finish install or update...
zammad-postgresql_1     | ERROR:  relation "active_job_locks" does not exist at character 454
zammad-postgresql_1     | STATEMENT:  SELECT a.attname, format_type(a.atttypid, a.atttypmod),
zammad-postgresql_1     |              pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod,
zammad-postgresql_1     |              c.collname, col_description(a.attrelid, a.attnum) AS comment
zammad-postgresql_1     |         FROM pg_attribute a
zammad-postgresql_1     |         LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum
zammad-postgresql_1     |         LEFT JOIN pg_type t ON a.atttypid = t.oid
zammad-postgresql_1     |         LEFT JOIN pg_collation c ON a.attcollation = c.oid AND a.attcollation <> t.typcollation
zammad-postgresql_1     |        WHERE a.attrelid = '"active_job_locks"'::regclass
zammad-postgresql_1     |          AND a.attnum > 0 AND NOT a.attisdropped
zammad-postgresql_1     |        ORDER BY a.attnum
zammad-postgresql_1     |
zammad-init_1           | rake aborted!
zammad-init_1           | StandardError: An error has occurred, this and all later migrations canceled:
zammad-init_1           |
zammad-init_1           | PG::UndefinedTable: ERROR:  relation "active_job_locks" does not exist
zammad-init_1           | LINE 8:  WHERE a.attrelid = '"active_job_locks"'::regclass
zammad-init_1           |                             ^
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:65:in `async_exec'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:65:in `block (2 levels) in query'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/dependencies/interlock.rb:48:in `block in permit_concurrent_loads'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/dependencies/interlock.rb:47:in `permit_concurrent_loads'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:64:in `block in query'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/connection_adapters/abstract_adapter.rb:728:in `block (2 levels) in log'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/connection_adapters/abstract_adapter.rb:727:in `block in log'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/connection_adapters/abstract_adapter.rb:718:in `log'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:63:in `query'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/connection_adapters/postgresql_adapter.rb:820:in `column_definitions'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:114:in `columns'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/connection_adapters/schema_cache.rb:76:in `columns'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/connection_adapters/schema_cache.rb:82:in `columns_hash'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/model_schema.rb:517:in `load_schema!'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/attributes.rb:247:in `load_schema!'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/attribute_decorators.rb:50:in `load_schema!'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/model_schema.rb:507:in `block in load_schema'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/model_schema.rb:504:in `synchronize'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/model_schema.rb:504:in `load_schema'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/model_schema.rb:391:in `attribute_types'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/model_schema.rb:415:in `type_for_attribute'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/table_metadata.rb:33:in `type'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/relation/predicate_builder.rb:51:in `build'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/relation/predicate_builder.rb:109:in `block in expand_from_hash'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/relation/predicate_builder.rb:68:in `each'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/relation/predicate_builder.rb:68:in `flat_map'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/relation/predicate_builder.rb:68:in `expand_from_hash'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/relation/predicate_builder.rb:21:in `build_from_hash'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/relation/where_clause_factory.rb:19:in `build'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/relation/query_methods.rb:656:in `where!'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/relation/query_methods.rb:649:in `where'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/relation/finder_methods.rb:81:in `find_by'
zammad-init_1           | /opt/zammad/app/jobs/concerns/has_active_job_lock.rb:117:in `active_job_lock'
zammad-init_1           | /opt/zammad/app/jobs/concerns/has_active_job_lock.rb:107:in `active_job_lock_for_enqueue!'
zammad-init_1           | /opt/zammad/app/jobs/concerns/has_active_job_lock.rb:60:in `block in ensure_active_job_lock_for_enqueue!'
zammad-init_1           | /opt/zammad/app/jobs/concerns/has_active_job_lock.rb:88:in `in_active_job_lock_transaction'
zammad-init_1           | /opt/zammad/app/jobs/concerns/has_active_job_lock.rb:59:in `ensure_active_job_lock_for_enqueue!'
zammad-init_1           | /opt/zammad/app/jobs/concerns/has_active_job_lock.rb:8:in `block (2 levels) in <module:HasActiveJobLock>'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/callbacks.rb:428:in `instance_exec'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/callbacks.rb:428:in `block in make_lambda'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/callbacks.rb:200:in `block (2 levels) in halting'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/callbacks.rb:605:in `block (2 levels) in default_terminator'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/callbacks.rb:604:in `catch'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/callbacks.rb:604:in `block in default_terminator'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/callbacks.rb:201:in `block in halting'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/callbacks.rb:513:in `block in invoke_before'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/callbacks.rb:513:in `each'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/callbacks.rb:513:in `invoke_before'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/callbacks.rb:110:in `block in run_callbacks'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/notifications.rb:180:in `block in instrument'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/notifications.rb:180:in `instrument'
zammad-init_1           | /usr/local/bundle/gems/activejob-6.0.4.1/lib/active_job/logging.rb:35:in `block (2 levels) in <module:Logging>'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/callbacks.rb:121:in `instance_exec'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
zammad-init_1           | /usr/local/bundle/gems/activejob-6.0.4.1/lib/active_job/logging.rb:16:in `block (3 levels) in <module:Logging>'
zammad-init_1           | /usr/local/bundle/gems/activejob-6.0.4.1/lib/active_job/logging.rb:45:in `block in tag_logger'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/tagged_logging.rb:80:in `block in tagged'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/tagged_logging.rb:28:in `tagged'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/tagged_logging.rb:80:in `tagged'
zammad-init_1           | /usr/local/bundle/gems/activejob-6.0.4.1/lib/active_job/logging.rb:45:in `tag_logger'
zammad-init_1           | /usr/local/bundle/gems/activejob-6.0.4.1/lib/active_job/logging.rb:15:in `block (2 levels) in <module:Logging>'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/callbacks.rb:121:in `instance_exec'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/callbacks.rb:139:in `run_callbacks'
zammad-init_1           | /usr/local/bundle/gems/activejob-6.0.4.1/lib/active_job/enqueuing.rb:55:in `enqueue'
zammad-init_1           | /usr/local/bundle/gems/activejob-6.0.4.1/lib/active_job/enqueuing.rb:22:in `perform_later'
zammad-init_1           | /opt/zammad/app/models/concerns/has_search_index_backend.rb:28:in `search_index_update'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/callbacks.rb:428:in `block in make_lambda'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/callbacks.rb:238:in `block in halting_and_conditional'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/callbacks.rb:517:in `block in invoke_after'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/callbacks.rb:517:in `each'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/callbacks.rb:517:in `invoke_after'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/callbacks.rb:136:in `run_callbacks'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/callbacks.rb:825:in `_run_update_callbacks'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/callbacks.rb:335:in `_update_record'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/timestamp.rb:123:in `_update_record'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/persistence.rb:905:in `create_or_update'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/callbacks.rb:327:in `block in create_or_update'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/callbacks.rb:101:in `run_callbacks'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/callbacks.rb:825:in `_run_save_callbacks'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/callbacks.rb:327:in `create_or_update'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/timestamp.rb:128:in `create_or_update'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/persistence.rb:503:in `save!'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/validations.rb:53:in `save!'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/transactions.rb:318:in `block in save!'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/transactions.rb:375:in `block in with_transaction_returning_status'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/connection_adapters/abstract/database_statements.rb:278:in `transaction'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/transactions.rb:212:in `transaction'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/transactions.rb:366:in `with_transaction_returning_status'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/transactions.rb:318:in `save!'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/suppressor.rb:48:in `save!'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/persistence.rb:635:in `block in update!'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/transactions.rb:375:in `block in with_transaction_returning_status'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/connection_adapters/abstract/database_statements.rb:278:in `transaction'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/transactions.rb:212:in `transaction'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/transactions.rb:366:in `with_transaction_returning_status'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/persistence.rb:633:in `update!'
zammad-init_1           | /opt/zammad/db/migrate/20190409000001_setting_ticket_overview_priority_icon_and_color.rb:42:in `change'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/migration.rb:828:in `exec_migration'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/migration.rb:812:in `block (2 levels) in migrate'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/migration.rb:811:in `block in migrate'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:471:in `with_connection'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/migration.rb:810:in `migrate'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/migration.rb:1002:in `migrate'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/migration.rb:1310:in `block in execute_migration_in_transaction'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/migration.rb:1361:in `block in ddl_transaction'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/connection_adapters/abstract/database_statements.rb:280:in `block in transaction'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/connection_adapters/abstract/transaction.rb:280:in `block in within_new_transaction'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
zammad-init_1           | /usr/local/bundle/gems/activesupport-6.0.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/connection_adapters/abstract/transaction.rb:278:in `within_new_transaction'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/connection_adapters/abstract/database_statements.rb:280:in `transaction'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/transactions.rb:212:in `transaction'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/migration.rb:1361:in `ddl_transaction'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/migration.rb:1309:in `execute_migration_in_transaction'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/migration.rb:1281:in `block in migrate_without_lock'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/migration.rb:1280:in `each'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/migration.rb:1280:in `migrate_without_lock'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/migration.rb:1229:in `block in migrate'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/migration.rb:1382:in `with_advisory_lock'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/migration.rb:1229:in `migrate'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/migration.rb:1061:in `up'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/migration.rb:1036:in `migrate'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/tasks/database_tasks.rb:238:in `migrate'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/railties/databases.rake:86:in `block (3 levels) in <main>'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/railties/databases.rake:84:in `each'
zammad-init_1           | /usr/local/bundle/gems/activerecord-6.0.4.1/lib/active_record/railties/databases.rake:84:in `block (2 levels) in <main>'
zammad-init_1           | /usr/local/bundle/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
zammad-init_1           | /usr/local/bin/bundle:23:in `load'
zammad-init_1           | /usr/local/bin/bundle:23:in `<main>'
zammad-init_1           |
zammad-init_1           | Caused by:
zammad-init_1           | ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR:  relation "active_job_locks" does not exist
zammad-init_1           | LINE 8:  WHERE a.attrelid = '"active_job_locks"'::regclass

Looks like the migrations don’t run or don’t run successfully.
From which version did you update…?

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