Skip to content

make: remove old clnrest directory#8159

Merged
endothermicdev merged 1 commit intoElementsProject:masterfrom
daywalker90:clnrest-old-dir-rm
Apr 3, 2025
Merged

make: remove old clnrest directory#8159
endothermicdev merged 1 commit intoElementsProject:masterfrom
daywalker90:clnrest-old-dir-rm

Conversation

@daywalker90
Copy link
Collaborator

@daywalker90 daywalker90 commented Mar 12, 2025

Since clnrest is no longer a python plugin it's old directory was not removed by the existing code and leads to an error when running make install when upgrading to cln 25.02 from an older version that was previously installed.
Users had to see the error during make install and remove the directory themselves and run make install again to fix this. The PR hopefully takes care of that automatically.

Fixes #8141

Don't know if it fixes the nix issue mentioned

@rustyrussell rustyrussell added this to the v25.02.1 milestone Apr 2, 2025
@endothermicdev
Copy link
Collaborator

ACK 7940b56

Tested this on Ubuntu Jammy and it removes the installed clnrest directory from v24.11 at install time as advertised. If fetching from the same build directory as used for <=24.11, we still need a make clean to remove the plugins/clnrest dir. I think that's somewhat more acceptable, but maybe we should use this approach there as well.

@endothermicdev endothermicdev merged commit deae922 into ElementsProject:master Apr 3, 2025
40 checks passed
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

Successfully merging this pull request may close these issues.

install: cannot overwrite directory '/usr/local/libexec/c-lightning/plugins/clnrest' with non-directory 'plugins/clnrest'

3 participants