crowdsecurity / pfSense-pkg-crowdsec

58 stars 2 forks source link

Request: enhance documentation in regards to uninstall instructions (libre2.so.11 error) #79

Open remkolems opened 11 months ago

remkolems commented 11 months ago

Just updated to pfSense+ v23.09.1 with previously installed Crowdsec v0.0.4 (https://github.com/crowdsecurity/pfSense-pkg-crowdsec/releases/tag/v0.0.4).

Followed instructions at https://docs.crowdsec.net/docs/next/getting_started/install_crowdsec_pfsense/#uninstalling

These steps provided was not sufficient enough to install v0.1 successfully.

pfSense Status Logs error message: //etc/rc.packages: The command 'cscli machines delete pfsense 2>/dev/null' returned exit code '1', the output was 'ld-elf.so.1: Shared object "libre2.so.11" not found, required by "cscli"'

Removal of re2 and abseil is required, before any new (re-)install of Crowdsec v0.1, if Crowdsec was previously installed.

[23.09.1-RELEASE][xxx@pfsense]/root: pkg remove re2 abseil
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 2 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
        abseil: 20230125.3
        re2: 20230301

Number of packages to be removed: 2

The operation will free 9 MiB.

Proceed with deinstalling packages? [y/N]: y
[1/2] Deinstalling abseil-20230125.3...
[1/2] Deleting files for abseil-20230125.3: 100%
[2/2] Deinstalling re2-20230301...
[2/2] Deleting files for re2-20230301: 100%

Crowdsec v0.1 can now successfully be installed on pfSense+ v23.09.1

PS. Thank you so much for this highly anticipated package! 👍

mmetc commented 11 months ago

Good catch, I'll verify and clarify. Thanks!