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

Installing latest test version failing on 24.08 #96

Open
yuryk1 opened this issue Oct 2, 2024 · 4 comments
Open

Installing latest test version failing on 24.08 #96

yuryk1 opened this issue Oct 2, 2024 · 4 comments

Comments

@yuryk1
Copy link

yuryk1 commented Oct 2, 2024

Installation getting stuck on pfSense-pkg-crowdsec install. Tried script installation and manual - same issue.

Installing pfSense-pkg-crowdsec-0.1.4...
Newer FreeBSD version for package pfSense-pkg-crowdsec:
To ignore this error set IGNORE_OSVERSION=yes
- package: 1500023
- running kernel: 1500019
Ignore the mismatch and continue? [y/N]: y
package pfSense-pkg-crowdsec is already installed, forced install
Extracting pfSense-pkg-crowdsec-0.1.4: 100%
Saving updated package information...
overwrite!
Loading package configuration... done.
Configuring package components...
Loading package instructions...
Custom commands...
Executing custom_php_install_command()...done.
Executing custom_php_resync_config_command()..
@yuryk1
Copy link
Author

yuryk1 commented Oct 2, 2024

script works fine with release version (no version tag)

@mmetc
Copy link
Collaborator

mmetc commented Oct 2, 2024

thanks for testing!

Two questions

  • pfsense community on amd/intel, right?
  • new install or upgrade?

EDIT: it's clear from the message that the package was already installed, so I have my answer, and the version number is clearly from the plus edition.

To better reproduce the issue, it would be great if you could run "cscli support dump" and mail the resulting file to [email protected], so that I can have a look at the logs

@mmetc
Copy link
Collaborator

mmetc commented Oct 2, 2024

There was an issue in some cases with 1.6.2 when it came to stopping the service. I though the script would take care of that.

You can try to run the installer (with --release v1.0.4-1.6.3_1) again after manually terminating the process and its manager

# kill -9 `ps xw | grep crowdsec | grep -v grep | awk '{print $1'}`

@yuryk1
Copy link
Author

yuryk1 commented Oct 2, 2024

Thanks for a quick reply!
killing the process prior to installation worked:

service crowdsec enable

crowdsec enabled in /etc/rc.conf

service crowdsec start


Installing pfSense-pkg-crowdsec-0.1.4.pkg
Saving updated package information...
overwrite!
Loading package configuration... done.
Configuring package components...
Loading package instructions...
Custom commands...
Executing custom_php_install_command()...done.
Executing custom_php_resync_config_command()...done.
Menu items... done.
Services... done.
Writing configuration... done.

--------------

Installation complete.
You can configure and activate CrowdSec on you pfSense admin page (Package / Services: CrowdSec)

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

2 participants