# Manual upgrade

Version v0.2.0

```
cd $HOME
wget -O sunrised wget https://github.com/sunriselayer/sunrise/releases/download/v0.2.0/sunrised
chmod +x $HOME/sunrised
mv $HOME/sunrised $HOME/go/bin/sunrised
sudo systemctl restart sunrised && sudo journalctl -u sunrised -f
```

Version v0.2.1

```
cd $HOME
wget -O sunrised wget https://github.com/sunriselayer/sunrise/releases/download/v0.2.1/sunrised
chmod +x $HOME/sunrised
mv $HOME/sunrised $HOME/go/bin/sunrised
sudo systemctl restart sunrised && sudo journalctl -u sunrised -f
```

Version v0.2.3 (update 554150 blok. - 23.10.2024)

```
cd $HOME
wget -O sunrised https://github.com/sunriselayer/sunrise/releases/download/v0.2.3/sunrised
chmod +x sunrised
sudo mv $HOME/sunrised $(which sunrised)
sudo systemctl restart sunrised && sudo journalctl -u sunrised -f
```

### Auto Upgrade

**Version v0.2.5**

> Sunucu içinde yeni bir screen açıyoruz. `screen -S sunrise` sonrasında aşağıdaki komutları tek seferde yapıştırıyoruz. İşlem başladığında geri sayıma geçecek. Sonrasında CTRL A D ile çıkıyoruz.&#x20;

```
cd $HOME && \
wget -O sunrised https://github.com/sunriselayer/sunrise/releases/download/v0.2.5-rc1/sunrised && \
chmod +x $HOME/sunrised && \
old_bin_path=$(which sunrised) && \
home_path=$HOME && \
rpc_port=$(grep -m 1 -oP '^laddr = "\K[^"]+' "$HOME/.sunrise/config/config.toml" | cut -d ':' -f 3) && \
[[ -z "$rpc_port" ]] && rpc_port=$(grep -oP 'node = "tcp://[^:]+:\K\d+' "$HOME/.sunrise/config/client.toml") ; \
tmux new -s sunrise-upgrade "sudo bash -c 'curl -s https://raw.githubusercontent.com/CoinHuntersTR/Logo/refs/heads/main/autoupgrade/upgrade.sh | bash -s -- -u \"813800\" -b sunrised -n \"$HOME/sunrised\" -o \"$old_bin_path\" -h \"$home_path\" -p \"https://sunrise-api.chainad.org/cosmos/gov/v1/proposals/7\" -r \"$rpc_port\"'"
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://service.coinhunterstr.com/testnet/sunrise-layer/manual-upgrade.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
