-
Notifications
You must be signed in to change notification settings - Fork 887
Coder gets zsh killed on macOS (not M1) after curl installing 0.6.2 AMD64 build #2086
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
Comments
Was this on an M1 laptop? Or an Intel one? |
This was an intel laptop, but I'm unable to reproduce |
Mark and I debugged this a bit further. He was able to consistently reproduce when upgrading from 0.6.0 to 0.6.2. I was not able to reproduce. One primary difference is he uses a MacOS Big Sur and I use Monterey. It seems like a reboot also serves the problem for him, but not new terminal sessions. |
It's not great to say we only support the latest macOS, and it's likely going to be a few months before 13 comes out. I think we're going to need to tackle this one after initial shipment. |
@bpmct My workaround (for now) is putting $HOME/.cache/coder in the path, since that is where we originally copy |
This is probably a bug in how the copy works then. I'll debug |
Will compare this to the helm install script and see if a permissions issue occurs: https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 |
I believe this has to do with how Apple "trusts" binaries. Deleting the binary right before copying in the new one does the trick. |
OS Information
coder --version
: 0.6.2Steps to Reproduce
curl -L https://coder.com/install.sh | sh
then run coder
Expected
the list of coder commands
Actual
markmilligan@mtmcoder ~ % coder
zsh: killed coder
Logs
After coder is installed:
`Installing v0.6.2 of the amd64 release from GitHub.
Password:
Archive: /Users/markmilligan/.cache/coder/coder_0.6.2_darwin_amd64.zip
inflating: /Users/markmilligan/.cache/coder/LICENSE
inflating: /Users/markmilligan/.cache/coder/README.md
inflating: /Users/markmilligan/.cache/coder/coder
Standalone release has been installed into /usr/local/bin/coder
Run Coder (temporary):
coder server --dev
Or run a production deployment with PostgreSQL:
CODER_PG_CONNECTION_URL="postgres://@/?password="
coder server`
which coder
markmilligan@mtmcoder ~ % which coder /usr/local/bin/coder
Screenshot
Notes
I'm blocked
The text was updated successfully, but these errors were encountered: