mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-06 00:22:42 -05:00
installer does not work on Fedora 42 #381
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cascer1 on GitHub (May 27, 2025).
Originally assigned to: @oschwartz10612 on GitHub.
In fedora 42, DNF 5 is the default DNF implementation.
This line:
b467d6afa1/install/main.go (L443)fails in the installer, because the command for adding repos has changed.
Instead, it should be
@oschwartz10612 commented on GitHub (May 29, 2025):
Thanks for bringing this up! I have made a change in
0cfc4d7dad. Would you be able to test the attached installer to see if it works?installer_linux.zip
@cascer1 commented on GitHub (May 30, 2025):
Thanks! I'll spin up a testing box later today and let you know.
@cascer1 commented on GitHub (May 30, 2025):
@oschwartz10612 I've tested the installer. It now successfully adds the repository and installs docker. The only thing I've noticed is that it fails in starting the service after install:
So I manually ran
systemctl enable --now dockerand then
docker compose up -dand then everything was working.
For completeness sake I also decided to test on a Fedora 41 box, and it ran into the same original issue with adding the repo. I looked up the docs and it looks like versions 41+ use DNF5, so that'll need to be changed in the fix for this.
https://fedoraproject.org/wiki/Changes/SwitchToDnf5
@oschwartz10612 commented on GitHub (May 30, 2025):
Thanks for testing! I did not have time to spin up a box so that is very helpful. Ill work on some fixes for these things.
@oschwartz10612 commented on GitHub (May 31, 2025):
I think I fixed the docker issue and v41 issue if you would be so kind as to test again that would be amazing!
d18200739aa62b2e8d10installer_linux.zip
@cascer1 commented on GitHub (Jun 1, 2025):
Thanks again! I'm not sure if I'll have time today but I'll definitely be able to test this tomorrow.
@cascer1 commented on GitHub (Jun 2, 2025):
I've tested on Fedora 40, 41, and 42 and it works everywhere now.
@Vertux commented on GitHub (Jun 5, 2025):
Does the installer have any command-line options for restarting the installation process? I don't want to set up the whole server because of this repository and docker issue. When I run the fixed installer version, it only asks for Crowdsec to be installed.
@oschwartz10612 The fixed Installer works without issues on Fedora 42, thank you.
@oschwartz10612 commented on GitHub (Jun 5, 2025):
Thanks @cascer1!
If you want to start from scratch you can delete or move the docker compose and config directory and do it again. We probably should add a restart and overwrite option or something...