Appneta docker instance fails to start, STATUS stuck in perpetual restart loop
search cancel

Appneta docker instance fails to start, STATUS stuck in perpetual restart loop

book

Article ID: 277614

calendar_today

Updated On:

Products

AppNeta

Issue/Introduction

Running scripts with all the docker commands:

Pull the AppNeta Docker image:

  1. CD to the location of the docker files (containing the mp-compose.yaml file)

  2. Run the below commands:

    sudo docker compose -f mp-compose.yaml down
    sudo docker compose -f mp-compose.yaml pull && sudo docker compose -f mp-compose.yaml up -d


    Note: You may need to add a dash between docker and compose for commands to take (ie: docker-compose).

  3. Check if the C50 is able to correctly deploy

However, some of the instances don't come up, instead they're stuck in a perpetual restarting loop that cycles every minute:

Environment

Appneta Docker

Cause

Found that the mp-compose.yaml has timezone set as ..US/Eastern and this ..US is causing the AppNeta container restart every one minute with:

Error: Container failed to update time zone using TZ=..US/Eastern. Check that TZ is a valid time zone.

 

Resolution

After removing the .. and making the TZ as just "US/Eastern" in the mp-compose.yaml, the docker came up: