title | description | layout | category |
---|---|---|---|
Troubleshooting the Sandbox |
Troubleshooting issues with the Login.gov sandbox/int environment |
article |
AppDev |
Follow the instructions in the [Troubleshooting the IdP]({% link _articles/appdev-troubleshooting-production.md %}) prerequisites section.
If a user accidentally uploads real PII to our sandbox environment, follow the steps below to delete it.
- Open a new terminal tab and
cd
to theidentity-devops
repo - Run the following command
bin/awsv sandbox bin/ssm-instance --newest asg-int-idp
- Once the SSM session is established, run the following commands to start a Rails console session:
cd /srv/idp/current sudo -uwebsrv ALLOW_CONSOLE_DB_WRITE_ACCESS=true bin/rails c
- Delete the user's associated profiles:
User.find_with_email('[email protected]').profiles.delete_all