-
Notifications
You must be signed in to change notification settings - Fork 6k
armv7l builds for --link #4143
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
I just tested locally and cannot reproduce.
cc @kylecarbs |
Oh alright. although ive only installed it so recently..
…On Mon, 13 Sep 2021, 19:03 Joe Previte, ***@***.***> wrote:
I just tested locally and cannot reproduce.
[image: image]
<https://user-images.githubusercontent.com/3806031/133126301-36ecca90-8842-4095-ac1c-92d57d22fc81.png>
[image: image]
<https://user-images.githubusercontent.com/3806031/133126214-03cdb06c-709b-40a3-94f9-26c759b74096.png>
--link is actually in the middle of a big refactor though and we're going
to be beta testing some new features. If you're interested, let us know!
cc @kylecarbs <https://github.com/kylecarbs>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4143 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJKBSXPJR7DE64YORXDHOFDUBYVF5ANCNFSM5D3KHBDA>
.
|
@bpmct might be able to help you! |
The problem is the current --link agent is not built for the Raspberry Pi. We are working on a new version of Link and will make sure we make armv7l builds. We aim on sharing this by Friday and will be sure to let you know :) In the meantime, you could try and build the binary yourself and move it to |
This sounds good, tyvm!
…On Wed, 15 Sep 2021, 06:55 Ben Potter, ***@***.***> wrote:
The problem is the current --link agent is not built for the Raspberry Pi.
We are working on a new version of Link and will make sure we make armv7l
builds. We aim on sharing this by Friday and will be sure to let you know :)
In the meantime, you could try and build the binary yourself
<https://github.com/cdr/cloud-agent> and put it in
/home/pi/.nvm/versions/node/v14.17.6/lib/node_modules/code-server/lib/coder-cloud-agent
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4143 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJKBSXKPNLDYCK2BIMN4LHTUCARK5ANCNFSM5D3KHBDA>
.
|
Although now,
|
Ah! I can't remember if you have to specify v0.2.1 or 0.2.1, but you'll need to build with this flag: go build -ldflags "-X go.coder.com/cloud-agent/internal/version.Version=v0.2.1"
# or
go build -ldflags "-X go.coder.com/cloud-agent/internal/version.Version=0.2.1" This is how it is built for releases: https://github.com/cdr/cloud-agent/blob/master/.github/workflows/release.yaml#L28 |
This works alright now, thank you! Im facing a new ossue now, should I open a new one? It just gives me the latency but doesnt give me a link |
@bpmct It's with the |
cc @bpmct @kylecarbs any ideas? |
Oh, update, it didnt give it enough of a chance: It tried to read a json but failed coz the header was EOF |
Ah cool. We will have a new release soon which will resolve these networking issues |
I am running into the same issue by installing using the script (which install code-server using brew). The code-server version that brew installed is 3.12.0. I am currently using a Mac. |
I think this is likely because postinstall script is not running, which will be fixed for the next release. (#4231) Could you try manually running these lines in your terminal? Where brew installed code-server https://github.com/cdr/code-server/blob/main/ci/build/npm-postinstall.sh#L59-L64%5C |
Thank you so much for replying me. I tried to install after uninstalling code-server using "brew install code-server" Here is the response:
Hope this information is helpful. |
@1tszyau You did that right. What is the output of Ah, whoops. Try running this # Copied from arch() in ci/lib.sh.
detect_arch() {
case "$(uname -m)" in
aarch64)
echo arm64
;;
x86_64 | amd64)
echo amd64
;;
*)
# This will cause the download to fail, but is intentional
uname -m
;;
esac
}
ARCH="${NPM_CONFIG_ARCH:-$(detect_arch)}"
OS="$(uname | tr '[:upper:]' '[:lower:]')"
if curl -fsSL "https://github.com/cdr/cloud-agent/releases/latest/download/cloud-agent-$OS-$ARCH" -o ./lib/coder-cloud-agent; then
chmod +x ./lib/coder-cloud-agent
else
echo "Failed to download cloud agent; --link will not work"
fi you can also put it in a .sh script (e.g "install-link.sh") |
@1tszyau I would recommend using another method to connect to Coder for now, as we still have a lot to do with the new version: https://coder.com/docs/code-server/v3.12.0/guide#using-lets-encrypt-with-caddy |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no activity occurs in the next 5 days. |
OS/Web Information
code-server --version
:3.11.1Steps to Reproduce
1.install code-server
2.run
code-server --link
Expected
Give me a link which links my machine to cdr.co's servers.
Actual
404 when trying to download the file that makes it happen
Logs
Screenshot
Notes
It would look like a deliberate move but i don't see the purpose.
This issue can be reproduced in VS Code: Yes/No
The text was updated successfully, but these errors were encountered: