Blockscout
SupportWebsiteGithubDiscord
  • Blockscout Open-Source Explorer
  • πŸ’‘About BlockScout
    • Features
      • Ethereum Bytecode Database Microservice
      • Blockscout Redesign
    • Chains Using Blockscout
    • Partners & Integrations
      • RaaS Providers
      • Vera: Verifier Alliance
        • Adding your chain to the Vera database
        • Programmatic verification via the API
    • News & Media
      • Newsletter & Blog
    • Funding
      • L2 Funding Proposal
        • Aux Funding Images
    • Roadmap
  • πŸ™ŽUsing Blockscout
    • Getting Started
      • Glossary of Terms
      • Main Menu
      • Blocks
      • Transaction Types
      • Beacon Chain Withdrawal Views
    • My Account
      • Watch list
      • Private tags
      • Public tags
      • API keys
      • Custom ABI
      • Verified addresses
        • Copy and Sign Message
      • For developers
    • Dappscout Apps Marketplace
      • DApp Integration
    • Swapscout
      • Earn Merits when using Swapscout
    • Revokescout
    • Autoscout Explorer Launchpad
    • CSV Exports
    • Token Support
      • ERC-1155 Support
    • Merits
      • Streak rewards
      • Activity Pass
      • Leaderboard
      • Badges
      • FAQs
  • πŸ‘©β€πŸ’»Developer Support
    • For Web3 Developers
    • Link to Blockscout
    • Blockscout APIs
      • Requests & Limits
      • REST API Endpoints
        • Stats API
        • Interpreter API
      • JSON RPC & ETH Compatible RPC Endpoints
        • Account
        • Block
        • Contract
        • Logs
        • Stats
        • Token
        • Transaction
        • ETH RPC API
      • GraphQL in Blockscout
    • Smart Contract Verification
      • Blockscout UI
      • Blockscout smart-contract verification API
      • Hardhat Verification Plugin
        • Sourcify Plugin for Hardhat
      • Foundry Verification
      • Sourcify Verification
      • OpenZeppelin Contract Verification
      • Automate verifications with Catapulta
      • Verification via thirdweb
      • Interacting with Smart Contracts
    • Integrate Merits
    • Chainscout chains list
  • πŸƒβ€β™‚οΈSetup and Run Blockscout
    • General Overview
      • Separate Indexer, Web App, and API
      • Umbrella Project Organization
      • Indexer Architecture Overview
      • ShareLock
      • EVM Version Information
    • Requirements
      • General Backend Requirements / Blockscout Backend Prerequisites
      • Backend/Frontend Compatibility Matrix
      • Hardware & Hosting Requirements
      • Database Storage Requirements
      • Client Setting Requirements
      • Node Tracing / JSON RPC Requirements
      • L2 -> L1 JSON-RPC Method Requests
    • β˜‘οΈENV Variables
      • Backend ENVs: Common
      • Backend ENVs: Chain-Specific
      • Backend ENVs: Integrations
      • Frontend ENVs: Common
        • ENVs
        • Deprecated ENVs
      • Deprecated Backend ENVs
        • Previous ENV Variable Home Page
    • Deployment
      • ⭐Manual Deployment Guide
        • Ubuntu Setup
        • MacOS setup
      • ⭐Docker-compose Deployment
      • ⭐Kubernetes Deployment
      • Rollup Deployment
      • 🌟Cosmos-based chains
      • πŸ€Upgrade Guide (v7.0 & v8.0)
      • Frontend Migration
        • All-In-One Container
        • Separate Frontend
        • Customized Backend
        • Proxy Setup
        • FAQs
      • Manual Deployment (backend + old UI)
        • Manual cleaning an instance from the previous deployment
      • Terraform Deployment
      • Ansible Deployment (AWS Cloud)
        • Overview
        • Prerequisites
        • AWS Permissions & Settings
          • Creating a Secret Key Pair
          • Login with AWS CLI
          • Creating an AWS certificate for SSL
          • Manually Cleaning Terraform Related Instances
        • Variables
        • Deploying the Blockscout Infrastructure
        • Deploying Blockscout
        • Destroying Provisioned Infrastructure
        • Common Additional Tasks
        • Common Errors and Questions
        • AWS Marketplace (deprecated)
          • Overview
          • CloudFormation Template
          • Prerequisites & Install Parameters
          • Install from AWS Marketplace
          • AWS EC2 archive node setup with OpenEthereum (formerly Parity)
          • Updating & Redeploying in AWS
          • Customizing CSS
    • Microservices
      • Blockscout ENS (BENS) Name Service Integration
      • Smart Contract Verification
    • Configuration Options
      • Automating Restarts
      • Branding Configs
      • Circle CI Updates
      • Charts and Stats
      • CSS Configuration & Presets
      • Exchange Rates
      • Front-end Config Files
      • haproxy Settings for Blockscout.com
      • Internationalization
      • Logger Configs
      • Memory Usage
      • Metrics
      • My Account Settings
      • Sorting and Pagination
      • Tracing
      • Reown Project ID for contract Read/Write
    • Indexing
      • How do I fix indexer timeouts?
      • How do I update memory consumption to fix indexer memory errors?
    • Testing
    • DB schema
  • FAQs
    • User FAQs
    • Developer FAQs
  • 🧩Resources
    • EaaS: Hosting with Blockscout
    • Contributing to Blockscout
    • Bug Bounty Program
    • Media kit
    • Release Notes
      • v5.3.0: 10/23/23
      • v5.2.0: 6/20/23
      • v5.1.0: 2/13/23
      • v5.0.0: 1/11/23
    • Discord Channel
    • Discussion
    • GitHub Repo
Powered by GitBook
LogoLogo

Privacy and Terms

  • Privacy Notice
  • Terms and Conditions

Copyright Β© Blockscout Limited 2023-2024

On this page
  • Getting Started
  • 1) Update backend ENV variables
  • 2) Install backend
  • 3) Install frontend
  • 4) Install microservices
  • Breaking Changes

Was this helpful?

Export as PDF
  1. Setup and Run Blockscout
  2. Deployment

Upgrade Guide (v7.0 & v8.0)

Last updated 8 days ago

Was this helpful?

πŸš— , providing a simple one-click explorer deployment with Blockscout's optimized hosting infrastructure. Use it for early testing, modifications, and launching a full production-grade explorer. and have your explorer up-and-running in minutes.

We continue to add new features and functionality to Blockscout and recommend updating your instance with each new release. You can check compatibility between your current backend and frontend versions in the .

If it has been a while since your last upgrade, we recommend performing incremental upgrades to ensure proper performance. For example if you are running backend v6.9.0, first upgrade to v6.10.0 prior to upgrading to the . This reduces downtime and ensures all breaking changes are handled. Please update to v7.0 before updating to v8.0. Follow the same process below replacing v7 with the latest front and backend repositories.

Getting Started

This guide walks through the process of updating Blockscout to backend v7.0.2 and frontend v1.38.0 (March, 2025) from v6.10.X. If you have questions about a different upgrade, . Breaking changes follow the instructions.

1) Update backend ENV variables

Backend variable renaming only applies to the 6.10.X -> 7.0.X update. If you are performing a more extensive update, please check renaming & deprecations from the release notes of every minor release (6.8.0, 6.9.0 etc) within your update range.

Newly renamed variables include the MIGRATIONprefix. If a variable contained MIGRATION in the name previously, it has been moved to the beginning of the variable. Expand below to see all variables you need to rename.

Backend Renamed Variables

Old name
New name

TOKEN_ID_MIGRATION_FIRST_BLOCK

MIGRATION_TOKEN_ID_FIRST_BLOCK

TOKEN_ID_MIGRATION_CONCURRENCY

MIGRATION_TOKEN_ID_CONCURRENCY

TOKEN_ID_MIGRATION_BATCH_SIZE

MIGRATION_TOKEN_ID_BATCH_SIZE

SHRINK_INTERNAL_TRANSACTIONS_BATCH_SIZE

MIGRATION_SHRINK_INTERNAL_TRANSACTIONS_BATCH_SIZE

SHRINK_INTERNAL_TRANSACTIONS_CONCURRENCY

MIGRATION_SHRINK_INTERNAL_TRANSACTIONS_CONCURRENCY

TOKEN_INSTANCE_OWNER_MIGRATION_CONCURRENCY

MIGRATION_TOKEN_INSTANCE_OWNER_CONCURRENCY

TOKEN_INSTANCE_OWNER_MIGRATION_BATCH_SIZE

MIGRATION_TOKEN_INSTANCE_OWNER_BATCH_SIZE

TOKEN_INSTANCE_OWNER_MIGRATION_ENABLED

MIGRATION_TOKEN_INSTANCE_OWNER_ENABLED

DENORMALIZATION_MIGRATION_BATCH_SIZE

MIGRATION_DENORMALIZATION_BATCH_SIZE

DENORMALIZATION_MIGRATION_CONCURRENCY

MIGRATION_DENORMALIZATION_CONCURRENCY

TOKEN_TRANSFER_TOKEN_TYPE_MIGRATION_BATCH_SIZE

MIGRATION_TOKEN_TRANSFER_TOKEN_TYPE_BATCH_SIZE

TOKEN_TRANSFER_TOKEN_TYPE_MIGRATION_CONCURRENCY

MIGRATION_TOKEN_TRANSFER_TOKEN_TYPE_CONCURRENCY

SANITIZE_INCORRECT_NFT_BATCH_SIZE

MIGRATION_SANITIZE_INCORRECT_NFT_BATCH_SIZE

SANITIZE_INCORRECT_NFT_CONCURRENCY

MIGRATION_SANITIZE_INCORRECT_NFT_CONCURRENCY

SANITIZE_INCORRECT_NFT_TIMEOUT

MIGRATION_SANITIZE_INCORRECT_NFT_TIMEOUT

SANITIZE_INCORRECT_WETH_BATCH_SIZE

MIGRATION_SANITIZE_INCORRECT_WETH_BATCH_SIZE

SANITIZE_INCORRECT_WETH_CONCURRENCY

MIGRATION_SANITIZE_INCORRECT_WETH_CONCURRENCY

SANITIZE_INCORRECT_WETH_TIMEOUT

MIGRATION_SANITIZE_INCORRECT_WETH_TIMEOUT

REINDEX_INTERNAL_TRANSACTIONS_STATUS_BATCH_SIZE

MIGRATION_REINDEX_INTERNAL_TRANSACTIONS_STATUS_BATCH_SIZE

REINDEX_INTERNAL_TRANSACTIONS_STATUS_CONCURRENCY

MIGRATION_REINDEX_INTERNAL_TRANSACTIONS_STATUS_CONCURRENCY

REINDEX_INTERNAL_TRANSACTIONS_STATUS_TIMEOUT

MIGRATION_REINDEX_INTERNAL_TRANSACTIONS_STATUS_TIMEOUT

FILECOIN_PENDING_ADDRESS_OPERATIONS_MIGRATION_BATCH_SIZE

MIGRATION_FILECOIN_PENDING_ADDRESS_OPERATIONS_BATCH_SIZE

FILECOIN_PENDING_ADDRESS_OPERATIONS_MIGRATION_CONCURRENCY

MIGRATION_FILECOIN_PENDING_ADDRESS_OPERATIONS_CONCURRENCY

ARBITRUM_DA_RECORDS_NORMALIZATION_MIGRATION_BATCH_SIZE

MIGRATION_ARBITRUM_DA_RECORDS_NORMALIZATION_BATCH_SIZE

ARBITRUM_DA_RECORDS_NORMALIZATION_MIGRATION_CONCURRENCY

MIGRATION_ARBITRUM_DA_RECORDS_NORMALIZATION_CONCURRENCY

2) Install backend

->

3) Install frontend

Frontend Variable Updates
From
To
Example

NEXT_PUBLIC_ROLLUP_L1_BASE_URL NEXT_PUBLIC_ROLLUP_PARENT_CHAIN_NAME

NEXT_PUBLIC_ROLLUP_PARENT_CHAIN

current values NEXT_PUBLIC_ROLLUP_L1_BASE_URL =<L1-url> NEXT_PUBLIC_ROLLUP_PARENT_CHAIN_NAME =<chain-name>

new values NEXT_PUBLIC_ROLLUP_PARENT_CHAIN={'name':'<chain-name>','baseUrl':'<L1-url>'}

NEXT_PUBLIC_RE_CAPTCHA_V3_APP_SITE_KEY

NEXT_PUBLIC_RE_CAPTCHA_APP_SITE_KEY

NEXT_PUBLIC_HOMEPAGE_PLATE_TEXT_COLOR NEXT_PUBLIC_HOMEPAGE_PLATE_BACKGROUND

NEXT_PUBLIC_HOMEPAGE_HERO_BANNER_CONFIG

current values NEXT_PUBLIC_HOMEPAGE_PLATE_BACKGROUND=<my-background> NEXT_PUBLIC_HOMEPAGE_PLATE_TEXT_COLOR=<my-text-color> new values NEXT_PUBLIC_HOMEPAGE_HERO_BANNER_CONFIG={'background':['<my-background>'],'text_color':['<my-text-color>']}

Deprecated Frontend Variables

Deprecated

NEXT_PUBLIC_AUTH0_CLIENT_ID

NEXT_PUBLIC_AUTH_URL

NEXT_PUBLIC_LOGOUT_URL

FAVICON_GENERATOR_API_KEY

NEXT_PUBLIC_SENTRY_DSN

SENTRY_CSP_REPORT_URI

NEXT_PUBLIC_SENTRY_ENABLE_TRACING

4) Install microservices

Breaking Changes

/api/v1/health, /api/v1/health/liveness, /api/v1/health/readiness have been removed in favor of /api/health/** endpoints.

/api/v2/addresses/:address_hash returns 200 instead 404 for valid hashes which are not in the DB.

/api/v2/tokens/:token_hash/instances owner’s ens_domain_name property now preloads the ens domain name.

transaction hash and address hash are no longer mandatory in the txlistinternal API v1 endpoint

/metrics endpoint available on indexer pod (previously existed only on API pod)

->

-> Stats microservice .

-> Use the latest tag to install any other microservices used with your instance

πŸƒβ€β™‚οΈ
πŸ€
Autoscout is now available
Get Started Now
Compatibility Matrix
latest 7.0 version
contact us in Discord
blockscout/blockscout:7.0.2
ghcr.io/blockscout/frontend:v1.38.0
ghcr.io/blockscout/stats:v2.5.0
https://github.com/blockscout/blockscout-rs