Skip to main content

Recover admin access when you don't know the admin email

Symptom

You cannot access Admin Settings and do not know which email has Instance Administrator privileges.

Cause

Instance administrator email addresses are managed in Admin Settings, which only instance administrators can access. If you cannot reach Admin Settings, you cannot see or change the current admin list from the UI. This commonly happens when the previous administrator left the organization, you inherited an existing deployment, or you forgot which account was configured as the instance administrator.

Solution

  1. Choose the email address for the new instance administrator.
  2. Set APPSMITH_ADMIN_EMAILS using the platform-specific steps below.
  3. Restart the instance for the change to take effect.
  4. Sign up with a new email or sign in with an existing account using that email address. The user receives the Instance Administrator role on startup.
  5. Open Admin Settings to verify access and manage other administrators.
info

If signup is disabled, ensure APPSMITH_SIGNUP_DISABLED allows the new administrator to register, or use an email address that already has an account on the instance.

info

If the instance uses SSO-only login, re-enable form login before signing up. See Locked out after misconfiguring or disconnecting SSO.

  1. Navigate to your installation folder.

  2. Open the stacks/configuration/docker.env file.

  3. Add or update the environment variable:

    APPSMITH_ADMIN_EMAILS=your-admin@example.com

    To assign more than one instance administrator, separate email addresses with commas.

  4. Restart the Docker containers for the changes to take effect:

    docker-compose restart appsmith

See also