Page MenuHomePhabricator

Unhandled Exception ("PhabricatorPasswordHasherUnavailableException")
Closed, WontfixPublic

Description

I set up user accounts for my Phabricator installation (installed via Bitnami, has PHP5.5) with their passwords via .bin/accountadmin, and I also changed my password there. (I know the passwords are correct, as well.)

However, when I try to log in, I get "Unhandled Exception ("PhabricatorPasswordHasherUnavailableException"): Attempting to compare a password saved with the "bcrypt" hash. The hasher exists, but is not currently usable. Upgrade to PHP 5.5.0 or newer."

This is rather annoying as I have PHP 5.5 installed and verified, and I installed bcrypt via sudo apt-get install, though Phabricator does not seem recognize it. I have an active login on one computer, though I may lose that overnight.

I now cannot log in anyone. Why is accountadmin using a hash that it doesn't have, and how do I fix this?

Event Timeline

CodeMouse92 raised the priority of this task from to Needs Triage.
CodeMouse92 updated the task description. (Show Details)
CodeMouse92 added a subscriber: CodeMouse92.

After installing bcrypt, did you restart the web server?

If not: try that first.

If so: the first thing that comes to mind is that bcrypt is enabled for cli, but not for fcgi/mod_php/whatever is running php for the web server.
When you look at a phpinfo (<?php phpinfo();) via the web server, do you see bcrypt being mentioned anywhere?

epriestley claimed this task.
epriestley added a subscriber: epriestley.

Sorry, we do not support third-party installers or packages like Bitnami. See:

https://secure.phabricator.com/book/phabcontrib/article/bug_reports/#supported-issues

You should ask Bitnami for support with their package, or install using the supported upstream instructions.