echoing-ability-9927
12/29/2025, 2:02 PMdecrypt_env.sh step
The docs mention running local/decrypt_env.sh, but they don’t specify that a path argument is required.
From the script itself:
enterprise_local/decrypt_env.sh <DEPLOY_DIR>
Example: enterprise_local/decrypt_env.sh /path/to/deploy
Since this wasn’t mentioned in the docs and I wasn’t sure what path to pass, I skipped this step.
2. Error while running convert_to_env.py
After that, I ran:
python enterprise_local/convert_to_env.py
And got the following error:
Error: [Errno 2] No such file or directory: 'github_decrypted.yaml'
Traceback (most recent call last):
File ".../enterprise_local/convert_to_env.py", line 87, in <module>
os.remove(yaml_file)
FileNotFoundError: [Errno 2] No such file or directory: 'github_decrypted.yaml'
I assume this file should have been generated by the skipped decrypt_env.sh step, but I’m not fully sure.
Context about my PR
I’ve opened a PR here:
https://github.com/OpenHands/OpenHands/pull/12181
I tested everything up to the point where clicking the GitHub auth button redirects to GitHub. However, after the redirect, the server was still running in OSS mode, so I couldn’t complete the OAuth flow end-to-end and fully validate the PR.
My questions
What exactly am I doing wrong in the enterprise local setup?
1. What should the correct DEPLOY_DIR be for decrypt_env.sh?
2. Is there a recommended way to fully run the enterprise server locally so GitHub auth can be tested end-to-end?
3. Is there anything else I should configure before testing OAuth for enterprise mode?
Any help or pointers would be really appreciated. Thanks a lot!millions-afternoon-47582
12/29/2025, 2:03 PMwooden-umbrella-84098
12/29/2025, 2:34 PMwooden-umbrella-84098
12/29/2025, 2:34 PMflaky-jordan-67349
12/29/2025, 6:59 PMwooden-umbrella-84098
12/29/2025, 7:16 PMflaky-jordan-67349
12/29/2025, 7:20 PMflaky-jordan-67349
12/29/2025, 8:34 PMechoing-ability-9927
12/30/2025, 5:09 AMopenhands-cloud is the official and recommended path, I’m happy to go that route. Running it locally (even via a local Kubernetes setup) is totally fine for me as long as I can complete the OAuth flow end-to-end.
I initially tried running things directly in an IDE because it felt simpler for iterating on the PR, but I’m flexible — whatever setup allows proper GitHub auth testing locally works for me.
If there’s existing guidance for using openhands-cloud locally for auth testing, I’ll follow that.
Thanks a lot for the helpechoing-ability-9927
12/30/2025, 10:44 AMwooden-umbrella-84098
12/30/2025, 4:32 PMwooden-umbrella-84098
12/30/2025, 4:32 PMmillions-afternoon-47582
12/30/2025, 4:38 PMflaky-jordan-67349
12/30/2025, 6:03 PMwooden-umbrella-84098
12/30/2025, 6:56 PMmillions-afternoon-47582
12/30/2025, 6:56 PMwooden-umbrella-84098
12/30/2025, 6:57 PMmillions-afternoon-47582
12/30/2025, 6:59 PMechoing-ability-9927
12/30/2025, 7:00 PMquick-window-91705
12/30/2025, 7:39 PMechoing-ability-9927
01/02/2026, 1:12 PMmillions-afternoon-47582
01/02/2026, 1:27 PM