-
Notifications
You must be signed in to change notification settings - Fork 912
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v0.12.0 does not start after updating from v0.11.1 #5551
Comments
What did you see in the logs? and also if you have no logs what happens if you start |
After trying to start it from the command line:
Bitcoind is running:
LOG
|
looks like that cln is not able to contact the bitcoin backend, from the log But also it looks like you have some python plugin? from the following exception
ModuleNotFoundError: No module named 'pyln' BTW, your bitcoin core is running :/ and can you hare your cln conf too? |
Remember, the version v0.11.1 has been running for awhile and I was able to easily roll back to it from the v0.12.0. The two plugins are from here https://github.com/lightningd/plugins/tree/master/drain and here https://github.com/lightningd/plugins/tree/master/rebalance and they seems to not affect v0.11.1. Bitcoin is running and this is the cln config:
|
Where is your bitcoin configuration? |
Default. Almost...
|
Easiest way to verify that
If you don't get a |
Guys, sorry but the problem is ONLY with the new release. I'v been running this ln node for more than a year. The bitcoin node is even older...BTCPayServer is installed on this machine as well working like a charm... CLN 0.11.1 works fine BUT when I updated it to 0.12.0 it stopped working so I had to roll back. Running now:
And using the cookie:
|
Rollback? That should not be possible since there were DB updates inbetween if I'm not mistaken. |
Because 0.12.0 was never able to even start:
|
Yes |
The question is: After that, why when I replace back the 0.12.0 files in /usr with the 0.11.1, and without touching anything else, does CLN start and works normally? Nothing else changed. |
Any idea? |
Well I manage to isolate the bug. Until v0.11.1, CLN was ABLE to start loading c-lightning-REST as specified in the config file:
AND after that, it loaded the plugins from the .lightning/plugins sub-directories with no problems. With the latest v0.12.0 apparently, loading the plugins from the .lightning/plugins sub-directories does not work anymore:
I renamed the .lightning/plugins directory as lightning/plugins.bak and CLN 0.12.0 finally starts!
So something changed in the plugins management generating the problem I had. Question now is, how am I supposed to load the rebalance.py plugin (the one I really need...)?
Apparently the plugins directory method doesn't work anymore starting with this release? |
Ok so it sounds like one of your plugins is failing to start, and taking the node down with it. We changed the msats APIs recently, which caused problems for a number of plugins. You can try adding plugins back in one by one, until you isolate the one that's causing the node to fail to start. That'd be useful for figuring out exactly where the problem is. |
@niftynei , the plugin WORKS if started from within the
It doesn't if I use the "directory method" like I used before the v0.12.0... |
Well after managing to start the version 0.12.0 none of the plugin I used to use is working anymore... For example:
or
Log for rebalance.py failure:
Any idea? |
Did you try to update your plugins? |
First thing I checked, cause it happened to me in the past that I was using an outdated plugin. They are up to date. |
Issue and Steps to Reproduce
After updating like this
from v0.11.1 to v0.12.0 (with clightning-v0.12.0-Ubuntu-20.04.tar.xz), when I restart the daemon the following is the status:
Rolled back to the v0.11.1 and it works again:
getinfo
outputThe text was updated successfully, but these errors were encountered: