-
-
Notifications
You must be signed in to change notification settings - Fork 106
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
--build-on-remote flag hangs up on "Building disko script" step and never finishes on MacOS #385
Comments
Did it work with ssh-ng://? |
Probably a stupid question but how would I use that? By using a copy of the script with my own mods? |
You can even take the nix copy command that you see in the debug output |
So this is what I tried:
I redacted my ip-address and changed It doesn't do anything after the server accepts my public key and just waits. I pressed ctrl+c to stop the process after 15minutes. I attached the logs here: Here's also my nix version:
|
log missing context of stdout -- looks like ssh issue |
I tried this again today with the ssh provided by my mac:
and also again with homebrew installed ssh:
I didn't get anything printed to stderr and just redirected all from stdout to this log file:
In this case I was using nixos-anywhere with an UTM virtual machine and it's still the same case as with remote servers. ssh to the UTM machine works perfectly without any issues:
Here are the logs which I saved: This is most likely caused by my own setup since it seems to be working well for everyone else. How could one debug what's going on with the ssh connection since this only happens with the |
Issue
Even on the latest version of nixos-anywhere I can't get deployments working with
--build-on-remote
. I already tried to mention about this on #371 but it's probably cleaner to open new issue instead than continuing there.Example logs
You can see my flake and diskoscripts in this example repo: https://github.com/onnimonni/hetzner-auction-nixos-example.
I can get this working if I kexec the server and then deploy directly there as I documented on the example git repo but not directly from my MacOS.
MacOS version
The text was updated successfully, but these errors were encountered: