fider icon indicating copy to clipboard operation
fider copied to clipboard

Problem with self hosted user stuck in pending activation state

Open suityou01 opened this issue 1 year ago • 4 comments

I set up an instance of fider running on my k8s cluster. I hit the main page and completed sign up. I had not set up mailhog and found out that email is a vital part of new user setup. So I set up mailhog properly.

I now want to start again, from scratch. I removed the user from the email_verifications table and tried again. The front end is stuck on "YOUR ACCOUNT IS PENDING ACTIVATION".

I cleared all site data, tried another browser, an incognito window, nothing works. It is stuck on this whenever I hit the endpoint.

How can I reset this application state so it signs me up as a new user?

suityou01 avatar Jun 23 '24 12:06 suityou01

There is a FAQ at the bottom of here - I think this should sort you out

https://fider.io/docs/hosting-instance

mattwoberts avatar Jul 08 '24 15:07 mattwoberts

@mattwoberts

I believe that when an error is detected while sending the confirmation email, the account should not enter the 'pending activation' state.

There is a FAQ at the bottom of here - I think this should sort you out

https://fider.io/docs/hosting-instance

Document is suggesting that we run: TRUNCATE TABLE tenants RESTART IDENTITY CASCADE;

However, when I do that, I receive the following error: ERROR: relation "tenants" does not exist

Please suggest an alternative solution.

vbresan avatar Jul 11 '24 10:07 vbresan

Just checked this against a test docker instance, and all fine for me.

CleanShot 2024-07-11 at 15 18 38@2x

mattwoberts avatar Jul 11 '24 14:07 mattwoberts

@mattwoberts In that case, I believe that my problem is related to this discussion.

vbresan avatar Jul 13 '24 09:07 vbresan