# איך לשנות הגדרת אתר באמצעות הקונסולה

**URL:** https://meta.discourse.org/t/how-to-change-a-site-setting-via-the-console/32761
**Category:** Support
**Created:** [31 באוגוסט,‏ 2015,‏ 9:29pm UTC](https://meta.discourse.org/t/how-to-change-a-site-setting-via-the-console/32761 "2015-08-31T21:29:26Z")
**Posts on this page:** 1
**Showing post:** 12

<div class="post-metadata">

### Author: ![ewanly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ewanly/32/62854_2.png) [@ewanly](https://meta.discourse.org/u/ewanly)
#### Post date: [19 באוקטובר,‏ 2016,‏ 2:46pm UTC](https://meta.discourse.org/t/how-to-change-a-site-setting-via-the-console/32761/12 "2016-10-19T14:46:20Z")

</div>

So I did these commands:

```
cd /var/discourse
./launcher enter app

```

then  
`bundle exec rails c`

and I’ve got the following errors:

> URGENT: FATAL: Peer authentication failed for user “discourse”  
> Failed to initialize site default  
> /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active\_record/connection\_adapters/postgresql\_adapter.rb:651:in `initialize': FATAL: Peer authentication failed for user "discourse" (PG::ConnectionBad) from /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/postgresql_adapter.rb:651:in `new’  
> from /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active\_record/connection\_adapters/postgresql\_adapter.rb:651:in `connect’

> …  
> … many folders list  
> …

I did `./launcher rebuild app` and tried again. The same errors!

* * *

After I’d pissed of these problems. I did restored my droplet from a previous snapshot I had and started from scratch.

I did enabled FORCE\_HTTPS without a problem.

---

_[View the full topic](https://meta.discourse.org/t/how-to-change-a-site-setting-via-the-console/32761)._
