Docker swarm - datagrok/jupyter_kernel_gateway service not starting

Hello everyone! Container with jupyter_kernel_gateway service not starting with the following error:

datagrok_jupyter_kernel_gateway.1.m0cb92zcmz3n@node6-mtx    | Using default conda repository: conda-forge.
datagrok_jupyter_kernel_gateway.1.m0cb92zcmz3n@node6-mtx    | To use custom conda repositories in addition to conda-forge use 'CONDA_CUSTOM_REPOSITORIES' environment variable.
datagrok_jupyter_kernel_gateway.1.m0cb92zcmz3n@node6-mtx    | CONDA_CUSTOM_REPOSITORIES takes precedence over conda-forge.
datagrok_jupyter_kernel_gateway.1.m0cb92zcmz3n@node6-mtx    | Multiple repositories can be specified using space. For example: CONDA_CUSTOM_REPOSITORIES='http://my-repo/custom/ http://his-repo/special/'
datagrok_jupyter_kernel_gateway.1.m0cb92zcmz3n@node6-mtx    |
datagrok_jupyter_kernel_gateway.1.m0cb92zcmz3n@node6-mtx    | To use custom conda repositories in addition to conda-forge use 'CONDA_CUSTOM_REPOSITORIES' environment variable.
datagrok_jupyter_kernel_gateway.1.m0cb92zcmz3n@node6-mtx    | CONDA_CUSTOM_REPOSITORIES takes precedence over conda-forge.
datagrok_jupyter_kernel_gateway.1.m0cb92zcmz3n@node6-mtx    | Multiple repositories can be specified using space. For example: CONDA_CUSTOM_REPOSITORIES='http://my-repo/custom http://his-repo/special'
datagrok_jupyter_kernel_gateway.1.m0cb92zcmz3n@node6-mtx    |
datagrok_jupyter_kernel_gateway.1.m0cb92zcmz3n@node6-mtx    | conda config:
datagrok_jupyter_kernel_gateway.1.m0cb92zcmz3n@node6-mtx    | channels:
datagrok_jupyter_kernel_gateway.1.m0cb92zcmz3n@node6-mtx    |   - conda-forge
datagrok_jupyter_kernel_gateway.1.m0cb92zcmz3n@node6-mtx    |
datagrok_jupyter_kernel_gateway.1.m0cb92zcmz3n@node6-mtx    | Using default pip repository: https://pypi.org/simple
datagrok_jupyter_kernel_gateway.1.m0cb92zcmz3n@node6-mtx    | To use custom pip repositories in addition to pypi use 'PIP_EXTRA_INDEX_URL' environment variable.
datagrok_jupyter_kernel_gateway.1.m0cb92zcmz3n@node6-mtx    | Multiple repositories can be specified using space. For example: PIP_EXTRA_INDEX_URL='http://my-repo/custom http://his-repo/special'
datagrok_jupyter_kernel_gateway.1.m0cb92zcmz3n@node6-mtx    |
datagrok_jupyter_kernel_gateway.1.m0cb92zcmz3n@node6-mtx    | Unhandled exception:
datagrok_jupyter_kernel_gateway.1.m0cb92zcmz3n@node6-mtx    | Unable to decode JSON string
datagrok_jupyter_kernel_gateway.1.m0cb92zcmz3n@node6-mtx    | #0      main (file:///home/grok/datagrok/datlas/bin/make_configs_bundle.dart:25)
datagrok_jupyter_kernel_gateway.1.m0cb92zcmz3n@node6-mtx    | <asynchronous suspension>
datagrok_jupyter_kernel_gateway.1.m0cb92zcmz3n@node6-mtx    | #1      _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:263)
datagrok_jupyter_kernel_gateway.1.m0cb92zcmz3n@node6-mtx    | #2      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)
datagrok_jupyter_kernel_gateway.1.m0cb92zcmz3n@node6-mtx    | bash run_datagrok_services.sh has already exited.

Have used compose file from documentation: public/docker/swarm.docker-compose.yaml at master · datagrok-ai/public · GitHub
Can anyone point me to right direction?

Reason - lack of ENV variable GROK_PARAMETERS

Hi @eyewing. Yes, the swarm.docker-compose.yaml is a little bit outdated and we have plans to deprecate it completely. But I have added necessary env variable. Could you please use updated version of public/docker/swarm.docker-compose.yaml at master · datagrok-ai/public · GitHub and follow this guide Docker Swarm | Datagrok?

Yep, already fixed exactly as you, thank you for the reaction! I need to close the thread?

2 Likes

Dear @eyewing,

Happy to know your problem is solved and everything is fine now.
You may keep the thread the way it is or close it - as you wish.

Best,

Olesia
DG Team