Infos:
- Used Zammad version: 5.4.0
- Used Zammad installation type: (source, package, docker-compose, …): package
- Operating system: CentOS Stream 8
- Browser + version: Opera
Expected behavior:
- Upgrade from 5.3.1 without any error
Actual behavior:
- Upgrade done according to Updating Zammad — Zammad documentation (CentOS variant)
- During the postinstall script, I got the following error (I shortened the traceback, hopefully keepting the useful part):
Running transaction
Preparing : 1/1
Running scriptlet: zammad-5.4.0-1678779346.2fb8d15c.centos8.x86_64 1/2
Upgrading : zammad-5.4.0-1678779346.2fb8d15c.centos8.x86_64 1/2
Running scriptlet: zammad-5.4.0-1678779346.2fb8d15c.centos8.x86_64 1/2
(Re)creating init scripts
Nothing to do.
Nothing to do.
Nothing to do.
Enabling Zammad on boot
Stopping Zammad
Clear cache…
database.yml found. Updating db…
== 20221116134211 Issue2185AndOrConditions: migrating =========================
== 20221116134211 Issue2185AndOrConditions: migrated (0.0257s) ================
== 20221206124535 Issue4412SettingSamlLogoutUrl: migrating ====================
== 20221206124535 Issue4412SettingSamlLogoutUrl: migrated (0.0056s) ===========
== 20221206141429 Issue4412SettingSamlIdpCertSwitchTextarea: migrating ========
== 20221206141429 Issue4412SettingSamlIdpCertSwitchTextarea: migrated (0.0057s)
== 20221208131506 Issue3971ExchangeOauth2: migrating ==========================
== 20221208131506 Issue3971ExchangeOauth2: migrated (0.0463s) =================
== 20221209095600 Issue4410AccountLinkingNotification: migrating ==============
== 20221209095600 Issue4410AccountLinkingNotification: migrated (0.0046s) =====
== 20221213145618 Issue4411SettingSamlCustomUidAttribute: migrating ===========
== 20221213145618 Issue4411SettingSamlCustomUidAttribute: migrated (0.0062s) ==
== 20221220095750 Issue4434GitHubRename: migrating ============================
== 20221220095750 Issue4434GitHubRename: migrated (0.0062s) ===================
== 20221221082844 AndOrConditionsSettingDefault: migrating ====================
== 20221221082844 AndOrConditionsSettingDefault: migrated (0.0064s) ===========
== 20230120163410 TaskbarsAddAppsSupport: migrating ===========================
– change_table(:taskbars)
→ 0.2754s
== 20230120163410 TaskbarsAddAppsSupport: migrated (0.2765s) ==================
== 20230125114758 Issue4437AddCleanup: migrating ==============================
== 20230125114758 Issue4437AddCleanup: migrated (0.0049s) =====================
== 20230129220648 TaskbarUpdatePreferenceTasks: migrating =====================
== 20230129220648 TaskbarUpdatePreferenceTasks: migrated (5.5302s) ============
== 20230130173733 AddTaskbarCleanupJob: migrating =============================
== 20230130173733 AddTaskbarCleanupJob: migrated (0.0053s) ====================
== 20230207152500 TicketArticleNoteHint: migrating ============================
== 20230207152500 TicketArticleNoteHint: migrated (0.0063s) ===================
== 20230224160814 Issue4505InconsistentScreenViewActiveAttribute: migrating ===
== 20230224160814 Issue4505InconsistentScreenViewActiveAttribute: migrated (0.0062s)
Updating translations…
/opt/zammad/vendor/bundle/ruby/3.1.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/postgresql_adapter.rb:672:in exec_params': PG::InternalError: ERROR: posting list tuple with 9 items cannot be split at offset 24 (ActiveRecord::StatementInvalid) from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/postgresql_adapter.rb:672:in
block (2 levels) in exec_no_cache’
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.7.2/lib/active_support/dependencies/interlock.rb:48:in block in permit_concurrent_loads' .... with_transaction_returning_status' from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/abstract/database_statements.rb:318:in
transaction’
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/activerecord-6.1.7.2/lib/active_record/transactions.rb:350:in with_transaction_returning_status' ..... /opt/zammad/vendor/bundle/ruby/3.1.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/postgresql_adapter.rb:672:in
exec_params’: ERROR: posting list tuple with 9 items cannot be split at offset 24 (PG::InternalError)
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/postgresql_adapter.rb:672:in block (2 levels) in exec_no_cache' from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.7.2/lib/active_support/dependencies/interlock.rb:48:in
block in permit_concurrent_loads’
…
with_transaction_returning_status’
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/activerecord-6.1.7.2/lib/active_record/connection_adapters/abstract/database_statements.rb:318:in transaction' from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/activerecord-6.1.7.2/lib/active_record/transactions.rb:350:in
with_transaction_returning_status’
from /opt/zammad/vendor/bundle/ruby/3.1.0/gems/activerecord-6.1.7.2/lib/active_record/transactions.rb:302:in `save!’
…
Configuring Elasticsearch…
→ Installing ingest-attachment
[ingest-attachment] is no longer a plugin but instead a module packaged with this distribution of Elasticsearch
→ Please restart Elasticsearch to activate any plugins installed
Steps to reproduce the behavior:
- N/A
How serious is this error? Any suggestion to clean it up? The Zammad instance seems to work properly but I can imagine problems with translations probably… This instance was first installed in 5.1 then upgraded to 5.2, 5.3.1 successfully, without any error.