Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#52116 - [gitlab] 500 error due to postgresql version mismatch
Attached to Project:
Community Packages
Opened by Tiago Peixoto (count0) - Sunday, 11 December 2016, 17:33 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 11 December 2016, 18:25 GMT
Opened by Tiago Peixoto (count0) - Sunday, 11 December 2016, 17:33 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 11 December 2016, 18:25 GMT
|
DetailsWith the current version 8.14.4-1 I get a 500 error. When inspecting production.log I see:
Started GET "/count0/graph-tool/issues.atom?private_token=[FILTERED]" for 74.50.54.54 at 2016-12-11 00:09:12 +0100 Processing by Projects::IssuesController#index as ATOM Parameters: {"private_token"=>"[FILTERED]", "namespace_id"=>"count0", "project_id"=>"graph-tool"} Completed 500 Internal Server Error in 8ms (ActiveRecord: 2.6ms) ActiveRecord::StatementInvalid (PG::InternalError: ERROR: incompatible library "/usr/lib/postgresql/pg_trgm.so": version mismatch DETAIL: Server is version 9.5, library is version 9.6. : UPDATE "users" SET "last_sign_in_at" = $1, "current_sign_in_at" = $2, "sign_in_count" = $3, "updated_at" = $4 WHERE "users"."id" = $5): config/initializers/ar_monkey_patch.rb:16:in `_update_record' app/controllers/application_controller.rb:64:in `authenticate_user_from_private_token!' lib/gitlab/request_profiler/middleware.rb:15:in `call' lib/gitlab/middleware/go.rb:16:in `call' If I downgrade to postgresql-9.5.4-1 and postgresql-libs-9.5.4-1, this error disappears, and everything starts to work again. |
This task depends upon
It is worth noting that I have been observing this error for several releases now.