# Errors were encountered while processing: postgresql-contrib-9.5

**URL:** <https://meta.discourse.org/t/errors-were-encountered-while-processing-postgresql-contrib-9-5/52670>\
**Category:** Self-hosting\
**Created:** [08.Ноябрь.2016 16:53:54 UTC](https://meta.discourse.org/t/errors-were-encountered-while-processing-postgresql-contrib-9-5/52670 "2016-11-08T16:53:54Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [07.Декабрь.2016 20:04:42 UTC](https://meta.discourse.org/t/errors-were-encountered-while-processing-postgresql-contrib-9-5/52670/7 "2016-12-07T20:04:42Z")

</div>

> [@sphyden](#):
>
> I am migrating my companies instance of discourse from CentOS 6 to CentOS 7 host. I can no longer update Discourse on Cent 6 because there is no new Docker versions. The first thing that I tried is what you mention above. I can import my backup, and successfully restore my data. The catch is I am no longer able to log into the site. Its in some weird state that the new instance thinks that I am logged in from the old instance, causing a log in loop on the new instance. I tried to use the api gem to force log myself out, but you need admin priv’s to do this. I cannot log in, in any form or fashion on the new instance to use the log out API call.

Try to logout trough rails console:

```plaintext
u = User.find_by_id(YOUR_ID_HERE)
u.update_attribute auth_token: nil

```

---

_[View the full topic](https://meta.discourse.org/t/errors-were-encountered-while-processing-postgresql-contrib-9-5/52670)._
