When using cleartext password in /etc/couchdb/local.ini in admins sections CouchDB fails with:
Apache CouchDB 1.6.0 (LogLevel=info) is starting.
{"init terminating in do_boot",{{badmatch,{error,{bad_return,{{couch_app,start,[normal,["/etc/couchdb/default.ini","/etc/couchdb/local.ini"]]},{'EXIT',{{badmatch,{error,{shutdown,{failed_to_start_child,couch_primary_services,{shutdown,{failed_to_start_child,couch_server,{function_clause,[{couch_passwords,hash_admin_password,["ABB2A1AB4559241F16EC278D7837F5"],[{file,"couch_passwords.erl"},{line,30}]},{couch_server,'-hash_admin_passwords/1-fun-0-',2,[{file,"couch_server.erl"},{line,148}]},{lists,foreach,2,[{file,"lists.erl"},{line,1337}]},{couch_server,init,1,[{file,"couch_server.erl"},{line,172}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,328}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]}}}}}}},[{couch_server_sup,start_server,1,[{file,"couch_server_sup.erl"},{line,98}]},{application_master,start_it_old,4,[{file,"application_master.erl"},{line,273}]}]}}}}}},[{couch,start,0,[{file,"couch.erl"},{line,18}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}
Crash dump is being written to: erl_crash.dump...init terminating in do_boot ()
This is most likely related to this fix:
https://github.com/apache/couchdb/commit/ed825d362ff237981ef15e4a28e326c79bd1367f
ProblemType: Bug
Architecture: amd64
Date: 2018-02-20
DistroRelease: Ubuntu 16.04
Package: couchdb-bin 1.6.0-0ubuntu7