Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

solved: /sidekiq cannot be displayed after updating to rails 5.2.4.1 #12698

Closed
mayaeh opened this issue Dec 27, 2019 · 2 comments
Closed

solved: /sidekiq cannot be displayed after updating to rails 5.2.4.1 #12698

mayaeh opened this issue Dec 27, 2019 · 2 comments

Comments

@mayaeh
Copy link
Contributor

mayaeh commented Dec 27, 2019

Actual behaviour

An error page may be displayed when accessing /sidekiq after updating to rails 5.2.4.1.
At that time, the following error is output to the server log:

NoMethodError (undefined method 'public_id' for #<String:0x00007f86d1decce0>):
vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.4.1/lib/action_dispatch/middleware/session/cookie_store.rb:111:in 'write_session'

This seems to happen if you have a logged in session when running on rails 5.2.4, update to rails 5.2.4.1 and access with that session.

The problem was solved by clearing the web browser session and logging in again.

Steps to reproduce the problem

  1. Log in while running on rails 5.2.4.
  2. Update to rails 5.2.4.1 without logout the session, restart and access again.
  3. I got this error.

Specifications

Mastodon master branch e0c2ecb or later

@ThomasLeister
Copy link
Contributor

Thanks for mentioning your solution. I was having the same issue for months and finally got it working, again. :-)

@leahoswald
Copy link

Had the issue for months too and now it's working again 😀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants