Anyone have time to work with a newbie on getting ...
# fleet
p
Anyone have time to work with a newbie on getting fleet/orbit going?
z
Hi Peter, the Fleet team is generally busy trying to write and ship code, but we (and the community) are happy to help with specific questions 🙂
p
Understood! Basically I’m just trying to add my device to my fleet demo so I can try it out. This is the error I am currently running into:
Copy code
sudo go run ./cmd/package --type=pkg --fleet-url=localhost:1337 --insecure --enroll-secret=8pLydliEAg0EobrMTRY0YgAWx2whPcpn

go run: no packages loaded from ./cmd/package
z
Are you in the root directory of the orbit repo?
p
That was indeed the problem, but I’ve run into another one.
Copy code
FTL package failed error="create root dir: Path /tmp/orbit-package2386753637 already exists with mode 20000000700 instead of the expected 20000000755"
z
Ah, looks like a recent change may have broken things here. Sorry about that.
cc @Tomas Touceda
@Peter Murphy can you do
git checkout d0bb3202785ac6b69f1e6542f55c77e9eb28f5a2
and then try again please?
p
That worked. Ran the installer and it worked too, though my local device hasn’t shown in my demo’s host fleet.
Not necessarily asking you to troubleshoot any further just FYI. I appreciate all your help.
t
@Peter Murphy sorry to hear you're having trouble. We made that change to increase the security of orbit. The directory it's trying to write has more permissions than what orbit is writing, so it's open to certain attacks
☺️ 1