-
Asked by hey guys, I tried to run a local dev node but failed with this error: aptos node run-local-testnet --with-indexer-api
Identified node type (Validator) and chain ID (Some(testing)) from node config!
Readiness endpoint: http://127.0.0.1:8070/
Transaction stream is starting, please wait...
Indexer API is starting, please wait...
Postgres is starting, please wait...
Node API is starting, please wait...
Faucet is starting, please wait...
Completed generating configuration:
Log file: "/Users/brian/.aptos/testnet/validator.log"
Test dir: "/Users/brian/.aptos/testnet"
Aptos root key path: "/Users/brian/.aptos/testnet/mint.key"
Waypoint: 0:e3c9c4137d62053d0148dae9f9f84447c8ed195a7a9d3ab1495b4e4f7ebbbdb5
ChainId: 4
REST API endpoint: http://127.0.0.1:8080
Metrics endpoint: http://127.0.0.1:9101/metrics
Aptosnet fullnode network endpoint: /ip4/0.0.0.0/tcp/6181
Indexer gRPC node stream endpoint: 127.0.0.1:50051
Aptos is running, press ctrl-c to exit
Indexer API is ready. Endpoint: http://127.0.0.1:8090/
Faucet is ready. Endpoint: http://127.0.0.1:8081/
Transaction stream is ready. Endpoint: http://127.0.0.1:50051/
Postgres is ready. Endpoint: postgres://postgres@127.0.0.1:5433/local_testnet
One of the services failed to start up, running shutdown steps...
Ran shutdown steps
Unexpected error:
One of the services crashed on startup:
Ok(
Err(
Error {
context: "Prerequisite service did not start up successfully",
source: "coin_processor at coin_processor did not start up before Indexer API: Failed to look up processor status: relation \"processor_status\" does not exist",
},
),
)
Please check the logs in /Users/brian/.aptos/testnet the local-testnet-postgres container keep reporting this: ERROR: relation "processor_status" does not exist at character 55 do aptos cli's init scheme script have some bugs? |
Beta Was this translation helpful? Give feedback.
Answered by
0x-j
Apr 5, 2024
Replies: 1 comment
-
Make sure you are using the latest version of aptos cli, you can upgrade cli by running aptos node run-local-testnet --with-indexer-api --force-restart If you run into other issues, checkout if it's mentioned in FAQ of localnet doc |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
0x-j
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Make sure you are using the latest version of aptos cli, you can upgrade cli by running
aptos update aptos
, then run localnet with force restart. I tried myself and it worked.If you run into other issues, checkout if it's mentioned in FAQ of localnet doc