Terminal setup partly succeeded (Failed as Docker was not running)

Hi, yes I have only 16GB of ram on my MacBookPro so I will try to give docker 8GB, if that fails, i have access to a MacPro that has 64GB on it and I shall try that, but that won’t be until later in the week if I have to take that option.

I’ll let you know how I go later tonight or early tomorrow morning.

Thanks.

Hi, Sorry I have taken so long to reply, I had to get on with other projects whilst I was waiting for your answer and lost track of time.
Anyway, thanks for the advice, it was the absolutely right thing to do (increase the docker memory setting to 8GB), it worked without a hitch.

Now, however, I have another problem…
I’ve built the exchange website, I have access to it at localhost:8080 and I need to login, but I forgot my password, however, there seems to be no way to send yourself a reset, therefore how do I change the password?

Thanks again

You can go through the account recovery feature basically. You’ll get the recovery code via email.

If there’s no email (SMTP) configuration set for your exchange, then there’s no option for you to recover it.

If you don’t have any sensitive data on it, I recommend you to just terminate your exchange and start over.

Hi, I’ve tried and tried and tried again about 6 times actually using different emails and exchange name after terminating because I can’t get the hollaex cli to build the exchange as it should.
What I’m finding is that all the containers get created successfully, but there comes a point where the build seems to use underscores at the beginning of the container name in the terminal output (eg. local_), yet the names of the containers in docker start with local- and this eventually leads to a file/container not found error or No such container error.
What am I doing wrong because the last build that I mentioned in the forum worked perfectly, sadly I had to terminate that again simply because I could not change my password as the smtp stuff had not been accessed and setup at that point.
I have followed what was suggested in the comments when I got to that successful build but again I just can’t get the build to play ball.

Here’s an output of what is failing…
my-prompt hollaex-kit % hollaex server --setup --skip --force
Skipping the command confirmation.

Warning: Skipping the exchange initialization steps.
Please make sure that what you are doing exactly with the ‘–skip’ flag.

Checking system dependencies…
You are good to go!
Target hollaex docker registry : bitholla/my-hollaex-server.
Building the user HollaEx Server image with user custom Kit setups.
[+] Building 1.8s (12/12) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 37B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 34B 0.0s
=> [internal] load metadata for docker-io/library/node:10.15.3-stretch-slim 1.6s
=> [auth] library/node:pull token for registry-1.docker-io 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 11.51kB 0.0s
=> [1/6] FROM docker-io/library/node:10.15.3-stretch-slim@sha256:5177e5de0e87965ed102f5a84856e31c1434e479dd0d90cf8df21d61284c78f1 0.0s
=> CACHED [2/6] RUN apt-get update && apt-get install -y --no-install-recommends git python build-essential && rm -rf /var/lib/apt/lists/* && npm config set unsafe 0.0s
=> CACHED [3/6] COPY ./server /app 0.0s
=> CACHED [4/6] WORKDIR /app 0.0s
=> CACHED [5/6] RUN groupadd -g 999 appuser && useradd -r -u 999 -g appuser appuser && mkdir /home/appuser && chown -R appuser /home/appuser && chown -R appuse 0.0s
=> CACHED [6/6] RUN npm install --loglevel=error && pm2 update && cd /app/mail && npm install --loglevel=error 0.0s
=> exporting to image 0.0s
=> => exporting layers 0.0s
=> => writing image sha256:47303082f9a9925c1a85813eeba5e3e5d69e6da18712f612dccb73a68c24fc10 0.0s
=> => naming to docker-io/bitholla/my-hollaex-server:-server-2.2.3-2111121208 0.0s

Use ‘docker scan’ to run Snyk tests against images to find vulnerabilities and learn how to fix them
Your custom HollaEx Server image has been successfully built.
Please type in your new image name. (bitholla/my-hollaex-server:-server-2.2.3-2111121208)
Press enter to proceed with the previous name.
hx-server:-server-2.2.3-2111121208
Do you want to proceed with this image name? (hx-server:-server-2.2.3-2111121208) (Y/n)
y
Your new image name is: (hx-server:-server-2.2.3-2111121208).
Do you want to push this image to your Docker Registry? (y/N) (Optional)
y
Pushing the image to docker registry…
The push refers to repository [docker-io/library/hx-server]
5a4aeb5e3568: Preparing
491a36ee3433: Preparing
5f70bf18a086: Preparing
720fa5a00f0e: Preparing
de5e0227c265: Preparing
0d81e4ab8480: Waiting
3f830d3299ef: Waiting
aa5a12ea4279: Waiting
6270adb5794c: Waiting
denied: requested access to the resource is denied
Failed to push the image to docker registry.
Proceeding setup processes without pushing the image at Docker Registry.
You can push it later by using ‘docker push’ command manually.

Please run 'hollaex apply --registry hx-server --tag -server-2.2.3-2111121208 ’ to apply it on the server.
Generating random secrets…


docker-compose detected
version: Docker Compose version v2.1.1


Generating docker-compose file
[+] Running 6/6
⠿ -nginx Pulled 60.3s
⠿ 6c40cc604d8e Pull complete 6.7s
⠿ 30c6e03cb91a Pull complete 8.0s
⠿ 105f03a3abdf Pull complete 8.1s
⠿ a492669e5fd8 Pull complete 8.2s
⠿ a49538cc2f3c Pull complete 57.5s
[+] Running 6/6
⠿ Container local--db-1 Started 2.0s
⠿ Container local--redis-1 Started 2.2s
⠿ Container local--server-api-1 Started 3.7s
⠿ Container local--server-plugins-1 Started 3.4s
⠿ Container local--server-stream-1 Started 3.6s
⠿ Container local--nginx-1 Started 4.5s
Preparing to initialize exchange database…
Running sequelize db:migrate
Error: No such container: local_-server-api_1
Running database triggers
Error: No such container: local_-server-api_1
Running sequelize db:seed:all
Error: No such container: local_-server-api_1
Setting up the exchange with provided activation code
Error: No such container: local_-server-api_1
Updating the secrets…
Error: No such container: local_-server-api_1
Setting up the version number based on the current Kit.
Error: No such container: local_-server-api_1
[+] Running 6/6
⠿ Container local--db-1 Started 10.7s
⠿ Container local--redis-1 Started 1.3s
⠿ Container local--server-api-1 Started 11.1s
⠿ Container local--server-stream-1 Started 10.1s
⠿ Container local--server-plugins-1 Started 10.3s
⠿ Container local--nginx-1 Started 0.7s


Your exchange is all set!

Finishing the setup process…
Shutting down the exchange…
To start the exchange, Please use ‘hollaex start’ command

Skipping the command confirmation.


docker-compose detected
version: Docker Compose version v2.1.1


[+] Running 6/6
⠿ Container local--nginx-1 Stopped 1.0s
⠿ Container local--server-plugins-1 Stopped 7.8s
⠿ Container local--server-stream-1 Stopped 7.2s
⠿ Container local--server-api-1 Stopped 10.3s
⠿ Container local--redis-1 Stopped 0.3s
⠿ Container local--db-1 Stopped 0.2s

[ON-SWITCH-TEXT-GRAPHIC REMOVED]

    Your Exchange has been stopped

Now It’s time to bring up the exchange online.
Run ‘hollaex server --start’ to start the exchange.

my-prompt hollaex-kit %

Did you add your computer user into the group if not that could be the issue.

So from how I got it working I had to create a group within docker. The command I used was

sudo usermod -aG docker $USER

Make sure to change username to yours.

You can further check your groups by simply typing in “groups” in terminal.

Here is a link to help you understand how to prepare your docker properly only thing is this is for fedora so you may need to make some changes but it shouldnt be much as they are both Linux platforms. https://linuxconfig.org/how-to-install-docker-on-fedora-linux-system

I meant to press reply on my previous post. But just to add a little more information your user account must be rooted. Meaning if you are running this through a server you will first need to give the correct root permissions to your user account to edit the groups in docker.

OK, thanks I’ll follow up with a report later today.
It’s 08:14 UK time, so I’ll try and get back to you by mid to late afternoon.

From what I see it’s telling you to run the start command so you need to go to the next step and just type that in.

Lastly, the server status…

prompt [EXCHANGE-NAME] % hollaex status
d599d3505c26 hx-web:[EXCHANGE-NAME]-web-2.2.3-2111140053 “nginx -g 'daemon of…” About an hour ago Up About an hour 443/tcp, 0.0.0.0:8080->80/tcp client-[EXCHANGE-NAME]-web-1
d898401e4713 bitholla/nginx-with-certbot:1.15.8 “/bin/sh -c 'ip -4 r…” 2 hours ago Up 2 hours 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp local-[EXCHANGE-NAME]-nginx-1
3bcb88ab4cff hx-server:[EXCHANGE-NAME]-server-2.2.3-2111131548 “node plugins.js 100…” 2 hours ago Restarting (1) 7 seconds ago local-[EXCHANGE-NAME]-server-plugins-1
fcae415f7078 hx-server:[EXCHANGE-NAME]-server-2.2.3-2111131548 “node app.js” 2 hours ago Up 19 seconds 0.0.0.0:10010->10010/tcp, 10080/tcp local-[EXCHANGE-NAME]-server-api-1
ef3204fade20 hx-server:[EXCHANGE-NAME]-server-2.2.3-2111131548 “node ws/index.js” 2 hours ago Restarting (1) 58 seconds ago local-[EXCHANGE-NAME]-server-stream-1
977cc711288c redis:6.0.9-alpine “docker-entrypoint.s…” 2 hours ago Up 2 hours 0.0.0.0:6379->6379/tcp local-[EXCHANGE-NAME]-redis-1
895baac6b9e5 postgres:10.9-alpine “docker-entrypoint.s…” 2 hours ago Up 2 hours 0.0.0.0:5432->5432/tcp local-[EXCHANGE-NAME]-db-1

Calling the exchange health page (localhost/v2/health) …

502 Bad Gateway

502 Bad Gateway


nginx/1.15.8

Successfully reached to the health page.
prompt [EXCHANGE-NAME] %

It says all is well, but the docker containers stream-1 and plugins-1 keep turning on and off.
Is that normal?

I imagine if I can figure out how to fix the CORS problem I can get the exchange client to show in the browser.
Any pointers?

Thanks for all your help.

Okay so now you need to download docker containers. This is the link I used to get mine setup. Install Docker Engine on Fedora | Docker Documentation

Hey. I checked the previous replies you sent with your logs attached.

Looks like your server containers are crashing due to the database initialization error.

Something like this proves it.

2021-11-14 00:52:36.084 UTC [27] STATEMENT: SELECT “id”, “activated”, “initialized”, “blocked”, “activation_code”, “secrets”, “kit”, “api_key”, “api_secret”, “kit_version”, “created_at”, “updated_at” FROM “Statuses” AS “Status” LIMIT 1;

or

{“level”:“error”,“message”:“plugins/checkStatus Error relation “Statuses” does not exist”,“timestamp”:“2021-11-14T01:14:23.671Z”}

This means your database is not fully initialized (got no base data) during the setup procedure.

If there’s no sensitive data, you should run hollaex server --terminate to clean up the server, and run hollaex server --setup --force to start over.

Just out of curiosity I will try this out too. I didn’t know of that command.

OK, that is what I have been doing each time that it has failed. Perhaps I’m leaving something behind and there’s a cache being used.
I’ll try this again and shutdown the computer before I do, If I remember rightly that is what I did the first time when the build fully succeeded.
I’ll try and report back in a few hours, but it may be five or six.

Thanks all

Right guys,

I got rid of everything, holler-kit, docker containers (I think the termination process got rid of this), volumes and images.
I completely shutdown the computer (not restart), made sure I started up with no removable drives attached and made sure nothing that wasn’t needed was running (IDE’s, test environments and the like).
I then cloned hollaex-kit again in case there was some changes.
I cd’d into that directory in the terminal and started the setup like so:
my-prompt [EXCHANGE-NAME] % hollaex server --setup --force

I ran all the prompts (which all said they were successful) right through to the web client build and it gave this output:

my-prompt [EXCHANGE-NAME] % hollaex server --setup --force

Welcome to HollaEx Server Setup!

Select the network

Before you continue, You need to select the network that you want to use with the exchange.
HollaEx Kit by default, will be connected to the official public HollaEx Network (api-hollaex-network).
If you want to connect to a different network, please type the URL.

Do you want to want to continue with the official HollaEx Network? (Y/n)

y
{“name”:“HollaEx”,“version”:“2.2.15”,“host”:“api-hollaex-network”,“basePath”:"/v2"}
Successfully reached to the network health page.

api-hollaex-network :heavy_check_mark:

Create Admin

Please type your email address and password that you are going to use for your admin account.

Email:
[MY-EMAIL]
Password:

Create Exchange

Please type in the name of your new exchange.

  • Alphanumeric, Dash (-), Underscore Only (_). No space or special character allowed.
    [EXCHANGE-NAME]

[EXCHANGE-NAME] :heavy_check_mark:

Successfully initialized the exchange [EXCHANGE-NAME] and the account [MY-EMAIL].

Have fun!
Checking system dependencies…
You are good to go!
Target hollaex docker registry : bitholla/my-hollaex-server.
Building the user HollaEx Server image with user custom Kit setups.
[+] Building 2.0s (12/12) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 791B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 97B 0.0s
=> [internal] load metadata for docker-io/library/node:10.15.3-stretch-slim 1.7s
=> [auth] library/node:pull token for registry-1.docker-io 0.0s
=> [1/6] FROM docker-io/library/node:10.15.3-stretch-slim@sha256:5177e5de0e87965ed102f5a84856e31c1434e479dd0d90cf8df21d61284c78f1 0.0s
=> [internal] load build context 0.1s
=> => transferring context: 1.00MB 0.1s
=> CACHED [2/6] RUN apt-get update && apt-get install -y --no-install-recommends git python build-essential && rm -rf /var/lib/apt/lists/* && npm 0.0s
=> CACHED [3/6] COPY ./server /app 0.0s
=> CACHED [4/6] WORKDIR /app 0.0s
=> CACHED [5/6] RUN groupadd -g 999 appuser && useradd -r -u 999 -g appuser appuser && mkdir /home/appuser && chown -R appuser /home/appuser && 0.0s
=> CACHED [6/6] RUN npm install --loglevel=error && pm2 update && cd /app/mail && npm install --loglevel=error 0.0s
=> exporting to image 0.0s
=> => exporting layers 0.0s
=> => writing image sha256:47303082f9a9925c1a85813eeba5e3e5d69e6da18712f612dccb73a68c24fc10 0.0s
=> => naming to docker-io/bitholla/my-hollaex-server:[EXCHANGE-NAME]-server-2.2.3-2111151208 0.0s

Use ‘docker scan’ to run Snyk tests against images to find vulnerabilities and learn how to fix them
Your custom HollaEx Server image has been successfully built.
Please type in your new image name. (bitholla/my-hollaex-server:[EXCHANGE-NAME]-server-2.2.3-2111151208)
Press enter to proceed with the previous name.
hx-server:[EXCHANGE-NAME]-server-2.2.3-2111151208
Do you want to proceed with this image name? (hx-server:[EXCHANGE-NAME]-server-2.2.3-2111151208) (Y/n)
y
Your new image name is: (hx-server:[EXCHANGE-NAME]-server-2.2.3-2111151208).
Do you want to push this image to your Docker Registry? (y/N) (Optional)
y
Pushing the image to docker registry…
The push refers to repository [docker-io/library/hx-server]
5a4aeb5e3568: Preparing
491a36ee3433: Preparing
5f70bf18a086: Preparing
720fa5a00f0e: Preparing
de5e0227c265: Preparing
0d81e4ab8480: Waiting
3f830d3299ef: Waiting
aa5a12ea4279: Waiting
6270adb5794c: Waiting
denied: requested access to the resource is denied
Failed to push the image to docker registry.
Proceeding setup processes without pushing the image at Docker Registry.
You can push it later by using ‘docker push’ command manually.

Please run 'hollaex apply --registry hx-server --tag [EXCHANGE-NAME]-server-2.2.3-2111151208 ’ to apply it on the server.
Generating random passwords for backends…
Generating random secrets…


docker-compose detected
version: Docker Compose version v2.1.1


Generating docker-compose file
[+] Running 23/23
⠿ [EXCHANGE-NAME]-nginx Pulled 100.4s
⠿ 6c40cc604d8e Pull complete 10.1s
⠿ 30c6e03cb91a Pull complete 23.4s
⠿ 105f03a3abdf Pull complete 23.5s
⠿ a492669e5fd8 Pull complete 23.6s
⠿ a49538cc2f3c Pull complete 97.5s
⠿ [EXCHANGE-NAME]-db Pulled 64.6s
⠿ 050382585609 Pull complete 4.1s
⠿ 9a0b1fe656d1 Pull complete 4.2s
⠿ c2a10a40dfa4 Pull complete 4.2s
⠿ e89610aa077e Pull complete 61.3s
⠿ 427e5accbd44 Pull complete 61.4s
⠿ 19e81aa016c9 Pull complete 61.5s
⠿ 82522ee5c462 Pull complete 61.6s
⠿ 9668dd24ba2d Pull complete 61.7s
⠿ 2abfbf1e0e59 Pull complete 61.7s
⠿ [EXCHANGE-NAME]-redis Pulled 69.7s
⠿ 801bfaa63ef2 Pull complete 46.1s
⠿ 9a8d0188e481 Pull complete 48.6s
⠿ 8a3f5c4e0176 Pull complete 54.4s
⠿ 51a20dbe2f6a Pull complete 66.7s
⠿ 0aacff13b8d7 Pull complete 66.8s
⠿ adc9264cf133 Pull complete 66.8s
[+] Running 7/7
⠿ Network local_[EXCHANGE-NAME]-network Created 0.2s
⠿ Container local-[EXCHANGE-NAME]-db-1 Started 1.5s
⠿ Container local-[EXCHANGE-NAME]-redis-1 Started 1.9s
⠿ Container local-[EXCHANGE-NAME]-server-api-1 Started 3.2s
⠿ Container local-[EXCHANGE-NAME]-server-plugins-1 Started 3.3s
⠿ Container local-[EXCHANGE-NAME]-server-stream-1 Started 3.3s
⠿ Container local-[EXCHANGE-NAME]-nginx-1 Started 4.2s
Preparing to initialize exchange database…
Running sequelize db:migrate
Error: No such container: local_[EXCHANGE-NAME]-server-api_1
Running database triggers
Error: No such container: local_[EXCHANGE-NAME]-server-api_1
Running sequelize db:seed:all
Error: No such container: local_[EXCHANGE-NAME]-server-api_1
Setting up the exchange with provided activation code
Error: No such container: local_[EXCHANGE-NAME]-server-api_1
Updating the secrets…
Error: No such container: local_[EXCHANGE-NAME]-server-api_1
Setting up the version number based on the current Kit.
Error: No such container: local_[EXCHANGE-NAME]-server-api_1
[+] Running 6/6
⠿ Container local-[EXCHANGE-NAME]-db-1 Started 10.7s
⠿ Container local-[EXCHANGE-NAME]-redis-1 Started 0.8s
⠿ Container local-[EXCHANGE-NAME]-server-plugins-1 Started 1.2s
⠿ Container local-[EXCHANGE-NAME]-server-api-1 Started 10.7s
⠿ Container local-[EXCHANGE-NAME]-server-stream-1 Started 7.7s
⠿ Container local-[EXCHANGE-NAME]-nginx-1 Started 0.9s


Your exchange is all set!

Finishing the setup process…
Shutting down the exchange…
To start the exchange, Please use ‘hollaex start’ command

Skipping the command confirmation.


docker-compose detected
version: Docker Compose version v2.1.1


[+] Running 6/6
⠿ Container local-[EXCHANGE-NAME]-nginx-1 Stopped 0.3s
⠿ Container local-[EXCHANGE-NAME]-server-stream-1 Stopped 1.4s
⠿ Container local-[EXCHANGE-NAME]-server-plugins-1 Stopped 3.2s
⠿ Container local-[EXCHANGE-NAME]-server-api-1 Stopped 10.2s
⠿ Container local-[EXCHANGE-NAME]-redis-1 Stopped 0.2s
⠿ Container local-[EXCHANGE-NAME]-db-1 Stopped 0.2s

[TEXT GRAPHIC REMOVED — ON/OFF SWITCH]

    Your Exchange has been stopped

Now It’s time to bring up the exchange online.
Run ‘hollaex server --start’ to start the exchange.

my-prompt [EXCHANGE-NAME] % hollaex server --start
Generating random secrets…


docker-compose detected
version: Docker Compose version v2.1.1


Generating env file for docker
Generating docker-compose file
Generating Nginx upstream conf
Updating nginx conf file based on user settings
[+] Running 6/6
⠿ Container local-[EXCHANGE-NAME]-db-1 Started 1.4s
⠿ Container local-[EXCHANGE-NAME]-redis-1 Started 2.3s
⠿ Container local-[EXCHANGE-NAME]-server-stream-1 Started 3.6s
⠿ Container local-[EXCHANGE-NAME]-server-plugins-1 Started 3.6s
⠿ Container local-[EXCHANGE-NAME]-server-api-1 Started 3.5s
⠿ Container local-[EXCHANGE-NAME]-nginx-1 Started 4.4s

[TEXT GRAPHIC REMOVED — TICK]

        Your Exchange is up!
Try to reach localhost/v2/health

You can easily check the exchange status with 'hollaex status'.

You can proceed to setup the web server with 'hollaex web --setup'.

my-prompt [EXCHANGE-NAME] % hollaex status
749d4b87c6af bitholla/nginx-with-certbot:1.15.8 “/bin/sh -c 'ip -4 r…” About a minute ago Up About a minute 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp local-[EXCHANGE-NAME]-nginx-1
9f83299fa0d5 hx-server:[EXCHANGE-NAME]-server-2.2.3-2111151208 “node plugins.js 100…” About a minute ago Restarting (1) 6 seconds ago local-[EXCHANGE-NAME]-server-plugins-1
bcd8220d7aaf hx-server:[EXCHANGE-NAME]-server-2.2.3-2111151208 “node app.js” About a minute ago Up About a minute 0.0.0.0:10010->10010/tcp, 10080/tcp local-[EXCHANGE-NAME]-server-api-1
0ca3566235c2 hx-server:[EXCHANGE-NAME]-server-2.2.3-2111151208 “node ws/index.js” About a minute ago Restarting (1) 9 seconds ago local-[EXCHANGE-NAME]-server-stream-1
9ab8e8269d52 redis:6.0.9-alpine “docker-entrypoint.s…” About a minute ago Up About a minute 0.0.0.0:6379->6379/tcp local-[EXCHANGE-NAME]-redis-1
f5dd610a98da postgres:10.9-alpine “docker-entrypoint.s…” About a minute ago Up About a minute 0.0.0.0:5432->5432/tcp local-[EXCHANGE-NAME]-db-1

Calling the exchange health page (localhost/v2/health) …

502 Bad Gateway

502 Bad Gateway


nginx/1.15.8

Successfully reached to the health page.
my-prompt [EXCHANGE-NAME] % hollaex web --setup
Building the user HollaEx Web image.
Generating .env for Web Client
[+] Building 474.1s (20/20) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 849B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker-io/library/nginx:1.16.0-alpine 1.7s
=> [internal] load metadata for docker-io/library/node:12.18.3-buster 1.7s
=> [auth] library/nginx:pull token for registry-1.docker-io 0.0s
=> [auth] library/node:pull token for registry-1.docker-io 0.0s
=> [build 1/6] FROM docker-io/library/node:12.18.3-buster@sha256:760bbf2dcfb6c1034772fb31a11f8fc63b665c131e4df0a7d74b15063e4a43a9 0.0s
=> [stage-1 1/6] FROM docker-io/library/nginx:1.16.0-alpine@sha256:270bea203d2fc3743fb9ce0193325e188b7e6233043487e3d3cf117ea4d3f337 0.0s
=> [internal] load build context 2.0s
=> => transferring context: 55.54MB 2.0s
=> CACHED [build 2/6] WORKDIR /app 0.0s
=> CACHED [build 3/6] COPY package.json /app/package.json 0.0s
=> CACHED [build 4/6] RUN npm config set unsafe-perm true && npm install -g node-gyp && npm install --loglevel=error 0.0s
=> [build 5/6] COPY . /app 0.4s
=> [build 6/6] RUN npm run build 461.7s
=> CACHED [stage-1 2/6] RUN apk add --update curl && rm -rf /var/cache/apk/* 0.0s
=> [stage-1 3/6] COPY --from=build /app/build /usr/share/nginx/html 0.5s
=> [stage-1 4/6] RUN rm /etc/nginx/conf.d/default.conf 0.3s
=> [stage-1 5/6] COPY docker/nginx.conf /etc/nginx/conf.d 0.1s
=> [stage-1 6/6] RUN chown -R nginx:nginx /var/cache/nginx && chown -R nginx:nginx /var/log/nginx && chown -R nginx:nginx /etc/nginx/conf.d && to 0.4s
=> exporting to image 0.7s
=> => exporting layers 0.7s
=> => writing image sha256:0bc88277ad54d959ee52d4d7a34b2d394a921212920f4fbac344ecdb9e0fdee5 0.0s
=> => naming to docker-io/bitholla/my-hollaex-web:[EXCHANGE-NAME]-web-2.2.3-2111151231 0.0s

Use ‘docker scan’ to run Snyk tests against images to find vulnerabilities and learn how to fix them
Your custom HollaEx Web image has been successfully built.
Please type in your new image name. (bitholla/my-hollaex-web:[EXCHANGE-NAME]-web-2.2.3-2111151231)
Press enter to proceed with the previous name.
y
Do you want to proceed with this image name? (y:y) (Y/n)
y
Your new image name is: y:y.
Do you want to push this image to your Docker Registry? (y/N)
y
Pushing the built image to the Docker Registry…
Pushing the image to docker registry…
The push refers to repository [docker-io/library/y]
8fe2e675496f: Preparing
542cf8f6220c: Preparing
c0a1d304652e: Preparing
dbdaf5d7360d: Preparing
cac8381239e6: Preparing
2bdf88b2699d: Waiting
f1b5933fe4b5: Waiting
denied: requested access to the resource is denied
Failed to push the image to docker registry.
Proceeding setup processes without pushing the image at Docker Registry.
You can push it later by using ‘docker push’ command manually.


docker-compose detected
version: Docker Compose version v2.1.1


Generating web docker-compose file
Generating web .env file
Generating web Nginx configuration file
Generating web Nginx upstream file
Updating main Nginx.conf based on user settings…
[+] Running 1/1
⠿ Container client-[EXCHANGE-NAME]-web-1 Started 0.6s
Reloading Nginx…
nginx: [emerg] host not found in upstream “[EXCHANGE-NAME]-server-stream:10080” in /etc/nginx/conf.d/upstream.conf:6
Failed to reload Nginx. Please make sure to start the exchange API server first.
The web server could be still reachable through ‘localhost:8080’,
But the allocated domain for the web would not function correctly.
Skipping the command confirmation.
Generating web docker-compose file
[+] Running 1/1
⠿ Container client-[EXCHANGE-NAME]-web-1 Stopped 0.2s

Successfully stopped the web server.
To bring it up, Please run ‘hollaex web --start’ command.

[TEXT GRAPHIC REMOVED — TICK]

Web Server for your exchange has been setup and prepared.
Please run 'hollaex web --start ’ to bring the web server up!

my-prompt [EXCHANGE-NAME] % hollaex web --start


docker-compose detected
version: Docker Compose version v2.1.1


Generating web docker-compose file
Updating main Nginx.conf based on user settings…
[+] Running 1/1
⠿ Container client-[EXCHANGE-NAME]-web-1 Started 0.5s
Reloading Nginx…
nginx: [emerg] host not found in upstream “[EXCHANGE-NAME]-server-stream:10080” in /etc/nginx/conf.d/upstream.conf:6
Failed to reload Nginx. Please make sure to start the exchange API server first.
The web server could be still reachable through ‘localhost:8080’,
But the allocated domain for the web would not function correctly.

[TEXT GRAPHIC REMOVED — TICK]

Web Client for your exchange is ready!
Try to reach yourdomain-com or localhost:8080

my-prompt [EXCHANGE-NAME] %

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

NOTICE THE ERRORS (are they errors or not because the script says: : Your exchange is all set!
Yet the following looks concerning

Preparing to initialize exchange database…
Running sequelize db:migrate
Error: No such container: local_[EXCHANGE-NAME]-server-api_1
Running database triggers
Error: No such container: local_[EXCHANGE-NAME]-server-api_1
Running sequelize db:seed:all
Error: No such container: local_[EXCHANGE-NAME]-server-api_1
Setting up the exchange with provided activation code
Error: No such container: local_[EXCHANGE-NAME]-server-api_1
Updating the secrets…
Error: No such container: local_[EXCHANGE-NAME]-server-api_1
Setting up the version number based on the current Kit.
Error: No such container: local_[EXCHANGE-NAME]-server-api_1

Nevertheless, you can also see that I ran a status check with
My-prompt % holler status

And I found that two containers are restarting seconds ago while the others are all up about a minute.

Here’s the docker logs (same two containers failing, stream-1 and plugins-1)

Stream-1 logs:

Mon, 15 Nov 2021 14:05:01 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at docs-sequelizejs-com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13
{“message”:"Ẃebsocket server listening on port: 10080 ",“level”:“verbose”,“timestamp”:“2021-11-15T14:05:01.600Z”}
{“level”:“verbose”,“message”:“init/checkStatus checking exchange status”,“timestamp”:“2021-11-15T14:05:01.611Z”}
{“message”:"Connect to PubSub ",“level”:“verbose”,“timestamp”:“2021-11-15T14:05:01.633Z”}
{“message”:"Connect to redis ",“level”:“verbose”,“timestamp”:“2021-11-15T14:05:01.637Z”}
{“message”:"Authenticated to PubSub ",“level”:“verbose”,“timestamp”:“2021-11-15T14:05:01.643Z”}
{“message”:"PubSub is ready ",“level”:“info”,“timestamp”:“2021-11-15T14:05:01.644Z”}
{“message”:"Authenticated to redis ",“level”:“verbose”,“timestamp”:“2021-11-15T14:05:01.648Z”}
{“message”:"Redis is ready ",“level”:“info”,“timestamp”:“2021-11-15T14:05:01.648Z”}
{“level”:“error”,“message”:“ws/hub/connect/checkStatus Error relation “Statuses” does not exist”,“timestamp”:“2021-11-15T14:05:01.694Z”}

Plugins-1 logs:

Mon, 15 Nov 2021 14:05:33 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at docs-sequelizejs-com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13
Mon, 15 Nov 2021 14:06:40 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at docs-sequelizejs-com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13
{“level”:“verbose”,“message”:“init/checkStatus checking exchange status”,“timestamp”:“2021-11-15T14:06:41.596Z”}
{“message”:"Connect to PubSub ",“level”:“verbose”,“timestamp”:“2021-11-15T14:06:41.613Z”}
{“message”:"Connect to redis ",“level”:“verbose”,“timestamp”:“2021-11-15T14:06:41.616Z”}
{“message”:"Authenticated to PubSub ",“level”:“verbose”,“timestamp”:“2021-11-15T14:06:41.619Z”}
{“message”:"PubSub is ready ",“level”:“info”,“timestamp”:“2021-11-15T14:06:41.620Z”}
{“message”:"Authenticated to redis ",“level”:“verbose”,“timestamp”:“2021-11-15T14:06:41.621Z”}
{“message”:"Redis is ready ",“level”:“info”,“timestamp”:“2021-11-15T14:06:41.622Z”}
{“level”:“error”,“message”:“plugins/checkStatus Error relation “Statuses” does not exist”,“timestamp”:“2021-11-15T14:06:41.651Z”}

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

What is Statuses and where is it? Is this my error or the scripts error?

Now that this has failed for the 7th or 8th time I’m going to go backwards to version 2.2.1 and see if I can get that built again and this time not forget the password 2 minutes after creating it.

Please have a good sift through that output and let me know if you see anything problematic that I can fix my end. I really want to get to the bottom of this saga and learn about the fabulous exchange you guys have built.

For all intents and purposes the problem and errors are exactly the same as the last output from a fresh build.

BTW. I’m running out of email addresses, can you fix that issue? Each time I terminate I have to use a new email address. Or if you can see when an exchange has been terminated, terminate the admin email along with it so that it can be used again as new.

Thanks

1 Like

I know the feeling about email addresses haha. I personally use prontonmail because it’s encrypted and I can make a bunch of emails using it plus it has a app you can download so you can manage the accounts there.

1 Like

Thanks for the ProtonMail tip, i’m on to that now.

I removed docker from my computer and reinstalled it to see if that would fix the issues I’m having with the containers remaining started up and there seemed to be changes in the output, however, even though I went back to 2.2.1 to see if that would solve anything the same error kept on showing up so I ruled that out and went back to the latest version of 2.2.3.

I’m heading over to the docker community to see if I can get any answers on those No such Container errors because I feel certain that those are the problem. I can’t work out how the script is creating underscored image names, yet in docker they are dash names which seem to be the correct naming paradigm.

In the build that first worked for me those underscored names are not present in the build output, only the dash names so I’m going to try and find answers around that.

Failing that, I will load up a fresh computer and install a brand new system. The first thing I’ll do is install whats needed to build a hollaex kit exchange, but I can’t do until next week .

Either way, I’ll let you all know how it goes by the end of next week.

Thanks for giving me your time, I very, very much have appreciated it.

Regards to you all
Speak soon

I hope that you solved the issue at this point.

If you still need some support, I recommend you to create a new topic.

You could also join to our Discord community and ask.

I’m closing the topic.