Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fullnode-x deployment bugs #17359

Open
insistedMarin opened this issue Apr 26, 2024 · 3 comments
Open

fullnode-x deployment bugs #17359

insistedMarin opened this issue Apr 26, 2024 · 3 comments
Assignees

Comments

@insistedMarin
Copy link

insistedMarin commented Apr 26, 2024

  1. In https://github.com/MystenLabs/sui/blob/main/docker/fullnode-x/indexer/indexer.sh

Command is missing argument --fullnode-sync-worker, so the service not work.

  1. In https://github.com/MystenLabs/sui/blob/main/docker/fullnode-x/fullnode/entry.sh
    The executable file used by the instruction was created when the image was built, but was overwritten by the mounted volume when starting with the docker compose file, so it does not exist. (And due to a problem with sui-node's dockerfile, the directive was not pointing to the correct file even though the folder was not overwritten)

COPY --from=builder /sui/target/release/sui-node /opt/sui/bin/sui-node,The executable file was copied to a folder called sui-node.

  1. In https://github.com/MystenLabs/sui/blob/main/docker/fullnode-x/docker-compose.yaml, There are some port conflicts.
@insistedMarin
Copy link
Author

There is another problem. The fullnode deployed by the service does not have the rest api, but the indexer uses the rest api to obtain checkpoints.

@insistedMarin
Copy link
Author

There is another problem. The fullnode deployed by the service does not have the rest api, but the indexer uses the rest api to obtain checkpoints.

The problem is that fullnode's config file is missing

enable-index-processing: true
enable-experimental-rest-api: true

, maybe this should be added to the documentation.

@stefan-mysten
Copy link
Contributor

@johnjmartin can we check if we have these flags in the config file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants