In https://backstage.forgerock.com/docs/ig/7/getting-started/starting-standalone.html#d0e493, the location of the env.sh file might need to change depending on if the instance directory has been set, say when passing it as a parameter to start.sh for the standalone case.
Currently it is:
"By adding environment variables in $HOME/.openig/bin/env.sh"
but this is going to be different when an instance directory has been set, the $HOME/.openig part will replaced by the instance directory value.
There looks to be at least one other mention to this path in https://backstage.forgerock.com/docs/ig/7/release-notes/migrate.html#migrate