# My fork of Discourse is out of date

**URL:** https://meta.discourse.org/t/my-fork-of-discourse-is-out-of-date/75840
**Category:** Development
**Created:** [11 Dezembro , 2017 20:58 UTC](https://meta.discourse.org/t/my-fork-of-discourse-is-out-of-date/75840 "2017-12-11T20:58:19Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![leog](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/leog/32/119839_2.png) [@leog](https://meta.discourse.org/u/leog)
#### Post date: [11 Dezembro , 2017 20:58 UTC](https://meta.discourse.org/t/my-fork-of-discourse-is-out-of-date/75840/1 "2017-12-11T20:58:19Z")

</div>

Hello.

After upgrading to v1.9.0.beta15+135 we are having a problem with the registration of new users. In the logs I could find these two logs while I was trying to register a new user through OAuth2 with the following plugin [GitHub - PartidoDigital/Discourse-Auth0-Plugin: A basic OAuth2 plugin for use with Discourse · GitHub](https://github.com/PartidoDigital/Discourse-Auth0-Plugin).

I’ll bet the plugin needs some fixes for a DB schema that could have changed in the latest releases. Before upgrading I had the beta13 I think.

Thanks a lot in advance.

Warning:  
`Clear Active Record cache cause schema appears to have changed!`

Error:

````plaintext
LINE 1: SELECT "users".* FROM "users" WHERE "users"."email" = 'xxxx...
^
: SELECT "users".* FROM "users" WHERE "users"."email" = 'xxxxxx@gmail.com' ORDER BY "users"."id" ASC LIMIT 1)
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/rack-mini-profiler-0.10.7/lib/patches/db/pg.rb:90:in `async_exec'```
````

---

<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: [11 Dezembro , 2017 21:05 UTC](https://meta.discourse.org/t/my-fork-of-discourse-is-out-of-date/75840/2 "2017-12-11T21:05:08Z")

</div>

Yes, your fork is broken. Merge latest changes from the main repo to fix it.

---

<div class="post-metadata">

### Author: ![leog](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/leog/32/119839_2.png) [@leog](https://meta.discourse.org/u/leog)
#### Post date: [11 Dezembro , 2017 21:40 UTC](https://meta.discourse.org/t/my-fork-of-discourse-is-out-of-date/75840/3 "2017-12-11T21:40:47Z")

</div>

Oh shoot. How could I’ve missed that? thanks!

So running `./launcher rebuild app` after updating the code in the repo I should be fine, right?

---

<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: [11 Dezembro , 2017 21:43 UTC](https://meta.discourse.org/t/my-fork-of-discourse-is-out-of-date/75840/4 "2017-12-11T21:43:01Z")

</div>

Yes. Also I don’t know why you are using a fork. Try using the official repo instead.

---

<div class="post-metadata">

### Author: ![leog](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/leog/32/119839_2.png) [@leog](https://meta.discourse.org/u/leog)
#### Post date: [11 Dezembro , 2017 21:58 UTC](https://meta.discourse.org/t/my-fork-of-discourse-is-out-of-date/75840/5 "2017-12-11T21:58:21Z")

</div>

Actually, Auth0 service provides an OAuth2 implementation with some modifications from the one implemented in the original version, so I needed to fork it and rename it to be a plugin only supported by Auth0.
