I sent this to Zammad support, but without a contract or workshop, I am not getting any help.
Let me briefly summarize how this error occurred.
I performed a migration from Zammad to another server.
Backup of the old system following the instructions:
Ubuntu 22.04
Zammad Version 6.4.1
/opt/zammad/contrib/backup/zammad_backup.sh
Installed a fresh Zammad on the new system → No issues
Ubuntu 24.04
Zammad Version 6.5
Restored the backup following the instructions:
/opt/zammad/contrib/backup/zammad_restore.sh
Now, whenever I open an existing ticket, I receive the following error message on the UI:
StatusCode: 500
Found two visible definitions for Subscriptions.ticketLiveUserUpdates: #<Gql::Fields::BaseField Subscriptions.ticketLiveUserUpdates(...): TicketLiveUserUpdatesPayload!>, #<Gql::Fields::BaseField Subscriptions.ticketLiveUserUpdates(...): TicketLiveUserUpdatesPayload!>
The Production.log shows the following:
I, [2025-05-08T13:11:39.357899#26214-250640] INFO -- : Started GET "/api/v1/tickets/12577?all=true&auto_assign=true&_=1746708564257" for 192.168.11.12 at 2025-05-08 13:11:39 +0000
I, [2025-05-08T13:11:39.360096#26214-250640] INFO -- : Processing by TicketsController#show as JSON
I, [2025-05-08T13:11:39.360330#26214-250640] INFO -- : Parameters: {"all"=>"true", "auto_assign"=>"true", "_"=>"1746708564257", "id"=>"12577"}
I, [2025-05-08T13:11:39.360238#26214-235000] INFO -- : Started POST "/api/v1/taskbar" for 192.168.11.12 at 2025-05-08 13:11:39 +0000
I, [2025-05-08T13:11:39.363521#26214-235000] INFO -- : Processing by TaskbarController#create as JSON
I, [2025-05-08T13:11:39.363560#26214-235000] INFO -- : Parameters: {"key"=>"Ticket-12577", "callback"=>"TicketZoom", "params"=>{"ticket_id"=>12577, "overview_id"=>4, "shown"=>true}, "prio"=>7, "notify"=>false, "active"=>true, "id"=>"c-14"}
E, [2025-05-08T13:11:39.380819#26214-235000] ERROR -- : Found two visible definitions for Subscriptions.ticketLiveUserUpdates: #<Gql::Fields::BaseField Subscriptions.ticketLiveUserUpdates(...): TicketLiveUserUpdatesPayload!>, #<Gql::Fields::BaseField Subscriptions.ticketLiveUserUpdates(...): TicketLiveUserUpdatesPayload!> (GraphQL::Schema::DuplicateNamesError)
app/graphql/gql/subscriptions/base_subscription.rb:44:in `trigger'
app/models/taskbar/triggers_subscriptions.rb:27:in `trigger_live_user_subscriptions'
app/controllers/application_controller/renders_models.rb:26:in `model_create_render'
app/controllers/taskbar_controller.rb:17:in `create'
app/controllers/application_controller/handles_transitions.rb:16:in `handle_transaction'
I, [2025-05-08T13:11:39.385119#26214-235000] INFO -- : Completed 500 Internal Server Error in 21ms (Views: 0.1ms | ActiveRecord: 13.0ms (14 queries, 6 cached) | GC: 0.7ms)