HollaEx Setup Fails

When I run hollaex server --setup I get most the way through the set up process but at the end I see this error over and over again:

Error: No such object: local_<EXCHANGE_NAME>-server-api_1
Waiting for the containers to get fully initialized...

When I look at docker I see that local-<EXCHANGE_NAME>-server-plugins-1 and local-<EXCHANGE_NAME>-server-stream-1 are in a restart loop.

When I inspect both these containers I see:

server-plugins-1:

`Sun, 24 Apr 2022 15:26:29 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13`

`Sun, 24 Apr 2022 15:26:48 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13`

`Sun, 24 Apr 2022 15:27:20 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://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":"2022-04-24T15:27:21.305Z"}`

`{"message":"Connect to PubSub ","level":"verbose","timestamp":"2022-04-24T15:27:21.313Z"}`

`{"message":"Connect to redis ","level":"verbose","timestamp":"2022-04-24T15:27:21.313Z"}`

`{"message":"Authenticated to PubSub ","level":"verbose","timestamp":"2022-04-24T15:27:21.314Z"}`

`{"message":"PubSub is ready ","level":"info","timestamp":"2022-04-24T15:27:21.315Z"}`

`{"message":"Authenticated to redis ","level":"verbose","timestamp":"2022-04-24T15:27:21.316Z"}`

`{"message":"Redis is ready ","level":"info","timestamp":"2022-04-24T15:27:21.316Z"}`

`{"level":"error","message":"/plugins/index/initialization err relation \"Statuses\" does not exist","timestamp":"2022-04-24T15:27:21.333Z"}`

`{"level":"verbose","message":"init/checkStatus checking exchange status","timestamp":"2022-04-24T15:28:19.233Z"}`

`{"message":"Connect to PubSub ","level":"verbose","timestamp":"2022-04-24T15:28:19.241Z"}`

`{"message":"Connect to redis ","level":"verbose","timestamp":"2022-04-24T15:28:19.241Z"}`

`{"message":"Authenticated to PubSub ","level":"verbose","timestamp":"2022-04-24T15:28:19.242Z"}`

`{"message":"PubSub is ready ","level":"info","timestamp":"2022-04-24T15:28:19.242Z"}`

`{"message":"Authenticated to redis ","level":"verbose","timestamp":"2022-04-24T15:28:19.243Z"}`

`{"message":"Redis is ready ","level":"info","timestamp":"2022-04-24T15:28:19.243Z"}`

`{"level":"error","message":"/plugins/index/initialization err relation \"Statuses\" does not exist","timestamp":"2022-04-24T15:28:19.255Z"}`

`{"level":"verbose","message":"init/checkStatus checking exchange status","timestamp":"2022-04-24T15:29:25.941Z"}`

`{"message":"Connect to PubSub ","level":"verbose","timestamp":"2022-04-24T15:29:25.952Z"}`

`{"message":"Connect to redis ","level":"verbose","timestamp":"2022-04-24T15:29:25.953Z"}`

`{"message":"Authenticated to PubSub ","level":"verbose","timestamp":"2022-04-24T15:29:25.954Z"}`

`{"message":"PubSub is ready ","level":"info","timestamp":"2022-04-24T15:29:25.954Z"}`

`{"message":"Authenticated to redis ","level":"verbose","timestamp":"2022-04-24T15:29:25.955Z"}`

`{"message":"Redis is ready ","level":"info","timestamp":"2022-04-24T15:29:25.955Z"}`

`{"level":"error","message":"/plugins/index/initialization err relation \"Statuses\" does not exist","timestamp":"2022-04-24T15:29:25.972Z"}`

`{"level":"verbose","message":"init/checkStatus checking exchange status","timestamp":"2022-04-24T15:30:32.951Z"}`

`{"message":"Connect to PubSub ","level":"verbose","timestamp":"2022-04-24T15:30:32.959Z"}`

`{"message":"Connect to redis ","level":"verbose","timestamp":"2022-04-24T15:30:32.959Z"}`

`{"message":"Authenticated to PubSub ","level":"verbose","timestamp":"2022-04-24T15:30:32.960Z"}`

`{"message":"PubSub is ready ","level":"info","timestamp":"2022-04-24T15:30:32.961Z"}`

`{"message":"Authenticated to redis ","level":"verbose","timestamp":"2022-04-24T15:30:32.962Z"}`

`{"message":"Redis is ready ","level":"info","timestamp":"2022-04-24T15:30:32.962Z"}`

`{"level":"error","message":"/plugins/index/initialization err relation \"Statuses\" does not exist","timestamp":"2022-04-24T15:30:32.974Z"}`

and server-stream-1:

`Sun, 24 Apr 2022 15:26:06 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13`

`Sun, 24 Apr 2022 15:26:16 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13`

`Sun, 24 Apr 2022 15:26:29 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13`

`Sun, 24 Apr 2022 15:26:48 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13`

`Sun, 24 Apr 2022 15:27:20 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13`

`Sun, 24 Apr 2022 15:28:18 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13`

`{"message":"Authenticated to redis ","level":"verbose","timestamp":"2022-04-24T15:26:48.878Z"}`

`{"message":"Redis is ready ","level":"info","timestamp":"2022-04-24T15:26:48.878Z"}`

`{"level":"error","message":"ws/hub/connect/checkStatus Error  relation \"Statuses\" does not exist","timestamp":"2022-04-24T15:26:48.896Z"}`

`{"message":"Ẃebsocket server listening on port: 10080 ","level":"verbose","timestamp":"2022-04-24T15:27:21.166Z"}`

`{"level":"verbose","message":"init/checkStatus checking exchange status","timestamp":"2022-04-24T15:27:21.173Z"}`

`{"message":"Connect to PubSub ","level":"verbose","timestamp":"2022-04-24T15:27:21.183Z"}`

`{"message":"Connect to redis ","level":"verbose","timestamp":"2022-04-24T15:27:21.184Z"}`

`{"message":"Authenticated to PubSub ","level":"verbose","timestamp":"2022-04-24T15:27:21.185Z"}`

`{"message":"PubSub is ready ","level":"info","timestamp":"2022-04-24T15:27:21.185Z"}`

`{"message":"Authenticated to redis ","level":"verbose","timestamp":"2022-04-24T15:27:21.186Z"}`

`{"message":"Redis is ready ","level":"info","timestamp":"2022-04-24T15:27:21.186Z"}`

`{"level":"error","message":"ws/hub/connect/checkStatus Error  relation \"Statuses\" does not exist","timestamp":"2022-04-24T15:27:21.214Z"}`

`{"message":"Ẃebsocket server listening on port: 10080 ","level":"verbose","timestamp":"2022-04-24T15:28:19.104Z"}`

`{"level":"verbose","message":"init/checkStatus checking exchange status","timestamp":"2022-04-24T15:28:19.113Z"}`

`{"message":"Connect to PubSub ","level":"verbose","timestamp":"2022-04-24T15:28:19.122Z"}`

`{"message":"Connect to redis ","level":"verbose","timestamp":"2022-04-24T15:28:19.122Z"}`

`{"message":"Authenticated to PubSub ","level":"verbose","timestamp":"2022-04-24T15:28:19.124Z"}`

`{"message":"PubSub is ready ","level":"info","timestamp":"2022-04-24T15:28:19.124Z"}`

`{"message":"Authenticated to redis ","level":"verbose","timestamp":"2022-04-24T15:28:19.125Z"}`

`{"message":"Redis is ready ","level":"info","timestamp":"2022-04-24T15:28:19.125Z"}`

`{"level":"error","message":"ws/hub/connect/checkStatus Error  relation \"Statuses\" does not exist","timestamp":"2022-04-24T15:28:19.153Z"}`

`{"message":"Ẃebsocket server listening on port: 10080 ","level":"verbose","timestamp":"2022-04-24T15:29:25.823Z"}`

`{"level":"verbose","message":"init/checkStatus checking exchange status","timestamp":"2022-04-24T15:29:25.830Z"}`

`{"message":"Connect to PubSub ","level":"verbose","timestamp":"2022-04-24T15:29:25.838Z"}`

`{"message":"Connect to redis ","level":"verbose","timestamp":"2022-04-24T15:29:25.838Z"}`

`{"message":"Authenticated to PubSub ","level":"verbose","timestamp":"2022-04-24T15:29:25.840Z"}`

`{"message":"PubSub is ready ","level":"info","timestamp":"2022-04-24T15:29:25.840Z"}`

`{"message":"Authenticated to redis ","level":"verbose","timestamp":"2022-04-24T15:29:25.842Z"}`

`{"message":"Redis is ready ","level":"info","timestamp":"2022-04-24T15:29:25.842Z"}`

`{"level":"error","message":"ws/hub/connect/checkStatus Error  relation \"Statuses\" does not exist","timestamp":"2022-04-24T15:29:25.867Z"}`

`{"message":"Ẃebsocket server listening on port: 10080 ","level":"verbose","timestamp":"2022-04-24T15:30:32.798Z"}`

`{"level":"verbose","message":"init/checkStatus checking exchange status","timestamp":"2022-04-24T15:30:32.806Z"}`

`{"message":"Connect to PubSub ","level":"verbose","timestamp":"2022-04-24T15:30:32.817Z"}`

`{"message":"Connect to redis ","level":"verbose","timestamp":"2022-04-24T15:30:32.817Z"}`

`{"message":"Authenticated to redis ","level":"verbose","timestamp":"2022-04-24T15:30:32.824Z"}`

`{"message":"Redis is ready ","level":"info","timestamp":"2022-04-24T15:30:32.825Z"}`

`{"message":"Authenticated to PubSub ","level":"verbose","timestamp":"2022-04-24T15:30:32.825Z"}`

`{"message":"PubSub is ready ","level":"info","timestamp":"2022-04-24T15:30:32.826Z"}`

`{"level":"error","message":"ws/hub/connect/checkStatus Error  relation \"Statuses\" does not exist","timestamp":"2022-04-24T15:30:32.859Z"}`

`{"message":"Ẃebsocket server listening on port: 10080 ","level":"verbose","timestamp":"2022-04-24T15:31:39.472Z"}`

`{"level":"verbose","message":"init/checkStatus checking exchange status","timestamp":"2022-04-24T15:31:39.475Z"}`

`{"message":"Connect to PubSub ","level":"verbose","timestamp":"2022-04-24T15:31:39.483Z"}`

`{"message":"Connect to redis ","level":"verbose","timestamp":"2022-04-24T15:31:39.483Z"}`

`{"message":"Authenticated to PubSub ","level":"verbose","timestamp":"2022-04-24T15:31:39.484Z"}`

`{"message":"PubSub is ready ","level":"info","timestamp":"2022-04-24T15:31:39.484Z"}`

`{"message":"Authenticated to redis ","level":"verbose","timestamp":"2022-04-24T15:31:39.485Z"}`

`{"message":"Redis is ready ","level":"info","timestamp":"2022-04-24T15:31:39.485Z"}`

`{"level":"error","message":"ws/hub/connect/checkStatus Error  relation \"Statuses\" does not exist","timestamp":"2022-04-24T15:31:39.503Z"}`

Appreciate any support - thanks.

Hi there.

Seems like something really went wrong while you were running the setup.

You could see the full containers list including for the crashed one by running docker ps -a

You would see the stopped (or crashed) API container from there.

Get the logs with docker logs <API_CONTAINER_NAME> to get more information.

I assume that it would show a similar error same as the stream or the plugins.

I recommend you to fully terminate the exchange and start over in that case.

Run hollaex server --terminate for the full clean-up, and run hollaex server --setup --force to start over freshly. The --force flag is important here since you are starting up the exchange that once has been setup.

SAME ERROR. it looks that is something with the source code.

Is there any way to fix it?

If you are having the same issue as mentioned above, please start over from a scratch, run setup again, and monitor the logs there.

There gotta be errors related to the DB initialization.

Running it on a new machine (new VM) could be an easy way to start over.