# Unable to set show\_logout\_in\_header in app.yml

**URL:** <https://meta.discourse.org/t/unable-to-set-show-logout-in-header-in-app-yml/33814>\
**Category:** Support\
**Created:** [2015年九月28日 01:49 UTC](https://meta.discourse.org/t/unable-to-set-show-logout-in-header-in-app-yml/33814 "2015-09-28T01:49:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ckamps](https://avatars.discourse-cdn.com/v4/letter/c/e95f7d/32.png) [@ckamps](https://meta.discourse.org/u/ckamps)\
**Post date:** [2015年九月28日 01:49 UTC](https://meta.discourse.org/t/unable-to-set-show-logout-in-header-in-app-yml/33814/1 "2015-09-28T01:49:53Z")

</div>

I have been able to set quite a few site settings in the `app.yml` using the following approach:

```
# "Basic Setup" section
- exec: rails r "SiteSetting.fixed_category_positions='true'"
- exec: rails r "SiteSetting.enable_whispers='true'"

# "Users" section
- exec: rails r "SiteSetting.username_change_period='999999'"
- exec: rails r "SiteSetting.full_name_required='true'"

```

But when I attempt to take this approach with the `show_logout_in_header` setting:

```
# "Other" section
- exec: rails r "SiteSetting.show_logout_in_header='true'"

```

The bootstrap process fails with this error:

 ![](https://global.discourse-cdn.com/meta/original/3X/8/1/8178565344f28513cb673b790938a78ec4a560c4.png)

Is this setting implemented in a different manner than the other settings? If so, do you have any advice as to how this setting can be configured via the `app.yml` file?

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2015年九月28日 02:23 UTC](https://meta.discourse.org/t/unable-to-set-show-logout-in-header-in-app-yml/33814/2 "2015-09-28T02:23:41Z")

</div>

> [@ckamps](#):
>
> rails r “SiteSetting.show\_logout\_in\_header=‘true’”

no longer exists as of friday …

[https://github.com/discourse/discourse/commit/7ca75a88ced4d25c8556e0b4f89478193a60bfbf](https://github.com/discourse/discourse/commit/7ca75a88ced4d25c8556e0b4f89478193a60bfbf)

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2015年九月28日 05:18 UTC](https://meta.discourse.org/t/unable-to-set-show-logout-in-header-in-app-yml/33814/3 "2015-09-28T05:18:31Z")

</div>



---

<div class="post-metadata">

**Author:** ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)\
**Post date:** [2015年九月28日 23:58 UTC](https://meta.discourse.org/t/unable-to-set-show-logout-in-header-in-app-yml/33814/4 "2015-09-28T23:58:01Z")

</div>

You should not need to run any of those more than once. You can remove all of them from your app.yml now.
