FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    My user registrations keep disappearing

    Scheduled Pinned Locked Moved
    General Discussion
    0
    7
    5.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • O
      orrett
      last edited by

      Version: 1.22.2

      My user registrations keep vanishing. The user shows as not registered in the UI, and an API request shows the missing registration. However, a search of the database shows the registration is there. Initially I thought this might be an issue with Elasticsearch since I have it enabled. However, after doing a successful reindex, the registration still does not reappear. If I delete the user and recreate them, the registration will last for a few weeks before disappearing again.

      What am I missing here?

      1 Reply Last reply Reply Quote 0
      • joshuaJ
        joshua
        last edited by

        Hi @orrett !

        Thanks for the question!

        Hmmm, this is a tricky one to diagnose without more information. Are you getting any errors or flags that are showing up in your logs? Is your ElasticSearch node/cluster healthy? Are your database and FusionAuth-app sized appropriately?

        The red herring may be in the cyclical nature of the failures; tracking that down might be the hard part. But we can give it a shot!

        Thanks,
        Josh

        1 Reply Last reply Reply Quote 0
        • joshuaJ
          joshua
          last edited by

          @orrett,

          Also, there is a policy for deleting registrations that are not verified. See application > registration

          If you have this enabled, it may be the source of your troubles as well.

          verify_registrations_app.png

          Thanks,
          Josh

          1 Reply Last reply Reply Quote 0
          • O
            orrett
            last edited by

            i am going to check if that policy is enabled. I believe I did enable it. However what I am wondering is if it would just delete the app registration but leave the user within the database?

            Also do you have any docs on configuring log output for the docker instance? I did see info concerning standard installations. However I am running this in docker, and soon moving it to Kubernetes

            1 Reply Last reply Reply Quote 0
            • joshuaJ
              joshua
              last edited by joshua

              Hi @orrett,

              Unverified Users

              You are allowed a user-specified amount of time before the delete action occurs. One thought would be to set a longer timeline, such as say, 90 days, and have a script/chron job that runs through our APIs to track/validate/process the unverified users before they are deleted. Or you could keep unverified users in your application and periodically run a script to capture and act on that as well.

              Screen Shot 2021-04-14 at 5.08.33 PM.png

              Docker

              I would recommend reviewing our standard installation guide for Docker if you have not already (sounds like you may have). All errors are sent to STDOUT.

              Due to the many different ways in which one can configure Docker and specifically K8's, we do not yet have documentation on how to set up something such as a logger. A quick google search reveals:

              1. https://docs.docker.com/config/containers/logging/configure/
              2. https://docs.docker.com/config/containers/logging/
              3. https://docs.docker.com/config/containers/logging/dual-logging/

              These may assist you as you attempt to get up and running on Kubernetes!

              As a final note

              • Our docker Github/container repo can be found here
              • Our Kubernetes's Github repo can be found here
              • Our docker installation guide here

              Both contain additional information that you might find helpful.

              I will let you know if I think of anything else!

              Thanks!
              Josh

              1 Reply Last reply Reply Quote 0
              • O
                orrett
                last edited by

                Hey Joshua,

                Thank you so much for all the help. I have disabled the auto delete function for now. I believe the best way to have auto delete unverified users action enabled is to force a user to verify their email before they are allowed entrance into the app.

                Thankfully such a functionality is pretty easy for me to enable on the front and backend of the app.

                I will take a look at the articles you linked to.

                Thanks again,

                1 Reply Last reply Reply Quote 0
                • joshuaJ
                  joshua
                  last edited by

                  @orrett

                  You are welcome! Hope it goes well!

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post