- From: "Wright, Jordan M." <
>
- To: "
" <
>
- Subject: [chef] RE: Re: Webui 500 error
- Date: Tue, 19 Aug 2014 12:34:29 -0400
- Accept-language: en-US
- Acceptlanguage: en-US
I did run `sudo chef-server-ctl reconfigure`. I also completely removed chef
and reinstalled it to no avail.
I did not see any errors in erchef logs. In
/var/logs/chef-server/postgresql/current I found the following.
2014-08-19_15:04:06.73597 ERROR: relation "changes" does not exist at
character 50
2014-08-19_15:04:06.73598 STATEMENT:
2014-08-19_15:04:06.73599 SELECT change_id
2014-08-19_15:04:06.73599 FROM changes
2014-08-19_15:04:06.73599 WHERE project = $1
2014-08-19_15:04:06.73599 ORDER BY committed_at DESC
2014-08-19_15:04:06.73600 LIMIT 1
2014-08-19_15:04:06.73600 OFFSET COALESCE($2, 0)
2014-08-19_15:04:06.73600
Jordan
-----Original Message-----
From: Daniel DeLeo
[mailto:
On Behalf Of Daniel DeLeo
Sent: Monday, August 18, 2014 7:01 PM
To:
Subject: [chef] Re: Webui 500 error
On Monday, August 18, 2014 at 8:13 AM, Wright, Jordan M. wrote:
>
I just build a new server on centos 6.5 with
>
chef-server-11.1.3-1.el6.x86_64.rpm. When trying to log into the webui, I
>
get “We're sorry, but something went wrong.” Looking into
>
/var/log/chef-server/chef-server-webui/current I found the attached error
>
log. I noticed there is a 11.1.4-1 release, I upgraded to that version but
>
the results are still the same. What would be causing this and how to I fix
>
it?
>
>
Thanks,
>
Jordan
>
>
2014-08-18_14:48:55.10333 Started POST "/users/login_exec" for 127.0.0.1 at
>
2014-08-18 10:48:55 -0400
>
2014-08-18_14:48:55.14341 Processing by UsersController#login_exec as HTML
>
2014-08-18_14:48:55.14352 Parameters: {"utf8"=>"✓",
>
"authenticity_token"=>"1N8UheAJ9/+KsxMYzohGyKuq2+kWPq+qDN0aMD+ZW80=",
>
"name"=>"admin", "commit"=>"login", "password"=>"[FILTERED]"}
>
2014-08-18_14:48:55.16591 [2014-08-18T10:48:55-04:00] ERROR: 401
>
"Unauthorized"
Looks like a configuration error. Did you run the `sudo chef-server-ctl
reconfigure` step? There might be more helpful info in the erchef (API
service) log.
--
Daniel DeLeo
Archive powered by MHonArc 2.6.16.