linagora / Twake

Twake is a secure open source collaboration platform to improve organizational productivity.
https://twake.app
GNU Affero General Public License v3.0
1.78k stars 193 forks source link

local deployment error #2728

Open 404-xianjin opened 1 year ago

404-xianjin commented 1 year ago

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

RomaricMourgues commented 1 year ago

Hi, can you try this procedure:

cd ./Twake/twake
export COMPOSE_FILE=docker-compose.onpremise.mongo.yml
docker compose up -d
guimard commented 1 year ago

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.

404-xianjin commented 1 year ago

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

404-xianjin commented 1 year ago

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

404-xianjin commented 1 year ago

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

RomaricMourgues commented 1 year ago

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.

404-xianjin commented 1 year ago

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

404-xianjin commented 1 year ago

https://github.com/linagora/Twake/issues/2728#issuecomment-1420376987 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

404-xianjin commented 1 year ago

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