I am trying to start carthagenet.sh
in RPC mode on Ubuntu 18.04
$ ./carthagenet.sh start --rpc-port 8732
It appears to start fine:
v7.0: Pulling from tezos/tezos
Digest: sha256:da126e8d6bf137a9b326c3992c0e464622b94e2ee42b7d311df158212b8ae153
Status: Image is up to date for tezos/tezos:v7.0
docker.io/tezos/tezos:v7.0
Creating network "carthagenet_default" with the default driver
Creating carthagenet_node_1 ... done
Creating carthagenet_upgrader_1 ... done
Creating carthagenet_baker-006-PsCARTHA-test_1 ... done
Creating carthagenet_endorser-alpha-test_1 ... done
Creating carthagenet_endorser-006-PsCARTHA_1 ... done
Creating carthagenet_baker-006-PsCARTHA_1 ... done
Creating carthagenet_accuser-alpha_1 ... done
Creating carthagenet_accuser-006-PsCARTHA-test_1 ... done
Creating carthagenet_accuser-alpha-test_1 ... done
Creating carthagenet_endorser-006-PsCARTHA-test_1 ... done
Creating carthagenet_baker-alpha-test_1 ... done
Creating carthagenet_endorser-alpha_1 ... done
Creating carthagenet_baker-alpha_1 ... done
Creating carthagenet_accuser-006-PsCARTHA_1 ... done
However, as soon as I run any command I get an error:
$ ./carthagenet.sh client list known addresses
Error response from daemon: Container 9920d6b346868d3d5491c0cd88eee100189c470d2107fa49cde6086568ec1383 is restarting, wait until the container is running
I used the following command to debug issues with the docker container:
docker logs --tail 50 --follow --timestamps 9920d6b346868d3d5491c0cd88eee100189c470d21
It appears the docker container keeps trying to restart with this error message:
2020-05-14T07:02:29.592446544Z Current public chain: 2018-06-30T16:07:32Z.
2020-05-14T07:02:29.593149945Z Local chain data: 2018-06-30T16:07:32Z.
2020-05-14T07:02:29.593724545Z Updating the node configuration...
2020-05-14T07:02:29.666034593Z tezos-node: unknown option `--rpc-port'.
2020-05-14T07:02:29.666059993Z Usage: tezos-node config [OPTION]... [OPERATION]
2020-05-14T07:02:29.666064593Z Try `tezos-node config --help' or `tezos-node --help' for more information.
All documentation I find seems to suggest --rpc-port is the correct option. Where could I be having issues?