-
Notifications
You must be signed in to change notification settings - Fork 482
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
Fleetctl preview not working on Raspberry Pi 4 with arm64
OS
#4430
Comments
Hi @mveplus! Fleet currently does not support ARM 32-bits. And there are no plans to support it. That said, I once managed to run Fleet on a Raspberry Pi 4 (with some code changes, mostly config and docker files), but you need to install the 64-bit version of the OS. |
Thank you @lucasmrod After a bit of fiddling around with OS architecture as per your suggestion x64 now and NodeJS and Go versions I've got it compiled from source ;) and it almost works!
Installed Docker Compose version v2.3.0 and got to a point where preview pulls and starts the containers:
But it hangs in there, just waiting…. I presume these are all contenders needed?
After of long wait, it comes back with the error:
I will see if I can figure it out? Cheers, |
Cool. To troubleshoot, try getting logs from the Fleet server container (using $ docker ps | grep fleet-preview-server_fleet
b206043cc925 fleetdm/fleet:latest "sh -c '/usr/bin/fle…" 4 minutes ago Up 4 minutes 0.0.0.0:1337->1337/tcp fleet-preview-server_fleet02_1
d6d54c2f7039 fleetdm/fleet:latest "sh -c '/usr/bin/fle…" 4 minutes ago Up 4 minutes 0.0.0.0:8412->8412/tcp fleet-preview-server_fleet01_1
# Then grab the container id and run the following on both fleet instances to get their output:
# (fleetctl preview starts two instances of fleet, one to communicate with the hosts and another one to serve the UI on localhost.)
$ docker logs -f b206043cc925
$ docker logs -f d6d54c2f7039 |
Thanks @lucasmrod I found the issue ;) the fleet-preview pulls "platform: linux/x86_64" images - it looks like it is not detecting the architecture correctly, and as you mention about the arm64 support it's not just there yet. Editing the YAML manually the platform for all images did not work as expected. But of course, when it comes to the client image generations I hit the same issue with docker images :)
Cheers |
Glad you managed to make the server work in the Raspberry Pi 4!
Correct, we are tracking such effort in #1845. |
arm64
OS
Please use #1845 ticket for future input on this topic. Closing this for housekeeping. |
Fleet version: v4.10.0
Fleet tier: Free
User role: N/A running with sudo i.e.
Operating system :
Raspberry Pi 4 8G Ram CPU:
Web browser (e.g. Chrome 88.0.4324): N/A
🧑💻 Expected behavior
To successfully start fleetctl preview and be able to connect on the management port in a browser.
💥 Actual behavior
More info
May be affected by the locale, NodeJS version, or ARM architecture?
I'm just starting with fleetctl, the buster is up to date I have installed:
The text was updated successfully, but these errors were encountered: