-
Notifications
You must be signed in to change notification settings - Fork 284
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
BCrypt::Errors::InvalidHash (invalid hash): #348
Comments
I am experiencing the same issue with the same error. |
I've worked around my copy of this issue by utilizing a docker container. I believe the issue might not fall into the scope of Adam Cooke's responsibilities here as it's either a Ruby package or OS concern from my end. |
I faced the same problem today. It's because of the bcrypt gem dependency version. You can update it. |
Hi. I have this exact problem on a new Debian 11 (bullseye) VM. Using mariadb Ver 15.1 Distrib 10.5.15 I'm not overly familiar with Ruby / Gem. What is the process for updating the bcrypt dependency? |
Apologies, I've just seen your note. I had to edit the Gemfile.lock and specify the correct installed version. I also then had to update bundler too once I had removed the old version (I seemed to have two versions of bcrypt installed side-by-side). |
Hello,
When I submit the step 2, the application crashes with this error:
`I, [2021-01-13T12:12:45.845817 #1709364] INFO -- : [dc7baf9b-0795-499a-af81-0a24d2d21c2f] Parameters: {"utf8"=>"✓", "authenticity_token"=>"xxxxxxxxxxxx", "user"=>{"name"=>"xxxxxx", "email_address"=>"[email protected]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Next Step"}
D, [2021-01-13T12:12:45.847546 #1709364] DEBUG -- : [dc7baf9b-0795-499a-af81-0a24d2d21c2f] ESC[1mESC[36mSite Load (0.4ms)ESC[0m ESC[1mESC[34mSELECT
sites
.* FROMsites
ORDER BYsites
.id
ASC LIMIT 1ESC[0mD, [2021-01-13T12:12:45.848277 #1709364] DEBUG -- : [dc7baf9b-0795-499a-af81-0a24d2d21c2f] ESC[1mESC[36mUser Load (0.2ms)ESC[0m ESC[1mESC[34mSELECT
users
.* FROMusers
ORDER BYusers
.id
ASC LIMIT 1ESC[0mI, [2021-01-13T12:12:45.926254 #1709364] INFO -- : [dc7baf9b-0795-499a-af81-0a24d2d21c2f] Completed 500 Internal Server Error in 80ms (ActiveRecord: 0.6ms)
F, [2021-01-13T12:12:45.927040 #1709364] FATAL -- : [dc7baf9b-0795-499a-af81-0a24d2d21c2f]
F, [2021-01-13T12:12:45.927078 #1709364] FATAL -- : [dc7baf9b-0795-499a-af81-0a24d2d21c2f] BCrypt::Errors::InvalidHash (invalid hash):
F, [2021-01-13T12:12:45.927103 #1709364] FATAL -- : [dc7baf9b-0795-499a-af81-0a24d2d21c2f]
F, [2021-01-13T12:12:45.927132 #1709364] FATAL -- : [dc7baf9b-0795-499a-af81-0a24d2d21c2f] app/controllers/setup_controller.rb:17:in
step2'
Does anyone know how to fix this ?
Best,
The text was updated successfully, but these errors were encountered: