Hi i am using zammad 5.2.x and when i click on “add package”
i get a 500 error
so the url i end up after clicking on the button that shows the error page is
/api/v1/packages
this is what i see in the log at that time
I, [2022-08-03T11:34:07.194551 #1004001-140194520] INFO – : Started POST “/api/v1/packages” for 10.20.20.3 at 2022-08-03 11:34:07 +0200
I, [2022-08-03T11:34:07.205336 #1004001-140194520] INFO – : Processing by PackagesController#install as HTML
I, [2022-08-03T11:34:07.205359 #1004001-140194520] INFO – : Parameters: {“authenticity_token”=>“(removed for security)”}
E, [2022-08-03T11:34:07.212167 #1004001-140194520] ERROR – : undefined method read' for nil:NilClass (NoMethodError) app/controllers/packages_controller.rb:21:in
install’
app/controllers/application_controller/has_download.rb:21:in block (4 levels) in <module:HasDownload>' app/controllers/application_controller/has_download.rb:20:in
block (3 levels) in module:HasDownload’
app/controllers/application_controller/has_download.rb:19:in block (2 levels) in <module:HasDownload>' app/controllers/application_controller/handles_transitions.rb:16:in
handle_transaction’
I, [2022-08-03T11:34:07.216319 #1004001-140194520] INFO – : Rendered inline template (Duration: 0.3ms | Allocations: 273)
I, [2022-08-03T11:34:07.216429 #1004001-140194520] INFO – : Completed 500 Internal Server Error in 11ms (Views: 1.7ms | ActiveRecord: 2.8ms | Allocations: 7147)