Problem with self hosted user stuck in pending activation state
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?
There is a FAQ at the bottom of here - I think this should sort you out
https://fider.io/docs/hosting-instance
@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.
Just checked this against a test docker instance, and all fine for me.
@mattwoberts In that case, I believe that my problem is related to this discussion.