Patreonのトークンが管理画面から消えた

v1.9.0.beta2 +35 を使用しています。今日、サイト設定を確認していたところ、Patreon トークンが消失していることに気づきました。


トークンなしで Sidekiq 上のジョブを実行してみましたが、正常に動作しました。

IkBZL43
この例外を除き、他のすべてのサイト設定は変更されていません。


これらのボタンは、私のフォーラムで「メーリングリストモード」が有効になっていなくても常に表示されています。

編集 パトレオンに関連するすべてのデータを PC のドキュメントに保存しておりました。比較すると、今日パトレオンで確認されたトークンと異なることがわかりました。
したがって、これはパトレオンプラグインの問題なのか、それとも最近の変更を加えたパトレオンサイト自体の問題なのかはわかりません。

There were some changes at Patreon recently. @falco should have a look.

I just tried to log I to a site that I maintain and the Patreon login page has the login button grayed out.

Edit: And on the browser where I’m still logged in, clicking the Patreon tab gives me a 500 error. Perhaps that’s due to problems with rubygems.

Do you have any entries on the log related to Patreon @Trash?

This site settings are very peculiar, because they are update every week for new tokens.

Maybe the process failed somehow and the credentials got wiped.

And I think you still have credentials for mine, @falco. I get a 501 when I access the plugin page.

I’ve got old errors (178)

 Job exception: undefined method map' for nil:NilClass

and the sync on Sidekiq for Patreon groups FAILED.

Now I have

  1. Update the client key on Patreon
  2. Insert the new tokens on Discourse
  3. Manually trigger the job on Sidekid (result OK)

No new errors in logs.

It seems that in this way all works again. I’ll check again sidekiq and logs in 5 hours to see if the next job automatically works without errors.


I can confirm that all is working now. The automatic job to sync groups on sidekiq runs and I have no error on logs.

:scream: So is it possible that next week I will have the same problems…
I will check the settings again next week

I added better error handling and logs around this:

https://github.com/discourse/discourse-patreon/commit/df4c1178ec5bf3458585053a037c88c7b41773f9