Salesforce

Redis/GQL/core-admin-server are out of sync

« Go Back
Information
Redis/GQL/core-admin-server are out of sync
000004320
Public
Product Selection
aiWare - aiWare
Article Details

Problem

When an aiWARE instance is shut down, Redis/GQL/Core-admin become out of sync.

Cause

When an aiWARE instance is shut down, the Redis security key changes, causing core-graphql-server and core-admin-server to not be able to authenticate.

Solution

  • In the terminal, type the following commands:

    docker stop aiware-redis && docker rm aiware-redis
    
    docker container exec -i aiware-postgres /usr/bin/psql -U postgres -c "UPDATE edge.resource SET resource_state='created' WHERE resource_type='redis'"
    
    systemctl stop aiware-agent
    
    docker stop core-graphql-server core-admin-server && docker rm core-graphql-server core-admin-server && docker image ls|grep core
    
    docker rm -f  GQL-imageid# core-admin-imageid#
    
    systemctl restart aiware-agent
Additional Technical Documentation Information
Properties
2/15/2024 10:38 PM
2/15/2024 10:39 PM
2/15/2024 10:39 PM
Documentation
Documentation
000004320
Translation Information
English

Powered by