dokploy icon indicating copy to clipboard operation
dokploy copied to clipboard

Install failed due to docker swarm initialize failed

Open jiz4oh opened this issue 1 year ago • 3 comments

To Reproduce

  1. add "live-restore": true in /etc/docker/daemon.json
  2. restart docker systemctl restart docker
  3. install dokploy curl -sSL https://dokploy.com/install.sh | sh

Current vs. Expected behavior

raise an error instead of successful message if docker swarm initalize failed

Provide environment information

Operating System:

OS: Debian 12

Arch: amd64

Dokploy version: latest

Which area(s) are affected? (Select all that apply)

Installation

Additional context

image

jiz4oh avatar Oct 12 '24 09:10 jiz4oh

Hi, I think the message is clear, you can't use live-restore flag in docker configuration with docker swarm, dokploy depends a lot on docker swarm to work well.

Siumauricio avatar Oct 12 '24 20:10 Siumauricio

hi @Siumauricio , I think the installation is not finished and the message tells me to wait 15 seconds for the server to start. but there is nothing at all after 15 seconds, nothing happened on 3000. I were not sure what's the next step, maybe a friendly remind is better

jiz4oh avatar Oct 12 '24 23:10 jiz4oh

@jiz4oh The problem is that you are using a flag that is not supported by docker swarm, I think it would be good to exit the script if there is an error when trying to initialize docker swarm.

Siumauricio avatar Oct 13 '24 16:10 Siumauricio