# Login fails with "Unknown error"

**URL:** <https://meta.discourse.org/t/login-fails-with-unknown-error/131832>\
**Category:** Product Support\
**Created:** [24 באוקטובר,‏ 2019,‏ 8:05pm UTC](https://meta.discourse.org/t/login-fails-with-unknown-error/131832 "2019-10-24T20:05:42Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![figure002](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/figure002/32/197021_2.png) [@figure002](https://meta.discourse.org/u/figure002)\
**Post date:** [24 באוקטובר,‏ 2019,‏ 8:05pm UTC](https://meta.discourse.org/t/login-fails-with-unknown-error/131832/1 "2019-10-24T20:05:42Z")

</div>

Hello,

I’m running my own Discourse instance which I installed by following the basic [Docker install guide](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md). The issue I’m having is that after a few days of using the forum, login stops working entirely. Note that I’m the only user on this forum. But unfortunately I don’t know what’s causing the bug.

**Steps to reproduce #1:**

1. Install a new Discourse server by following instructions from Docker install guide.
2. Once the setup wizard has completed, verify you can successfully log out and back in.
3. Continue using the forum as normal. Just create some categories and posts. Maybe change the default theme.
4. After a few days or weeks of normal usage, you won’t be able to log back in after logging out. Login fails with “Unknown error” (displayed at the login form).

**Steps to reproduce #2:**

1. Install a new Discourse server by following instructions from Docker install guide.
2. Once the setup wizard has completed, verify you can successfully log out and back in.
3. Restore a backup from another Discourse instance where login was failing.
4. While the restore is in progress, you get a pop-up message saying that you were logged out. Restore was successful, but login fails with “Unknown error” (displayed at the login form).

I have tried debugging the issue myself, but I was unable to find any relevant error messages. This is what I’ve tried so far:

```
cd /var/discourse
./launcher enter app
tail -F log/production_errors.log
tail -F log/production.log
tail -F log/unicorn.stderr.log
tail -F log/unicorn.stdout.log

```

No error message appears in these logs during a failed login. What else can I do to help debug this problem? Thanks in advance.

---

_[View the full topic](https://meta.discourse.org/t/login-fails-with-unknown-error/131832)._
