My fork of Discourse is out of date


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

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.

Clear Active Record cache cause schema appears to have changed!


LINE 1: SELECT "users".* FROM "users" WHERE "users"."email" = 'xxxx...
: SELECT "users".* FROM "users" WHERE "users"."email" = '' 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'```

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


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?

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

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.