Giter Site home page Giter Site logo

Comments (19)

fiatjaf avatar fiatjaf commented on June 12, 2024

It is this same error that caused the Lightning Network to go in panic for some hours: lightningnetwork/lnd#7002

Please update to the latest trustedcoin release, it is fixed there.

from trustedcoin.

yilakb avatar yilakb commented on June 12, 2024

when trying to update i am getting ERROR 404: Not Found. to be specific this is what it looks like
sparko_linux_amd64.compat trustedcoin_linux_amd64
root@ubuntu-s-4vcpu-8gb-ams3-01:~/.lightning/plugins# wget https://github.com/fiatjaf/trustedcoin/releases/download/v 0.5.5/trustedcoin_linux_amd64
--2022-10-13 10:06:24-- https://github.com/fiatjaf/trustedcoin/releases/download/v0.5.5/trustedcoin_linux_amd64
Resolving github.com (github.com)... 140.82.121.4
Connecting to github.com (github.com)|140.82.121.4|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://github.com/nbd-wtf/trustedcoin/releases/download/v0.5.5/trustedcoin_linux_amd64 [following]
--2022-10-13 10:06:25-- https://github.com/nbd-wtf/trustedcoin/releases/download/v0.5.5/trustedcoin_linux_amd64
Reusing existing connection to github.com:443.
HTTP request sent, awaiting response... 404 Not Found
2022-10-13 10:06:25 ERROR 404: Not Found.

from trustedcoin.

yilakb avatar yilakb commented on June 12, 2024

Did you change the name fiatjaf to nbd-wtf is the command should be wget https://github.com/nbd-wtf/trustedcoin/releases/download/v 0.5.5/trustedcoin_linux_amd64

from trustedcoin.

CryptoDeity avatar CryptoDeity commented on June 12, 2024

from trustedcoin.

fiatjaf avatar fiatjaf commented on June 12, 2024

Oops, thank you. Changed now.

from trustedcoin.

CryptoDeity avatar CryptoDeity commented on June 12, 2024

Hey just got home, Seen you made the change on your page and I gave it a try. Unfortunately still seeing a 404 Not Found Error. I exit and restart terminal to recreate the issue and got the same thing. Strange it appears to be on your assets page, I tried the last version and am getting the same error. I will keep looking if there is something wrong on my end.

from trustedcoin.

fiatjaf avatar fiatjaf commented on June 12, 2024

Take the URL from here and use it: https://github.com/nbd-wtf/trustedcoin/releases/tag/v0.5.6

from trustedcoin.

CryptoDeity avatar CryptoDeity commented on June 12, 2024

Well my friend that definitely worked and then I received this message when starting lightningd
I have a Syntax error I have not seen this before perhaps you have?
I will do my research to resolve it unless you get back to me first. Cheers

ubuntu@lnbits:~/lnbits-legend$ lightningd
2022-10-15T05:07:35.685Z INFO plugin-manager: /usr/bin/../libexec/c-lightning/plugins/bcli: disabled via disable-plugin
/home/ubuntu/.lightning/plugins/v0.5.6: 9: Syntax error: newline unexpected
2022-10-15T05:07:35.785Z INFO plugin-v0.5.6: Killing plugin: exited before replying to getmanifest

from trustedcoin.

CryptoDeity avatar CryptoDeity commented on June 12, 2024

I tried again with a fresh terminal and received the same message with an added line

ubuntu@lnbits:~/lnbits-legend$ lightningd
2022-10-15T05:15:36.927Z INFO plugin-manager: /usr/bin/../libexec/c-lightning/plugins/bcli: disabled via disable-plugin
/home/ubuntu/.lightning/plugins/v0.5.6: 9: Syntax error: newline unexpected
2022-10-15T05:15:37.007Z INFO plugin-v0.5.6: Killing plugin: exited before replying to getmanifest
Could not access the plugin for getchaininfo, is a Bitcoin plugin (by default plugins/bcli) registered ?

from trustedcoin.

fiatjaf avatar fiatjaf commented on June 12, 2024

I think you have downloaded the wrong file.
Let me try to review this process again.

from trustedcoin.

fiatjaf avatar fiatjaf commented on June 12, 2024

So, the instructions at the README have been updated. If you follow those now it should work.

from trustedcoin.

CryptoDeity avatar CryptoDeity commented on June 12, 2024

from trustedcoin.

CryptoDeity avatar CryptoDeity commented on June 12, 2024

hello there, not to be a bother just trying to get this sorted on our end so our LNBits is working

So we used your new README and seen right away that the chmod command did not have a matching file name to the wget command. In a new VM not our existing one, We still used the wget command and retrieved the file, it was Red and Not White in colour in our 'plugins ls'

We then tried the chmod you have in README and got the error
chmod: cannot access 'trustedcoin_linux_amd64': No such file or directory

So we used the chmod command with the 'trustedcoin-v0.5.6-linux-arm64.tar.gz' file name and we turned the Red to Green in the 'plugins ls'

cd out and started lightningd with this error now showing up with 'Unterminated quoted string'

ubuntu@tap4sats:~$ lightningd
2022-10-15T18:11:52.891Z INFO plugin-manager: /usr/libexec/c-lightning/plugins/bcli: disabled via disable-plugin
/home/ubuntu/.lightning/plugins/trustedcoin-v0.5.6-linux-arm64.tar.gz: 1: : not found
/home/ubuntu/.lightning/plugins/trustedcoin-v0.5.6-linux-arm64.tar.gz: 1: Syntax error: Unterminated quoted string
2022-10-15T18:11:52.918Z INFO plugin-trustedcoin-v0.5.6-linux-arm64.tar.gz: Killing plugin: exited before replying to getmanifest
Could not access the plugin for getchaininfo, is a Bitcoin plugin (by default plugins/bcli) registered ?

I have time now that its the weekend to play with it more today. I am going to try using your past asset file names and see what happens.

from trustedcoin.

fiatjaf avatar fiatjaf commented on June 12, 2024

Sorry for wasting your time again. You had to untar the package downloaded. The instructions were missing one step.

If you follow that now it should work. This time I did test them.

Make sure to delete the previous trustedcoin binary you had.

from trustedcoin.

CryptoDeity avatar CryptoDeity commented on June 12, 2024

Well my friend, no luck on this end. tried from a brand new VM and everything works great right until we run lightningd. Here is the whole log for you to see. This time the error is
Syntax error: word unexpected (expecting ")")

here it is on our end, as you see I verified nothing was in the plugins ls as soon as I started

ubuntu@tap4sats:/.lightning/plugins$ ls
ubuntu@tap4sats:
/.lightning/plugins$ wget https://github.com/nbd-wtf/trustedcoin/releases/download/v0.5.6/trustedcoin-v0.5.6-linux-arm64.tar.gz
--2022-10-15 20:57:59-- https://github.com/nbd-wtf/trustedcoin/releases/download/v0.5.6/trustedcoin-v0.5.6-linux-arm64.tar.gz
Resolving github.com (github.com)... 140.82.114.3
Connecting to github.com (github.com)|140.82.114.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/286887571/3ce2ca60-d675-4eb3-a64f-26cdd65947e3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20221015%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221015T205759Z&X-Amz-Expires=300&X-Amz-Signature=28df1b5daf9758615aae389ad002c8367c46efb55ea88d4c0a213d33e153dad7&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=286887571&response-content-disposition=attachment%3B%20filename%3Dtrustedcoin-v0.5.6-linux-arm64.tar.gz&response-content-type=application%2Foctet-stream [following]
--2022-10-15 20:57:59-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/286887571/3ce2ca60-d675-4eb3-a64f-26cdd65947e3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20221015%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221015T205759Z&X-Amz-Expires=300&X-Amz-Signature=28df1b5daf9758615aae389ad002c8367c46efb55ea88d4c0a213d33e153dad7&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=286887571&response-content-disposition=attachment%3B%20filename%3Dtrustedcoin-v0.5.6-linux-arm64.tar.gz&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.109.133, 185.199.110.133, 185.199.111.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.109.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5224152 (5.0M) [application/octet-stream]
Saving to: ‘trustedcoin-v0.5.6-linux-arm64.tar.gz’

trustedcoin-v0.5.6- 100%[===================>] 4.98M --.-KB/s in 0.1s

2022-10-15 20:58:00 (40.3 MB/s) - ‘trustedcoin-v0.5.6-linux-arm64.tar.gz’ saved [5224152/5224152]

ubuntu@tap4sats:/.lightning/plugins$ ls trustedcoin-v0.5.6-linux-arm64.tar.gz
ubuntu@tap4sats:
/.lightning/plugins$ tar -xvf trustedcoin-v0.5.6-linux-arm64.tar.gz
trustedcoin
ubuntu@tap4sats:/.lightning/plugins$ ls
trustedcoin trustedcoin-v0.5.6-linux-arm64.tar.gz
ubuntu@tap4sats:
/.lightning/plugins$

ubuntu@tap4sats:$ lightningd
2022-10-15T21:16:02.624Z INFO plugin-manager: /usr/libexec/c-lightning/plugins/bcli: disabled via disable-plugin
/home/ubuntu/.lightning/plugins/trustedcoin: 1: Syntax error: word unexpected (expecting ")")
2022-10-15T21:16:02.701Z INFO plugin-trustedcoin: Killing plugin: exited before replying to getmanifest
Could not access the plugin for getchaininfo, is a Bitcoin plugin (by default plugins/bcli) registered ?
ubuntu@tap4sats:
$

from trustedcoin.

fiatjaf avatar fiatjaf commented on June 12, 2024

Please try again. I wrote arm64 instead of amd64. It will work now.

from trustedcoin.

CryptoDeity avatar CryptoDeity commented on June 12, 2024

I was going to ask about that when I seen 'arm' a few times on your assets page in your 'the releases page' my bad I should have asked when I first sere it a few days ago. There are a few on there with arm,

from trustedcoin.

fiatjaf avatar fiatjaf commented on June 12, 2024

The arm binaries are for Raspberry Pis.

from trustedcoin.

CryptoDeity avatar CryptoDeity commented on June 12, 2024

Oh I see, Well I just rtemoved what was in the plugins directory and changed those the wget and tar commands to amd64 and it looks like we are started and syncing. I will let you know if all goes good when it fully syncs, cheers and I thank you for your help. Much appreciated

from trustedcoin.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.