# Chef-0.8.10 web login with default password failing

**URL:** <https://discourse.chef.io/t/chef-0-8-10-web-login-with-default-password-failing/1394>\
**Category:** Chef Infra (archive)\
**Created:** [April 2, 2010, 3:00pm UTC](https://discourse.chef.io/t/chef-0-8-10-web-login-with-default-password-failing/1394 "2010-04-02T15:00:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon49489642](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@anon49489642](https://discourse.chef.io/u/anon49489642)\
**Post date:** [April 2, 2010, 3:00pm UTC](https://discourse.chef.io/t/chef-0-8-10-web-login-with-default-password-failing/1394/1 "2010-04-02T15:00:18Z")

</div>

I’ve just installed a fresh copy of chef-server on an Ubuntu 9.10 EC2  
instance (ami-857829c0)

I can’t login. Details below. Any help would be appreciated.

thanks,

Mike

[http://chef.failmode.com:4040/](http://chef.failmode.com:4040/)

# /etc/chef/server.rb

web\_ui\_admin\_user\_name "admin"  
web\_ui\_admin\_default\_password “1R0KVK8XdWca11Rdrh8z”

Error displayed on web page: “Could not complete logging in.”

root@ip-10-160-81-191:/etc/service/chef-server/log/main# tail -f current

2010-04-02\_14:50:52.47123 INFO: Authenticating client chef-webui  
2010-04-02\_14:50:52.49012 merb : worker (port 4000) ~ Cannot load user admin

- (Merb::ControllerExceptions::NotFound)  
2010-04-02\_14:50:52.49013  
/usr/lib/ruby/gems/1.8/gems/chef-server-api-0.8.10/app/controllers/users.rb:37:in  
`show' 2010-04-02_14:50:52.49013 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/controller/abstract_controller.rb:315:in`send’  
2010-04-02\_14:50:52.49014  
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/controller/abstract\_controller.rb:315:in  
`_call_action' 2010-04-02_14:50:52.49014 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/controller/abstract_controller.rb:289:in`\_dispatch’  
2010-04-02\_14:50:52.49015  
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/controller/merb\_controller.rb:252:in  
`_dispatch' 2010-04-02_14:50:52.49016 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/dispatch/dispatcher.rb:102:in`dispatch\_action’  
2010-04-02\_14:50:52.49016  
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/dispatch/dispatcher.rb:74:in  
`handle' 2010-04-02_14:50:52.49017 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/dispatch/dispatcher.rb:36:in`handle’  
2010-04-02\_14:50:52.49017  
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/rack/application.rb:17:in  
`call' 2010-04-02_14:50:52.49018 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/rack/middleware/static.rb:28:in`call’  
2010-04-02\_14:50:52.49019  
/usr/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/connection.rb:76:in  
`pre_process' 2010-04-02_14:50:52.49020 /usr/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/connection.rb:74:in`catch’  
2010-04-02\_14:50:52.49020  
/usr/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/connection.rb:74:in  
`pre_process' 2010-04-02_14:50:52.49021 /usr/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/connection.rb:57:in`process’  
2010-04-02\_14:50:52.49021  
/usr/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/connection.rb:42:in  
`receive_data' 2010-04-02_14:50:52.49024 /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in`run\_machine’  
2010-04-02\_14:50:52.49025  
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in  
`run' 2010-04-02_14:50:52.49025 /usr/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/backends/base.rb:57:in`start’  
2010-04-02\_14:50:52.49026  
/usr/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/server.rb:156:in `start' 2010-04-02_14:50:52.49026 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/rack/adapter/thin.rb:30:in`start\_server’  
2010-04-02\_14:50:52.49027  
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/rack/adapter/abstract.rb:296:in  
`start_at_port' 2010-04-02_14:50:52.49027 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/rack/adapter/abstract.rb:128:in`start’  
2010-04-02\_14:50:52.49028  
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/server.rb:174:in  
`bootup' 2010-04-02_14:50:52.49029 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/server.rb:42:in`start’  
2010-04-02\_14:50:52.49029  
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core.rb:173:in `start' 2010-04-02_14:50:52.49030 /usr/lib/ruby/gems/1.8/gems/chef-server-0.8.10/bin/chef-server:77 2010-04-02_14:50:52.49030 /usr/bin/chef-server:19:in`load’  
2010-04-02\_14:50:52.49031 /usr/bin/chef-server:19  
2010-04-02\_14:50:52.49049 merb : worker (port 4000) ~ Params:  
{“format”=\>nil, “action”=\>“show”, “id”=\>“admin”,  
“controller”=\>“chef\_server\_api/users”}  
2010-04-02\_14:50:52.49092 merb : worker (port 4000) ~  
2010-04-02\_14:50:52.49092

---

<div class="post-metadata">

**Author:** ![John\_Merrells](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/john_merrells/32/825_2.png) [@John\_Merrells](https://discourse.chef.io/u/John_Merrells)\
**Post date:** [April 2, 2010, 4:05pm UTC](https://discourse.chef.io/t/chef-0-8-10-web-login-with-default-password-failing/1394/2 "2010-04-02T16:05:04Z")

</div>

This happened to me twice yesterday installing 0.8.8. I couldn't find a better solution than reinstalling, and being very very careful to get the first login right...

John

On Apr 2, 2010, at 8:00 AM, Mike Bailey wrote:

> I've just installed a fresh copy of chef-server on an Ubuntu 9.10 EC2 instance (ami-857829c0)
> 
> I can't login. Details below. Any help would be appreciated.
> 
> thanks,
> 
> Mike
> 
> [http://chef.failmode.com:4040/](http://chef.failmode.com:4040/)
> 
> # /etc/chef/server.rb
> 
> web\_ui\_admin\_user\_name "admin"  
> web\_ui\_admin\_default\_password "1R0KVK8XdWca11Rdrh8z"
> 
> Error displayed on web page: "Could not complete logging in."
> 
> root@ip-10-160-81-191:/etc/service/chef-server/log/main# tail -f current
> 
> 2010-04-02\_14:50:52.47123 INFO: Authenticating client chef-webui  
> 2010-04-02\_14:50:52.49012 merb : worker (port 4000) ~ Cannot load user admin - (Merb::ControllerExceptions::NotFound)  
> 2010-04-02\_14:50:52.49013 /usr/lib/ruby/gems/1.8/gems/chef-server-api-0.8.10/app/controllers/users.rb:37:in `show' 2010-04-02_14:50:52.49013 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/controller/abstract_controller.rb:315:in `send'  
> 2010-04-02\_14:50:52.49014 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/controller/abstract\_controller.rb:315:in `_call_action' 2010-04-02_14:50:52.49014 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/controller/abstract_controller.rb:289:in `\_dispatch'  
> 2010-04-02\_14:50:52.49015 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/controller/merb\_controller.rb:252:in `_dispatch' 2010-04-02_14:50:52.49016 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/dispatch/dispatcher.rb:102:in `dispatch\_action'  
> 2010-04-02\_14:50:52.49016 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/dispatch/dispatcher.rb:74:in `handle' 2010-04-02_14:50:52.49017 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/dispatch/dispatcher.rb:36:in `handle'  
> 2010-04-02\_14:50:52.49017 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/rack/application.rb:17:in `call' 2010-04-02_14:50:52.49018 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/rack/middleware/static.rb:28:in `call'  
> 2010-04-02\_14:50:52.49019 /usr/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/connection.rb:76:in `pre_process' 2010-04-02_14:50:52.49020 /usr/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/connection.rb:74:in `catch'  
> 2010-04-02\_14:50:52.49020 /usr/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/connection.rb:74:in `pre_process' 2010-04-02_14:50:52.49021 /usr/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/connection.rb:57:in `process'  
> 2010-04-02\_14:50:52.49021 /usr/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/connection.rb:42:in `receive_data' 2010-04-02_14:50:52.49024 /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run\_machine'  
> 2010-04-02\_14:50:52.49025 /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run' 2010-04-02_14:50:52.49025 /usr/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/backends/base.rb:57:in `start'  
> 2010-04-02\_14:50:52.49026 /usr/lib/ruby/gems/1.8/gems/thin-1.2.7/lib/thin/server.rb:156:in `start' 2010-04-02_14:50:52.49026 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/rack/adapter/thin.rb:30:in `start\_server'  
> 2010-04-02\_14:50:52.49027 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/rack/adapter/abstract.rb:296:in `start_at_port' 2010-04-02_14:50:52.49027 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/rack/adapter/abstract.rb:128:in `start'  
> 2010-04-02\_14:50:52.49028 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/server.rb:174:in `bootup' 2010-04-02_14:50:52.49029 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core/server.rb:42:in `start'  
> 2010-04-02\_14:50:52.49029 /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.15/lib/merb-core.rb:173:in `start' 2010-04-02_14:50:52.49030 /usr/lib/ruby/gems/1.8/gems/chef-server-0.8.10/bin/chef-server:77 2010-04-02_14:50:52.49030 /usr/bin/chef-server:19:in `load'  
> 2010-04-02\_14:50:52.49031 /usr/bin/chef-server:19  
> 2010-04-02\_14:50:52.49049 merb : worker (port 4000) ~ Params: {"format"=\>nil, "action"=\>"show", "id"=\>"admin", "controller"=\>"chef\_server\_api/users"}  
> 2010-04-02\_14:50:52.49092 merb : worker (port 4000) ~  
> 2010-04-02\_14:50:52.49092

--  
John Merrells

> **[John Merrells](https://johnmerrells.com/)**
>
> Startup Advisor | Founder Coach | Fractional CTO | Technical Due Diligence

+1.415.244.5808

---

<div class="post-metadata">

**Author:** ![Bryan\_McLellan](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/bryan_mclellan/32/81_2.png) [@Bryan\_McLellan](https://discourse.chef.io/u/Bryan_McLellan)\
**Post date:** [April 2, 2010, 7:15pm UTC](https://discourse.chef.io/t/chef-0-8-10-web-login-with-default-password-failing/1394/3 "2010-04-02T19:15:10Z")

</div>

On Fri, Apr 2, 2010 at 8:00 AM, Mike Bailey [mike@bailey.net.au](mailto:mike@bailey.net.au) wrote:

> I've just installed a fresh copy of chef-server on an Ubuntu 9.10 EC2  
> instance (ami-857829c0)  
> I can't login. Details below. Any help would be appreciated.

I had to restart the chef-server-webui once after installation when I  
configured that field for it to work. It still wants me to change the  
password after login pretty regularly now.

Bryan
