Comments (6)
Hi, thanks for trying out Swarmlet!
I think this has something to do with the installation of Docker Compose, since that uses curl
.
Line 124 in 015ccda
I'm not familiar with DietPi, but it would be nice to be able to install Swarmlet on RPI's.
With RPI + Docker I'm not up to date on compatibility. There is some but I've tried it in the past and needed to navigate some issues which I don't remember.
If you fork this repo and find a way to properly install Docker Compose (+ Swarmlet), feel free to open a PR! 🙂
Let me know if you need help! We have a Slack channel you're welcome to join.
Edit: to install a fork, you can set the SWARMLET_REPO
env var to your fork, for example:
# Using the master branch of the fork
SWARMLET_REPO=https://github.com/<username>/swarmlet
curl -fsSL https://get.swarmlet.dev | bash -s \
SWARMLET_REPO=$SWARMLET_REPO
# Using a different branch of the fork
GITHUB_USER=yourname
SWARMLET_REPO=https://github.com/$GITHUB_USER/swarmlet
BRANCH=develop
curl -fsSL https://raw.githubusercontent.com/$GITHUB_USER/swarmlet/$BRANCH/install | bash -s \
SWARMLET_REPO=$SWARMLET_REPO
from swarmlet.
Not super familiar with Shell so I'm not sure I could make a useful PR.
Some notes from further testing:
- Installed docker-compose via
apt
and got passed my initial error - Next issue I found was that I had to manually create
/.ssh/authorized_keys
as I got an error about the file not existing, might want to add a check to see if the file exists before youcat
it - I received the following message when installing with the creation of a Swap Partition
fallocate: fallocate failed: Text file busy
. Looking into this you get this error if you already have a swapfile and try to incorrectly create a new one. Might want to add a check to ensure that there isn't a existing swapfile before attempting to create one. - Trying with swapfile=False I now get an error stating that
adduser: The user
git' already exists.`
Edit: Removed user git, output as follows.
=====> Configuration confirmed
-----> The installation will take a few minutes to complete
-----> Checking apt-get for upgraded packages
-----> System up to date, continuing installation
-----> Setting up the git user
Adding usergit' ... Adding new group
git' (1001) ...
Adding new usergit' (1001) with group
git' ...
Creating home directory/home/git' ... Copying files from
/etc/skel' ...
-----> Configuring git SSH options
-----> Checking Docker status
Docker is running
Docker version 19.03.12, build 48a6621
-----> Node IP address: 192.168.1.20
-----> Initializing node as swarm manager
Swarm initialized: current node (pt6z7oxmt6q2t6ejdlrtzjzyw) is now a manager.
-----> Creating secrets
2gdad5yydn65lc271f0853bsp
r2k787vw61drp4ibbm249xh2p
-----> Creating configs
iu5ienq4te62jyps2hewk3zbp
xqfqtmh72u1tox97rccog7y5w
iqz503k6ds8kdsbeg6f4emvfd
-----> Creating networks
a6dpsf8bdxi45z8hhokm861j4
bnvg209o4wc0av4522rt1bcsj
-----> Creating volumes
git-data
-----> Installing modules
-----> Deploying registry
Ignoring unsupported options: restartCreating service registry_swarmlet-registry
Error response from daemon: Get http://localhost:5000/v2/: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
from swarmlet.
nano /etc/hosts
Remove the ipv6 related entries, then run following:
swarmlet uninstall
docker swarm leave --force && docker system prune -f -a && service docker restart
BRANCH=master
curl -fsSL https://raw.githubusercontent.com/swarmlet/swarmlet/$BRANCH/install | bash -s \
INSTALL_BRANCH=$BRANCH \
INSTALLATION_TYPE=noninteractive \
INSTALL_ZSH=true \
NEW_HOSTNAME=name \
CREATE_SWAP=true \
INSTALL_MODULES="(swarmpit matomo portainer swarmprom)" \
SWARMLET_USERNAME=user \
SWARMLET_PASSWORD=password \
ROOT_DOMAIN=yourdomain.com
from swarmlet.
Following the above gave me the following error:
Error saving credentials: error storing credentials - err: exit status 1, out: Cannot autolaunch D-Bus without X11 $DISPLAY
I resolved this by installing the standard unix password manager pass
following the advice here
Now I just need to figure out how to access the modules; as my root domain is behind an existing reverse-proxy, and any requests to specific modules get 404'ed. (I really don't know much at all about web stuff so I'm expecting something to be wrong with my config)
from swarmlet.
To completely uninstall Swarmlet, you can run swarmlet uninstall
or swarmlet nuke
. We still have some work to do on the topic of uninstalling.
This issue seems related, but I'm sure you've seen this one as well: docker/compose#6023
The Cannot autolaunch D-Bus without X11 $DISPLAY
error is unrelated to Swarmlet itself I assume, it's more likely that your OS has some difficulties with Docker Compose.
Thanks for the tips in your previous comment! I'll add them to the board.
from swarmlet.
Closing this issue as there are no plans to support DietPi (soon)
from swarmlet.
Related Issues (20)
- Python-pip does not exist in Ubuntu 20.04 HOT 2
- Use a different docker-compose.yml HOT 1
- Swarmlet not working with Git LFS HOT 6
- Traefik domain is wrong
- Update Traefik
- Swarm installer can only run as root HOT 2
- Packages / docker not being installed HOT 4
- Unable to push to base domain HOT 4
- swarmlet join manager failed
- Install failure at registry connect: Client.Timeout exceeded while awaiting headers
- Hardcoded debian backport mirror can slow or break apt
- INSTALLLATION TYPE with 3 L typo
- Github CI recommandations errors
- Homepage is not loading HOT 1
- Installation on debian issues - deps and swarm init HOT 5
- Traefik cannot complete Letsencrypt validation if host has AAAA (IPv6) DNS records
- Install script fails as it depends on whiptail package
- Install - ansible task fails when running "Add the git user"
- Broken install on Ubuntu 18.04, docker-compose install through Ansible HOT 3
- Installation fails on raspberry PI HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swarmlet.