-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deploy-rs hangs up and doesn't do anything #294
Comments
suggest you add
|
Did I ran it properly like this?
It still hangs in the exact same step without any logs 😞 |
Do I remember correctly that you are using macos to deploy from? Maybe this?: #216 (comment) try |
Hey, I got the same issue when deploying from a WSL2 instance. [nix-shell:/mnt/c/Users/admin/Documents/glaieul/deployrs]$ deploy .#astryce
🚀 ℹ️ [deploy] [INFO] Running checks for flake in .
warning: unknown flake output 'deploy'
🚀 ℹ️ [deploy] [INFO] Evaluating flake in .
🚀 ℹ️ [deploy] [INFO] The following profiles are going to be deployed:
[astryce.system]
user = "root"
ssh_user = "deploy-rs"
path = "/nix/store/ba5cxpgqc5k1wllj5cs9rdwd0bkyfqqp-activatable-nixos-system-unnamed-24.11.20241107.85f7e66"
hostname = "192.168.1.3"
ssh_opts = ["-i", "~/.ssh/id_ed25519_glaieul_deployrs"]
🚀 ℹ️ [deploy] [INFO] Building profile `system` for node `astryce` on remote host No way to make it predictable whatsoever; it just sometimes, out of nowhere, happens. For instance, I can deploy a bunch of machines using Sometimes by just retrying a bunch, it ends up working. Sometimes if I modified the configuration deploy, it ended up working just after the modification, but not always. It's really weird. Let me know if there is something I can do to help debug this (I already tried the usual -D and -- -L without success). Thanks |
After a bit more debugging its looks like the faulty process is
It does not seems to returns anything. I did test with the ssh option: |
Hey,
I was using this example repository: https://github.com/LGUG2Z/nixos-hetzner-robot-starter to deploy nixos to bare metal AMD server.
I was able to get it up and running and when I'm trying to do small changes and deploy it with
deploy-rs
it just hangs up and doesn't output anything for 15 minutes until I stopped the process:How could I debug whats going on?
The text was updated successfully, but these errors were encountered: