Skip to content

Fix chain-simulator explorer/lite-wallet container restart failures - #179

Merged
EtienneWallet merged 4 commits into
developfrom
fix/force_chain_simulator_recreate
Feb 11, 2026
Merged

Fix chain-simulator explorer/lite-wallet container restart failures#179
EtienneWallet merged 4 commits into
developfrom
fix/force_chain_simulator_recreate

Conversation

@EtienneWallet

Copy link
Copy Markdown
Contributor

Summary

  • Fix explorer and lite-wallet containers crashing with duplicate location "/assets/" nginx error when restarted without being fully removed first

Changes

  • Add --force-recreate flag to docker compose up -d in start_chain_simulator() to ensure containers are always recreated from a clean state
  • The upstream MultiversX Docker images (mx-explorer-dapp, mx-lite-wallet-dapp) have non-idempotent entrypoint scripts that append duplicate nginx location /assets/ blocks on each container start, causing nginx to reject the config on subsequent runs

Testing

  • Reproduced the issue by inspecting docker logs showing duplicate location "/assets/" errors
  • Verified fix by removing stale containers and recreating them fresh — nginx starts successfully with clean worker processes

🤖 Generated with Claude Code

EtienneWallet and others added 4 commits February 11, 2026 08:55
Add --force-recreate to docker compose up to prevent explorer and
lite-wallet nginx failures caused by non-idempotent entrypoint scripts
accumulating duplicate location blocks across container restarts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@EtienneWallet
EtienneWallet merged commit 43f9dd6 into develop Feb 11, 2026
5 checks passed
@EtienneWallet
EtienneWallet deleted the fix/force_chain_simulator_recreate branch February 11, 2026 08:12
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

Successfully merging this pull request may close these issues.

1 participant