linagora/Twake

local deployment error

404-xianjin opened this issue · 9 comments

My installation steps:

  1. Install docker
  2. Install docker-compose
  3. cd ./Twake/twake
  4. Execute ./start.sh
    The error message is as follows:

2023-02-07_083100
I checked a lot of information and found no similar error message. please help me to solve it, thanks

Hi, can you try this procedure:

cd ./Twake/twake
export COMPOSE_FILE=docker-compose.onpremise.mongo.yml
docker compose up -d

Hi, I add this problem, docker pollutes your routes. To solve this, edit /etc/connman/main.conf and blacklist docker interfaces. Example:

NetworkInterfaceBlacklist = veth

Then restart connman and then docker services.

hi,My Linux operating system is Centos, unfortunately I did not find this file /etc/connman/main.conf, do I need yum install connman?Thank you
image

I can try it, just a moment. Thanks。 @RomaricMourgues

image
Are you talking about this simple installation method? I tried it yesterday and it works fine. With this installation method, there is only a chat panel after the installation is complete. I also want to try other more complex functions, so I will use the complex installation method to deploy this system locally. This is a very good project. @RomaricMourgues

Ok, usually users just want the simplier version that is easier to install !

So yes the start.sh is the way to go, could you precise which container fails to build ? If it is the PHP one it is the oldest one so it would make sense and it will need some investigation in the dockerfile.

image
The only images I can see in the system now are these three,
When I execute docker-compose up -d, the following situation occurs,
image
During the execution process, the initial error will appear.
`336.1 --2023-02-06 13:43:24-- https://raw.githubusercontent.com/dagwieers/unoconv/master/unoconv
#0 336.1 Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 182.43.124.6, ::
#0 336.1 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|182.43.124.6|:443... failed: Connection timed out.
#0 463.3 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|::|:443... failed: Network is unreachable.

failed to solve: process "/bin/sh -c apt-get update && apt-get install -y ghostscript graphicsmagick wget unoconv libxml2-dev ffmpeg python-is-python3 && wget -N https://raw.githubusercontent.com/dagwieers/unoconv/master/unoconv -O /usr/bin/unoconv && chmod +x /usr/bin/unoconv" did not complete successfully: exit code: 4`
@RomaricMourgues

#2728 (comment)
Execute the command to get the following results
docker network ls
image
My Linux operating system is Centos, unfortunately I did not find this file /etc/connman/main.conf, do I need yum install connman?Thank you
image
@guimard

image
image
I confirmed that the running status of twist-php-1, twist-rabbitmq-1, twist-scylladb-1 is normal.