# Unable to login as admin after enabling read only mode

**URL:** https://meta.discourse.org/t/unable-to-login-as-admin-after-enabling-read-only-mode/85362
**Category:** Support
**Tags:** read-only
**Created:** [April 15, 2018, 8:08am UTC](https://meta.discourse.org/t/unable-to-login-as-admin-after-enabling-read-only-mode/85362 "2018-04-15T08:08:07Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [April 15, 2018, 8:15am UTC](https://meta.discourse.org/t/unable-to-login-as-admin-after-enabling-read-only-mode/85362/4 "2018-04-15T08:15:10Z")

</div>

Depending upon how you enabled the read only mode, here is some help:

> [@Cant disable read-only mode](https://meta.discourse.org/t/cant-disable-read-only-mode/72242/2):
>
> It depends on how you trigger readonly mode. There is a list of keys that you can pass to Postgres depending on how you trigger it

or

> [@Stuck in 'Read Only' Mode](https://meta.discourse.org/t/stuck-in-read-only-mode/42820/2):
>
> If you can ssh into the site host, try this : ./launcher enter app rails c Discourse.disable\_readonly\_mode

---

_[View the full topic](https://meta.discourse.org/t/unable-to-login-as-admin-after-enabling-read-only-mode/85362)._
