issues with electrs 11.0 upgrade

12 replies 125 views
tony21Member
Posts: 9 · Reputation: 124
#1Jun 8, 2017, 01:00 AM
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.
6 Reply Quote Share
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.
4 Reply Quote Share
tony21Member
Posts: 9 · Reputation: 124
#3Jun 8, 2017, 08:04 AM
https://www.talkimg.com/images/2025/12/11/UTyvdW.png
2 Reply Quote Share
humbleledgerLegendary
Posts: 1027 · Reputation: 6554
#4Jun 8, 2017, 02:24 PM
Quoting for image to show up:
5 Reply Quote Share
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.
1 Reply Quote Share
tony21Member
Posts: 9 · Reputation: 124
#6Jun 10, 2017, 06:25 PM
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
1 Reply Quote Share
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.
4 Reply Quote Share
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.
2 Reply Quote Share
tony21Member
Posts: 9 · Reputation: 124
#9Jun 12, 2017, 08:19 AM
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.
0 Reply Quote Share
im_lynxHero Member
Posts: 515 · Reputation: 2161
#10Jun 12, 2017, 08:39 AM
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
1 Reply Quote Share
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.
3 Reply Quote Share
tony21Member
Posts: 9 · Reputation: 124
#12Jun 13, 2017, 05:27 PM
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.
4 Reply Quote Share
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.
0 Reply Quote Share
?Reply
Sign in to reply to this topic

Related topics