> For the complete documentation index, see [llms.txt](https://service.block-pro.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://service.block-pro.net/testnet/celestia/bridge-node/upgrade.md).

# Upgrade

Update the existing BlockPro Mocha testnet bridge using its real service and binary paths.

**Mocha testnet · `mocha-5` · celestia-node v0.36.0-mocha · Linux x86-64**

Install before app v11 activates. Use the existing node store and run the following blocks in one Bash session. Resolve any failed command before continuing.

Run as `root` on the BlockPro bridge host. The existing `celestia-bridge-mocha.service` starts `/usr/local/bin/celestia` with the store `/root/.celestia-bridge-mocha-5`.

Your configured consensus endpoint must support app v11 by activation. Confirm the provider’s upgrade plan if you use an external endpoint. [Compatibility notes](https://github.com/celestiaorg/celestia-node/releases/tag/v0.36.0-mocha)

## Prepare the release

Open a staging directory for this release.

```bash
mkdir -p "$HOME/celestia-bridge-v0.36.0-mocha-linux-amd64" &&
cd "$HOME/celestia-bridge-v0.36.0-mocha-linux-amd64"
```

Download the official Linux x86-64 archive.

```bash
curl -fL --retry 3 -o celestia-node_Linux_x86_64.tar.gz https://github.com/celestiaorg/celestia-node/releases/download/v0.36.0-mocha/celestia-node_Linux_x86_64.tar.gz
```

Verify the release checksum and extract the archive if it matches.

```bash
printf '%s  %s\n' '66661b77c4f1e2480e5d3457b730ee2cf67d14cc9ca182e4dcf79c0e6e44c3cc' 'celestia-node_Linux_x86_64.tar.gz' | sha256sum --check - &&
tar --no-same-owner -xzf celestia-node_Linux_x86_64.tar.gz
```

Check that the staged executable runs on this server. Expect semantic version `0.36.0-mocha` before stopping the service.

```bash
./celestia version
```

## Install the binary

Stop the service.

```bash
systemctl stop celestia-bridge-mocha.service
```

Install the staged executable at the service path.

```bash
install -m 0755 ./celestia /usr/local/bin/celestia
```

Configuration and storage from v0.35.x carry forward.

<details>

<summary>Upgrading from v0.34.x or earlier</summary>

Review the [v0.35.0-mocha migration notes](https://github.com/celestiaorg/celestia-node/releases/tag/v0.35.0-mocha). To clean obsolete share-exchange settings, run the role-specific command with the new executable while the service is stopped.

```bash
/usr/local/bin/celestia bridge config-update --p2p.network mocha --node.store /root/.celestia-bridge-mocha-5
```

Review the resulting `config.toml` before starting.

</details>

## Restart and confirm

Start the existing systemd unit.

```bash
systemctl start celestia-bridge-mocha.service
```

Check the running executable. Expect `0.36.0-mocha`.

```bash
systemctl is-active --quiet celestia-bridge-mocha.service &&
"/proc/$(systemctl show celestia-bridge-mocha.service -p MainPID --value)/exe" version
```

Follow the log until header heights advance and sampling resumes. Ctrl+C closes the log view.

```bash
journalctl -u celestia-bridge-mocha.service -n 30 -f -o cat
```

Check that the existing BlockPro gateway is active after the bridge recovers.

```bash
systemctl status blockpro-bridge-gateway.service --no-pager
```

The gateway can continue using its configured JWT. Use [token revocation](https://service.block-pro.net/testnet/celestia/useful-commands.md#revoke-a-da-rpc-token) when you intend to retire a credential.

<details>

<summary>Optional download cleanup</summary>

After the updated node is healthy, remove this release’s staging directory.

```bash
cd "$HOME" &&
rm -r -- "$HOME/celestia-bridge-v0.36.0-mocha-linux-amd64"
```

</details>

[Versions](https://service.block-pro.net/testnet/celestia/versions.md) · [Release notes](https://github.com/celestiaorg/celestia-node/releases/tag/v0.36.0-mocha)
