<p><strong><a href="https://github.com/input-output-hk/cardano-node/releases/tag/1.30.1" rel="nofollow noreferrer">1.30.1 release note:</a></strong> <em>All SPOs and node users <strong>must update</strong> to this (or a later) version prior to the HF to Alonzo PV 6, or risk not being able to sync to the network.</em></p>
<p><strong>IMPORTANT: As usual, don’t forget to backup your nodes before starting these updates.</strong></p>
<p><strong>STEP 1 - Clone the latest source and checkout the branch 1.30.1</strong></p>
<pre><code>cd $HOME/git
git clone https://github.com/input-output-hk/cardano-node.git cardano-node2
cd cardano-node2/
git fetch --all --recurse-submodules --tags
git checkout tags/1.30.1
</code></pre>
<p><strong>STEP 2 - Make sure to have at least ghc 8.10.4 and cabal 3.4.0.0</strong></p>
<pre><code>ghcup upgrade
ghcup install ghc 8.10.4
ghcup set ghc 8.10.4
ghc --version
ghcup install cabal 3.4.0.0
ghcup set cabal 3.4.0.0
cabal --version
cabal update
</code></pre>
<p><strong>STEP 3 - Configure &amp; Compile</strong></p>
<pre><code>cd $HOME/git/cardano-node2
cabal configure -O0 -w ghc-8.10.4
echo -e &quot;package cardano-crypto-praos\n flags: -external-libsodium-vrf&quot; &gt; cabal.project.local
cabal build cardano-node cardano-cli
</code></pre>
<p>Now make sure that your version of your freshly built cardano-cli and cardano-node is correct (1.30.1):</p>
<pre><code>$(find $HOME/git/cardano-node2/dist-newstyle/build -type f -name &quot;cardano-cli&quot;) version
$(find $HOME/git/cardano-node2/dist-newstyle/build -type f -name &quot;cardano-node&quot;) version
</code></pre>
<p><strong>STEP 4 - Shut your node down, replace your old binaries with the new ones in your bin folder and start your node again</strong></p>
<p>Stop the node</p>
<pre><code>sudo systemctl stop cardano-node
</code></pre>
<p>Replace old binaries with the new ones</p>
<pre><code>sudo cp $(find $HOME/git/cardano-node2/dist-newstyle/build -type f -name &quot;cardano-cli&quot;) /usr/local/bin/cardano-cli
sudo cp $(find $HOME/git/cardano-node2/dist-newstyle/build -type f -name &quot;cardano-node&quot;) /usr/local/bin/cardano-node
</code></pre>
<p>Double check the version</p>
<pre><code>cardano-node version
cardano-cli version
</code></pre>
<p>Start your node again</p>
<pre><code>sudo systemctl start cardano-node
</code></pre>
<p>Check the logs:</p>
<pre><code>journalctl --unit=cardano-node --follow 
</code></pre>
<p>Now clean your mess</p>
<pre><code>cd $HOME/git/
mv cardano-node cardano-node-old
mv cardano-node2 cardano-node
</code></pre>
<p>Enjoy</p>

CC BY-SA 4.0
2021-09-29T22:16:55.987Z
2021-09-29T22:16:55.987Z
baocontact
<p>I installed and configured my node by following <a href="https://www.coincashew.com/coins/overview-ada/guide-how-to-build-a-haskell-stakepool-node" rel="nofollow noreferrer">the tutorial from Coincashew</a>.
Currently running with version 1.29.0, could someone give a procedure to upgrade my node to the higher version safely?</p>

<stake-pool><cardano-node><ubuntu><linux><spo>
How to upgrade my Cardano node to version 1.30.1 from a Coincashew install?
# How to upgrade my Cardano node to version 1.30.1 from a Coincashew install?

(Asked by: username_0 on 2021-09-29)

I installed and configured my node by following [the tutorial from Coincashew](https://www.coincashew.com/coins/overview-ada/guide-how-to-build-a-haskell-stakepool-node).
Currently running with version 1.29.0, could someone give a procedure to upgrade my node to the higher version safely?

**Tags:** stake-pool, cardano-node, ubuntu, linux, spo

---

## 1 answers

### Answer by username_1 on 2021-09-29. Score: 2 | Accepted answer

1.30.1 release note: All SPOs and node users must update to this (or a later) version prior to the HF to Alonzo PV 6, or risk not being able to sync to the network.
IMPORTANT: As usual, don’t forget to backup your nodes before starting these updates.
STEP 1 - Clone the latest source and checkout the branch 1.30.1
cd $HOME/git
git clone https://github.com/input-output-hk/cardano-node.git cardano-node2
cd cardano-node2/
git fetch --all --recurse-submodules --tags
git checkout tags/1.30.1

STEP 2 - Make sure to have at least ghc 8.10.4 and cabal 3.4.0.0
ghcup upgrade
ghcup install ghc 8.10.4
ghcup set ghc 8.10.4
ghc --version
ghcup install cabal 3.4.0.0
ghcup set cabal 3.4.0.0
cabal --version
cabal update

STEP 3 - Configure & Compile
cd $HOME/git/cardano-node2
cabal configure -O0 -w ghc-8.10.4
echo -e "package cardano-crypto-praos\n flags: -external-libsodium-vrf" > cabal.project.local
cabal build cardano-node cardano-cli

Now make sure that your version of your freshly built cardano-cli and cardano-node is correct (1.30.1):
$(find $HOME/git/cardano-node2/dist-newstyle/build -type f -name "cardano-cli") version
$(find $HOME/git/cardano-node2/dist-newstyle/build -type f -name "cardano-node") version

STEP 4 - Shut your node down, replace your old binaries with the new ones in your bin folder and start your node again
Stop the node
sudo systemctl stop cardano-node

Replace old binaries with the new ones
sudo cp $(find $HOME/git/cardano-node2/dist-newstyle/build -type f -name "cardano-cli") /usr/local/bin/cardano-cli
sudo cp $(find $HOME/git/cardano-node2/dist-newstyle/build -type f -name "cardano-node") /usr/local/bin/cardano-node

Double check the version
cardano-node version
cardano-cli version

Start your node again
sudo systemctl start cardano-node

Check the logs:
journalctl --unit=cardano-node --follow 

Now clean your mess
cd $HOME/git/
mv cardano-node cardano-node-old
mv cardano-node2 cardano-node

Enjoy


---

