I am building a new LNMS instance from scratch on Ubuntu 22.0.4.3. When I get to the point of installing php dependencies, I receive the following error:
> LibreNMS\ComposerHelper::postInstall
Script LibreNMS\ComposerHelper::postInstall handling the post-install-cmd event terminated with an exception
In ECKey.php line 93:
openssl_pkey_new(): Private key length must be at least 384 bits, configured to 0
w/–vvv
Environment:
- Ubuntu 22.0.4.3 LTS (VMware if it matters)
- OpenSSL 3.0.2
- PHP 8.1.23
- Python 3.10.12
- MariaDB 10.6
To replicate:
- Install Ubuntu 22.04.3
- apt update/upgrade & reboot
- Follow lnms installation instructions to the point of installing PHP dependencies
- Run ./scripts/composer_wrapper.php install --no-dev
- Error
I’ve replicated the issue on Debian 12: PHP 8.2.10, OpenSSL 3.0.9, python3 3.11.2, mariadb 10.11.3-1
Any ideas?