# No login is possible after recovery a Discourse Backup on a new server

**URL:** <https://meta.discourse.org/t/no-login-is-possible-after-recovery-a-discourse-backup-on-a-new-server/205951>\
**Category:** Product Support\
**Created:** [October 13, 2021, 1:46pm UTC](https://meta.discourse.org/t/no-login-is-possible-after-recovery-a-discourse-backup-on-a-new-server/205951 "2021-10-13T13:46:04Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![ITAS-Isti](https://avatars.discourse-cdn.com/v4/letter/i/87869e/32.png) [@ITAS-Isti](https://meta.discourse.org/u/ITAS-Isti)\
**Post date:** [October 13, 2021, 1:46pm UTC](https://meta.discourse.org/t/no-login-is-possible-after-recovery-a-discourse-backup-on-a-new-server/205951/1 "2021-10-13T13:46:04Z")

</div>

Hi,

I have recovered a Discourse Backup on a new VM.  
The recovery itself seems to work. I see the the correct start GUI.

If I try to log in I receive an unknown error:

```plaintext
Processing by UsersController#create as */*
  Parameters: {"name"=>"Istvan XXXXXXX", "email"=>"istvan.XXXXXXXX@mailbox.org", "password"=>"[FILTERED]", "username"
=>"Istvan", "password_confirmation"=>"[FILTERED]", "challenge"=>"6662a14f4549a786ed0f37XXXXXX", "timezone"=>"Eur
ope/Berlin"}
Filter chain halted as :respond_to_suspicious_request rendered or redirected
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 1007)
Started POST "/login" for 172.17.0.1 at 2021-10-13 13:37:31 +0000
Processing by StaticController#enter as HTML
  Parameters: {"username"=>"Istvan", "password"=>"[FILTERED]", "redirect"=>"/u/account-created"}
Redirected to http://discourse.XXXXXXXXX/u/account-created
Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 512)
Started GET "/u/account-created" for 172.17.0.1 at 2021-10-13 13:37:31 +0000
Processing by UsersController#account_created as HTML
  Rendered default/empty.html.erb within layouts/application (Duration: 0.1ms | Allocations: 11)
  Rendered layout layouts/application.html.erb (Duration: 60.6ms | Allocations: 36879)
Completed 200 OK in 81ms (Views: 62.1ms | ActiveRecord: 0.0ms | Allocations: 39906)
Started GET "/session/csrf" for 172.17.0.1 at 2021-10-13 13:37:48 +0000
Processing by SessionController#csrf as JSON
Completed 200 OK in 4ms (Views: 2.0ms | Allocations: 602)
Started POST "/session" for 172.17.0.1 at 2021-10-13 13:37:48 +0000
Processing by SessionController#create as */*
  Parameters: {"login"=>"Istvan", "password"=>"[FILTERED]", "second_factor_method"=>"1", "timezone"=>"Europe/Berlin"
}
Can't verify CSRF token authenticity.
  Rendered text template (Duration: 0.0ms | Allocations: 1)
Filter chain halted as :verify_authenticity_token rendered or redirected
Completed 403 Forbidden in 5ms (Views: 0.7ms | Allocations: 897)

```

 ![image](https://global.discourse-cdn.com/meta/original/3X/9/3/93969451d9ccfaa8ffbb916056af6ef12586f554.jpeg)

Do you have any idea how to solve this issue?

Regards

I.

---

_[View the full topic](https://meta.discourse.org/t/no-login-is-possible-after-recovery-a-discourse-backup-on-a-new-server/205951)._
