Hey everyone, I'm running into some trouble trying to update electrs. Currently on version 10.10 and wanna move up to 11.0. Getting this error message, I’ll share an image.
issues with electrs 11.0 upgrade
12 replies 125 views
gr3g.0rbitHero Member
Posts: 1025 · Reputation: 2646
#2Jun 8, 2017, 04:04 AM
You could've already told what the error message is saying.
For the image, upload it to talkimg.com, it's the unofficial image hosting website specifically designed for Bitcointalk.
Then share the link in your reply.
https://www.talkimg.com/images/2025/12/11/UTyvdW.png
humbleledgerLegendary
Posts: 1027 · Reputation: 6554
#4Jun 8, 2017, 02:24 PM
Quoting for image to show up:
paul.stakeHero Member
Posts: 651 · Reputation: 3798
#5Jun 10, 2017, 12:23 PM
The building probably fails because clang-sys can't find libclang:
If you're on Debian/Ubuntu, try installing clang/LLVM dev libs:
Re-build using:
Reply here if you're still having trouble.
https://www.talkimg.com/images/2025/12/12/UTLl2m.png
it did this to me, I did the cargo fix command and then it went to the end
https://www.talkimg.com/images/2025/12/12/UTc2rJ.png
from the second image you can see from the list that version 11.0 is working, but when it finished and I did the command electres --version, it tells me that the version is 10.10
paul.stakeHero Member
Posts: 651 · Reputation: 3798
#7Jun 12, 2017, 03:14 AM
Quoting images for visibility:
From what I'm seeing, it's compiling electrs v0.11 under /home/admin/rust. This suggests that electrs v0.10 is still installed somewhere in your system, and so when running electrs it reads the outdated version. Try running which electrs and see where your shell is actually running. It should point to something like ~/.cargo/bin/electrs or /usr/local/bin/electrs.
Then try running electrs --version from the repo you installed it.
gr3g.0rbitHero Member
Posts: 1025 · Reputation: 2646
#8Jun 12, 2017, 05:34 AM
Please tell the OS you're using and the command that you've used to compile Electrs.
You can use this sticky thread's sample format if you want: Tech Support Help Request Format
For those errors in the first screenshot, someone has posted an issue related to it: github.com/romanz/electrs/issues/1249
But I don't think it's related to your separate installed versions.
For now, read this documentation that explains the steps to properly update Electrs: github.com/romanz/electrs/blob/master/doc/upgrading.md#general-upgrading-guide
Remembering how you installed the old version is necessary.
How do you show the images like I do?
for now I'll do the same as yesterday, thanks
https://www.talkimg.com/images/2025/12/13/UT4x9H.png
in the image above is where electrs is positioned
https://www.talkimg.com/images/2025/12/13/UT5Xcd.png
in the image above the guide I followed to make my knot
Below is the link I followed to make the updates
https://raspibolt.org/guide/bitcoin/electrum-server.html#for-the-future-electrs-upgrade
I was on version 10.4 and wanted to upgrade directly to version 11.0, but it didn't work.
So I upgraded one at a time, following the guide, so 10.5, then 10.6, then 10.7, up to 10.10.
Then I wanted to upgrade to 11.0, but when I check the version, it doesn't work.
Quoted for visibility (reduced 2nd screenshot deliberately).
Have you installed your newly compiled electrs in /usr/local/bin and anything else that electrs needs in appropriate places?
Newbie ranked users don't display embedded images, even when they properly use [img]...[/img] image BBcode tags.
When higher ranked users cite your image tags, the embedded images are shown. This is all explained in forum docs for user ranks.
And please, stop posting consecutive posts just because you're ignorant of forum rule #32. See here for enlightment:
Unofficial list of (official) Bitcointalk.org rules, guidelines, FAQ
gr3g.0rbitHero Member
Posts: 1025 · Reputation: 2646
#11Jun 12, 2017, 01:22 PM
It's a good tutorial that's basically the same as the official documentation but more tailored for your OS.
Since it still returns with v10.10 and you haven't showed any more steps after your second reply,
I assume that you still haven't done the next steps in that tutorial after "compile the source code".
Skipping it will cause that issue where the old version is still in its original directory.
Hi, I redid all the steps and now it installed. I don't know why, I did the same things, so much the better.
Now I'm updating to the bitcoincore30 version. I hope I don't have any problems. Thanks everyone.
gr3g.0rbitHero Member
Posts: 1025 · Reputation: 2646
#13Jun 13, 2017, 10:23 PM
If you did all the steps this time, then it's definitely the one that I've mentioned above.
Because since the latest version is already cloned and compiled,
That next step; "Back up the old version and update" is the only step that when skipped or done incorrectly, can cause the two versions issue that you've experienced.
?Reply
Sign in to reply to this topic