How to migrate Subquery indexer from kepler Official docker-composer to Toolkit Mainnet Solution
Who can use it?
Anyone. Migration script support Original Subquery Composer scripts and Toolkit.
PS. for long-live processes please always use tmux or screen. (tmux new)
Step 0
Withdraw MATIC from operatos via GUI.
# Setup software & prepare env.
Run command from root.
OPTIONAL (Enable external access from WEB to grafana. will require subdomain.)
OPTIONAL (Enable external access from WEB to COORDINATOR. will require subdomain And login&password for basic auth)
Run indexer. (first run took 2-3 minutes. We use only sources, for prevent problems)
Whats in? (Actions)
Detect old indexer configuration (location & database password)
Detect your postgres version
Stop old projects and old testnet indexer
stop&disable nginx
Install Mainnet indexer
Generate configuration, certificates, and move database.
Start new full-featured indexer.
PS after installation, backup your passwords and keys. All data located in: /usr/src/subquery-indexer-toolkit-mainnet/SubqueryIndexerHandbook.tar.gz
Last updated