Logging my installation process of WaziupCloud

Hi, I have spent several days by installing WaziupCloud following your description on https://github.com/Waziup/WaziCloud. To describe my problems I logged my actions with comments and put it here. Maybe you have the time to look through and possible update the description on the given site:

It woul’d be fine if prerequisites woul’d be described (the technical ones and the expected skills of the user.

Prerequisites

skills

basic linux knowlege
installation routines (debian, ubuntu: apt-get)

technical

sudo apt install git
sudo apt install docker-compose
sudo usermod -aG docker $USER

git clone https://github.com/Waziup/Platform
docker-compose pull -> Error: Could’n connect to Docker daemon at http+docker://localhost - is it running?

COMMENT: Check that:

sudo systemctl status docker -> active (running)

COMMENT: What the heck… https://github.com/docker/compose/issues/4181 gives the answer. The current user has to be member of the docker group! So:

sudo usermod -aG docker $USER
sudo docker-compose pull

WARNING: The TWITTER_CONSUMER_KEY variable is not set. Defaulting to a blank string.
WARNING: The TWITTER_CONSUMER_SECRET variable is not set. Defaulting to a blank string.
WARNING: The TWITTER_ACCESS_TOKEN variable is not set. Defaulting to a blank string.
WARNING: The TWITTER_ACCESS_TOKEN_SECRET variable is not set. Defaulting to a blank string.
WARNING: The PLIVO_ID variable is not set. Defaulting to a blank string.
WARNING: The PLIVO_TOKEN variable is not set. Defaulting to a blank string.
WARNING: The WAZIUP_ADMIN_PASS variable is not set. Defaulting to a blank string.

COMMENT: The lines above appear -> What to do? Let it as is? Change variable values? Where? To what?

Pulling mongo      ... 
Pulling orion      ... 
Pulling mqtt       ... 
Pulling mysql      ... 
Pulling keycloak   ... 
Pulling waziup-api ... 
Pulling dashboard  ... 

COMMENT: Nothing happens. Is there anything happening behind the scenes? How long to wait? Is it hanging? After several minutes pulling orion shows done, so we have to wait until everything is done?! Finally it has been done (after waiting some hours)

docker-compose -f docker-compose.yml -f docker-compose-first-run.yml up

COMMENT: This runs and a lot of messages fill the screen. It is not clear for me when the boot up has finished. After several minutes I Ctrl+C, hoping that I do not damage anything.

COMMENT: I now try to connect to https://192.168.1.78:3000 from another host. It seems, that I am forwarded to http://localhost:8080/auth/realms/waziup/protocol/openid-connect/auth?client_id=dashboard&redirect_uri=http%3A%2F%2F192.168.1.78%3A3000%2F&state=20c0b941-dc75-493f-9df0-62600968995a&response_mode=fragment&response_type=code&scope=openid&nonce=ace91c2d-9393-43c1-8356-e7a8c0d35824. So I am to work on the server. That is not, what I want. So I tried with a textbased browser lynx, but that get me just a black window. Normally a server has only a command line as user interface. I do not want to poll my server with a gui. How is this done? Is it possible at all?

I hope so we get a clearer description with possible hints to problems. Thank you
Christian

Hi @christian, that’s very valuable comments. Thanks a lot. I will revise the doc accordingly.