user110313: I tried to upgrade bitcoin core from 0.18.0 to 0.20.0.
When I ask for the version through bitcoind bitcoind --version it prints Bitcoin Core version v0.20.0 but if I ask for the version through bitcoin-cli bitcoin-cli getnetworkinfo it prints "subversion": "/Satoshi:0.18.0/"
How is this possible that this is not the same?

user208: 
bitcoind --version is asking the bitcoind binary what its version is
bitcoin-cli getnetworkinfo asks the currently running bitcoind what its version is

So this means that you at some point had a 0.18.0 bitcoind, started it, then installed a 0.20.0 one, but the 0.18.0 one is still running.

110313: <p>I tried to upgrade bitcoin core from 0.18.0 to 0.20.0.</p>
<p>When I ask for the version through bitcoind <code>bitcoind --version</code> it prints <code>Bitcoin Core version v0.20.0</code> but if I ask for the version through bitcoin-cli <code>bitcoin-cli getnetworkinfo</code> it prints <code>&quot;subversion&quot;: &quot;/Satoshi:0.18.0/&quot;</code></p>
<p>How is this possible that this is not the same?</p>
 208: <ul>
<li><code>bitcoind --version</code> is asking the <code>bitcoind</code> binary what its version is</li>
<li><code>bitcoin-cli getnetworkinfo</code> asks the currently <em>running</em> <code>bitcoind</code> what its version is</li>
</ul>
<p>So this means that you at some point had a 0.18.0 <code>bitcoind</code>, started it, then installed a 0.20.0 one, but the 0.18.0 one is still running.</p>
