Download and execute the installation script issue

Hi @ben :wave:

I had a look at the installation script, it starts with set -euo pipefail. To be very short, it means “stop yourself as soon as an error occur.”

At the end you have the main function:

main(){
  init_config
  get_options "$@"
  validate_os 'centos'
  disclaimer
  interactive_prompter
  banner 'Installing os dependencies...'
  setup_yum
  install_packages "$(cat "$script_directory/conf/packages.txt")"
  mysql_setup
  install_gpg_extension
  setup_fpm
  setup_gpg_keyring
  passbolt_install
  setup_firewall
  setup_selinux
  setup_nginx
  setup_entropy
  cron_job
  installation_complete
}

As there is an error in the setup_firewall call, the script stops before configuring nginx, entropy and the cron job :confused:

You have 2 possible solutions:

  • enable and start firewalld service on your CentOS
  • or comment/remove the setup_firewall call in the script

This script is more an helper who handle the installation from sources for you. I will give your feedback to the team about this issue.

A RPM package will be available soon for RedHat and friends and will replace this script. You can vote for your preferred RPM distro here: Poll: Which Linux distribution of the Red Hat family should we support with a native package?

Regards,

1 Like