swarmlet
swarmlet copied to clipboard
Installation fails on raspberry PI
Hey, I wanted to try Swarmlet on my PI 4.
pi@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
The installations just exits on Ansible step :
=====> Installing Swarmlet
-----> Installing required packages
-----> Cloning https://github.com/swarmlet/swarmlet.git
-----> Initializing Swarmlet
-----> Starting interactive installation
=====> Configuration confirmed
-----> Installing Ansible
pi@raspberrypi:~ $
I tried with that PR, no success. https://github.com/swarmlet/swarmlet/issues/90
Any idea on how to make it work ? It looks great.
Hi, yeah the installer is currently broken (also on Ubuntu 20.04) unfortunately. I want to fix it but cannot find time for it :)
Something you could try is using an older version, that uses Traefik 1.7 instead of 2.3 and no Ansible - which might even be better in your case.
https://github.com/swarmlet/swarmlet/tree/v0.1.5 https://swarmlet.dev/docs/getting-started/installation#install-from-a-fork-or-branch
Thanks, that solved the initial issue ! Getting another error now.
curl -fsSL \
> https://raw.githubusercontent.com/swarmlet/swarmlet/v0.1.5/install |\
> bash -s INSTALL_BRANCH=v0.1.5
=====> Installing Swarmlet
-----> Installing required packages
-----> Cloning https://github.com/swarmlet/swarmlet.git
-----> Checking out v0.1.5
Note: checking out 'v0.1.5'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at ba233fa Merge pull request #51 from swarmlet/develop
-----> Linking executable
-----> Initializing Swarmlet
-----> Starting interactive installation
fatal: No annotated tags can describe 'ba233fa9c9287dac46656f721850463b9ba65b23'.
However, there were unannotated tags: try --tags.
=====> Configuration confirmed
-----> The installation will take a few minutes to complete
-----> Checking apt-get for upgraded packages
-----> There are 70 updates available
-----> Installing Docker and Docker Compose
2021-02-17 17:52:20 URL:https://get.docker.com/ [13857/13857] -> "-" [1]
curl: (22) The requested URL returned error: 404
Found this issue, i'll try some solutions provided in the comment in a fork. https://github.com/swarmlet/swarmlet/issues/69
Edit: I get the same errors that I found on the issue, everytime I fix one I get another, I guess it's not going to work on the pi. :(
@astahmer hi! It should work with https://github.com/n-rodriguez/swarmlet/tree/debian