Hello Chad,
Ihave installed it again and it worked fine but has the issue with relay this time its not generating the credentials please find the logs below
relay_1 | error: could not parse json config file (file /work/.relay/credentials.json)
relay_1 | caused by: expected value at line 1 column 1
relay_1 | error: could not parse json config file (file /work/.relay/credentials.json)
relay_1 | caused by: expected value at line 1 column 1
relay_1 | error: could not parse json config file (file /work/.relay/credentials.json)
relay_1 | caused by: expected value at line 1 column 1
relay_1 | error: could not parse json config file (file /work/.relay/credentials.json)
relay_1 | caused by: expected value at line 1 column 1
relay_1 | error: could not parse json config file (file /work/.relay/credentials.json)
relay_1 | caused by: expected value at line 1 column 1
relay_1 | error: could not parse json config file (file /work/.relay/credentials.json)
relay_1 | caused by: expected value at line 1 column 1
relay_1 | error: could not parse json config file (file /work/.relay/credentials.json)
relay_1 | caused by: expected value at line 1 column 1
relay_1 | error: could not parse json config file (file /work/.relay/credentials.json)
relay_1 | caused by: expected value at line 1 column 1
relay_1 | error: could not parse json config file (file /work/.relay/credentials.json)
relay_1 | caused by: expected value at line 1 column 1
relay_1 | error: could not parse json config file (file /work/.relay/credentials.json)
relay_1 | caused by: expected value at line 1 column 1
relay_1 | error: could not parse json config file (file /work/.relay/credentials.json)
relay_1 | caused by: expected value at line 1 column 1
I have checked solution for this and modified the code in install.sh
with
$dcr --no-deps --entrypoint /bin/bash relay -c “cp /work/.relay/config.yml /tmp/config.yml && /bin/relay --config /tmp credentials generate > /dev/null && cat /tmp/credentials.json” > “$RELAY_CREDENTIALS_JSON”
replacing old code
dcr --no-deps -v (pwd)/$RELAY_CONFIG_YML:/tmp/config.yml relay --config /tmp credentials generate --stdout > “$RELAY_CREDENTIALS_JSON”
can you help me on this please