Skip to content
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

Issue with backup.py after upgrading 0.12.0 to 0.12.1 #5638

Closed
hMsats opened this issue Sep 27, 2022 · 6 comments
Closed

Issue with backup.py after upgrading 0.12.0 to 0.12.1 #5638

hMsats opened this issue Sep 27, 2022 · 6 comments

Comments

@hMsats
Copy link
Contributor

hMsats commented Sep 27, 2022

I was running backup.py already with version 0.12.0 without problems (Ubuntu 20.04.5 LTS). After upgrading to 0.12.1, I got this output from lightningd:

2022-09-27T04:18:59.524Z **BROKEN** plugin-backup.py: root        : Exception while initializing backup plugin
2022-09-27T04:18:59.524Z **BROKEN** plugin-backup.py: Traceback (most recent call last):
2022-09-27T04:18:59.524Z **BROKEN** plugin-backup.py:   File \"/home/user/plugins/backup/backup.py\", line 141, in <module>
2022-09-27T04:18:59.524Z **BROKEN** plugin-backup.py:     plugin.run()
2022-09-27T04:18:59.524Z **BROKEN** plugin-backup.py:   File \"/home/user/.local/lib/python3.8/site-packages/pyln/client/plugin.py\", line 845, in run
2022-09-27T04:18:59.524Z **BROKEN** plugin-backup.py:     partial = self._multi_dispatch(msgs)
2022-09-27T04:18:59.524Z **BROKEN** plugin-backup.py:   File \"/home/user/.local/lib/python3.8/site-packages/pyln/client/plugin.py\", line 725, in _multi_dispatch
2022-09-27T04:18:59.524Z **BROKEN** plugin-backup.py:     request = self._parse_request(json.loads(payload.decode('utf8')))
2022-09-27T04:18:59.524Z **BROKEN** plugin-backup.py:   File \"/home/user/.local/lib/python3.8/site-packages/pyln/client/plugin.py\", line 705, in _parse_request
2022-09-27T04:18:59.524Z **BROKEN** plugin-backup.py:     raise ValueError('Non-integer request id \"{i}\"'.format(i=i))
2022-09-27T04:18:59.524Z **BROKEN** plugin-backup.py: ValueError: Non-integer request id \"cln:getmanifest#13\"
2022-09-27T04:18:59.524Z INFO    plugin-backup.py: Exception while initializing backup plugin
2022-09-27T04:18:59.524Z INFO    plugin-backup.py: Traceback (most recent call last):
2022-09-27T04:18:59.524Z INFO    plugin-backup.py:   File \"/home/user/plugins/backup/backup.py\", line 141, in <module>
2022-09-27T04:18:59.524Z INFO    plugin-backup.py:     plugin.run()
2022-09-27T04:18:59.524Z INFO    plugin-backup.py:   File \"/home/user/.local/lib/python3.8/site-packages/pyln/client/plugin.py\", line 845, in run
2022-09-27T04:18:59.524Z INFO    plugin-backup.py:     partial = self._multi_dispatch(msgs)
2022-09-27T04:18:59.524Z INFO    plugin-backup.py:   File \"/home/user/.local/lib/python3.8/site-packages/pyln/client/plugin.py\", line 725, in _multi_dispatch
2022-09-27T04:18:59.524Z INFO    plugin-backup.py:     request = self._parse_request(json.loads(payload.decode('utf8')))
2022-09-27T04:18:59.524Z INFO    plugin-backup.py:   File \"/home/user/.local/lib/python3.8/site-packages/pyln/client/plugin.py\", line 705, in _parse_request
2022-09-27T04:18:59.524Z INFO    plugin-backup.py:     raise ValueError('Non-integer request id \"{i}\"'.format(i=i))
2022-09-27T04:18:59.524Z INFO    plugin-backup.py: ValueError: Non-integer request id \"cln:getmanifest#13\"
2022-09-27T04:18:59.524Z INFO    plugin-backup.py: Exception while initializing plugin, terminating lightningd

After returning to 0.12.0 all was fine again.

@BTCBellyButton
Copy link

I can't even start the v0.12.1... :(

lightningd -V
lightningd: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by lightningd)
lightningd: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by lightningd)
/usr/bin/lightning-cli -V
/usr/bin/lightning-cli: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /usr/bin/lightning-cli)
/usr/bin/lightning-cli: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /usr/bin/lightning-cli)

@hMsats
Copy link
Contributor Author

hMsats commented Sep 28, 2022

@BTCBellyButton I haven't tried to start v0.12.1 without the backup plugin after I got the above error, so I don't know if it would run without the backup plugin.

@BTCBellyButton
Copy link

Yeah, I wouldn't try. Just make sure the backup plugin is actually working properly with the 0.12.0.
I am also having troubIes with the rebalance.py, drain.py plugins. They stopped working with the new v0.12.0 release and I can't figure out why...

@rustyrussell
Copy link
Contributor

This error looks like you're running master, not 0.12.1?

@hMsats
Copy link
Contributor Author

hMsats commented Oct 9, 2022

Indeed I was running master, didn't think that would make a difference. I will retry with 0.12.1

@hMsats
Copy link
Contributor Author

hMsats commented Oct 10, 2022

Actually I'll wait for version 0.13 and close the issue for now.

@hMsats hMsats closed this as completed Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants