Closed CryptoDeity closed 2 years ago
It is this same error that caused the Lightning Network to go in panic for some hours: https://github.com/lightningnetwork/lnd/issues/7002
Please update to the latest trustedcoin release, it is fixed there.
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.
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
Ahhh I was getting the same error but I did not confirm that there was the name change. I was sure I copied and pasted it but perhaps not. I will try to update again.
On Thu., Oct. 13, 2022, 4:24 a.m. Yilak, @.***> wrote:
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
— Reply to this email directly, view it on GitHub https://github.com/nbd-wtf/trustedcoin/issues/14#issuecomment-1277383654, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO3CKYF3UHRU2VQ3JNISPJLWC7PL7ANCNFSM6AAAAAARC2NZMI . You are receiving this because you authored the thread.Message ID: @.***>
Oops, thank you. Changed now.
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.
Take the URL from here and use it: https://github.com/nbd-wtf/trustedcoin/releases/tag/v0.5.6
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
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 ?
I think you have downloaded the wrong file. Let me try to review this process again.
So, the instructions at the README have been updated. If you follow those now it should work.
Sounds good I will try it this morning. I did end up trying a brand new VM last night and got the same result. Let's try this one. Cheers
On Sat., Oct. 15, 2022, 3:57 a.m. fiatjaf, @.***> wrote:
So, the instructions at the README have been updated. If you follow those now it should work.
— Reply to this email directly, view it on GitHub https://github.com/nbd-wtf/trustedcoin/issues/14#issuecomment-1279709520, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO3CKYDQXXABSOQ6XIS4BO3WDJ5XFANCNFSM6AAAAAARC2NZMI . You are receiving this because you authored the thread.Message ID: @.***>
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.
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.
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:~$
Please try again. I wrote arm64
instead of amd64
. It will work now.
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,
The arm
binaries are for Raspberry Pis.
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
Hello all, thanks for the plugin we have been using it with our LNBits server for months now. Just recently it keeps on shutting down on us. We went into our terminal again to start lightningd again and we now see this error as it tries to return blocks
plugin-trustedcoin getblock error: readScript: script witness item is larger than the max allowed size [count 33970, max 11000]
any thoughts to help out would be much appreciated