Self Hosted Update Issues

I am having some trouble updating Retool. I am stuck on version 3.73.0-edge and cannot update to 3.75.23-stable. I've unsuccessfully tried everything that I can find to fix it, so I need to systematically go through all my options to fix it. I was updating through the edge branch before I saw the note that I should not switch between branches.

Upon updating to 3.75.23-stable, the jobs-runner service always exits with code 134. Here are the error logs from it:

jobs-runner_1    | wait-for-it.sh: waiting 15 seconds for postgres:5432
jobs-runner_1    | wait-for-it.sh: postgres:5432 is available after 0 seconds
jobs-runner_1    | not untarring the bundle
jobs-runner_1    | sed: can't read ./dist/mobile/*.js: No such file or directory
jobs-runner_1    | node[24]: ../src/node_platform.cc:68:std::unique_ptr<long unsigned int> node::WorkerThreadsTaskRunner::DelayedTaskScheduler::Start(): Assertion `(0) == (uv_thread_create(t.get(), start_thread, this))' failed.
jobs-runner_1    |  1: 0xb85bc0 node::Abort() [node]
jobs-runner_1    |  2: 0xb85c3e  [node]
jobs-runner_1    |  3: 0xbf30fe  [node]
jobs-runner_1    |  4: 0xbf31e1 node::NodePlatform::NodePlatform(int, v8::TracingController*, v8::PageAllocator*) [node]
jobs-runner_1    |  5: 0xb438f3 node::InitializeOncePerProcess(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, node::ProcessFlags::Flags) [node]
jobs-runner_1    |  6: 0xb43f4b node::Start(int, char**) [node]
jobs-runner_1    |  7: 0x7f4896c4724a  [/lib/x86_64-linux-gnu/libc.so.6]
jobs-runner_1    |  8: 0x7f4896c47305 __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
jobs-runner_1    |  9: 0xac1f4e _start [node]
jobs-runner_1    | ./docker_scripts/start_api.sh: line 66:    24 Aborted                 (core dumped) node --openssl-legacy-provider --no-experimental-fetch bundle/main.js

jobs-runner config:

  jobs-runner:
    build:
      context: ./
      dockerfile: Dockerfile
    env_file: ./docker.env
    environment:
      - DEPLOYMENT_TEMPLATE_TYPE=docker-compose
      - SERVICE_TYPE=JOBS_RUNNER
    networks:
      - backend-network
    depends_on:
      - postgres
    command: bash -c "chmod -R +x ./docker_scripts; sync; ./docker_scripts/wait-for-it.sh postgres:5432; ./docker_scripts/start_api.sh"
    links:
      - postgres
    volumes:
      - ./keys:/root/.ssh

I've done lots of searching and tried different solutions already with no success, so I would also appreciate simple solutions to try. Let me know if you need any further information and thanks for the help!

Hey @jpearson! Thanks for reaching out.

I'm fairly confident that the root cause of the error you're seeing can be addressed by upgrading the version of docker on your machine. Are you running Ubuntu on an EC2 instance? If so, you can follow the instructions here.

I hope that helps! Let me know if you have any follow up questions. :+1:

Thank you very much Darren! That worked wonderfully.