Development and composer error

Trying to setup development server.
I am on the page Getting Started - LibreNMS Docs running composer install as librenms user:

-bash-4.2$ ./scripts/composer_wrapper.php install --no-dev

LibreNMS\ComposerHelper::preInstall
git checkout 609676a9f8d72da081c61f82967e1d16defc0c4e – /opt/librenms/vendor
git reset HEAD /opt/librenms/vendor
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.

Problem 1
- Root composer.json requires php ^7.1.3 but your php version (8.1.11) does not satisfy that requirement.
Problem 2
- doctrine/cache is locked to version v1.8.0 and an update of this package was not requested.
- doctrine/cache v1.8.0 requires php ~7.1 → your php version (8.1.11) does not satisfy that requirement.
Problem 3
- doctrine/dbal is locked to version v2.9.2 and an update of this package was not requested.
- doctrine/dbal v2.9.2 requires php ^7.1 → your php version (8.1.11) does not satisfy that requirement.
Problem 4
- doctrine/event-manager is locked to version v1.0.0 and an update of this package was not requested.
- doctrine/event-manager v1.0.0 requires php ^7.1 → your php version (8.1.11) does not satisfy that requirement.
Problem 5
- doctrine/inflector is locked to version v1.3.0 and an update of this package was not requested.
- doctrine/inflector v1.3.0 requires php ^7.1 → your php version (8.1.11) does not satisfy that requirement.
Problem 6
- dragonmantank/cron-expression is locked to version v2.3.0 and an update of this package was not requested.
- dragonmantank/cron-expression v2.3.0 requires php ^7.0 → your php version (8.1.11) does not satisfy that requirement.
Problem 7
- influxdb/influxdb-php is locked to version 1.15.0 and an update of this package was not requested.
- influxdb/influxdb-php 1.15.0 requires php ^5.5 || ^7.0 → your php version (8.1.11) does not satisfy that requirement.
Problem 8
- laravel/framework is locked to version v5.8.30 and an update of this package was not requested.
- laravel/framework v5.8.30 requires php ^7.1.3 → your php version (8.1.11) does not satisfy that requirement.
Problem 9
- laravel/laravel is locked to version v5.8.17 and an update of this package was not requested.
- laravel/laravel v5.8.17 requires php ^7.1.3 → your php version (8.1.11) does not satisfy that requirement.
Problem 10
- opis/closure is locked to version 3.3.1 and an update of this package was not requested.
- opis/closure 3.3.1 requires php ^5.4 || ^7.0 → your php version (8.1.11) does not satisfy that requirement.
Problem 11
- paragonie/random_compat is locked to version v9.99.99 and an update of this package was not requested.
- paragonie/random_compat v9.99.99 requires php ^7 → your php version (8.1.11) does not satisfy that requirement.
Problem 12
- ramsey/uuid is locked to version 3.8.0 and an update of this package was not requested.
- ramsey/uuid 3.8.0 requires php ^5.4 || ^7.0 → your php version (8.1.11) does not satisfy that requirement.
Problem 13
- spatie/laravel-cors is locked to version 1.3.3 and an update of this package was not requested.
- spatie/laravel-cors 1.3.3 requires php ^7.0 → your php version (8.1.11) does not satisfy that requirement.
Problem 14
- symfony/console is locked to version v4.3.3 and an update of this package was not requested.
- symfony/console v4.3.3 requires php ^7.1.3 → your php version (8.1.11) does not satisfy that requirement.
Problem 15
- symfony/css-selector is locked to version v4.3.3 and an update of this package was not requested.
- symfony/css-selector v4.3.3 requires php ^7.1.3 → your php version (8.1.11) does not satisfy that requirement.
Problem 16
- symfony/debug is locked to version v4.3.3 and an update of this package was not requested.
- symfony/debug v4.3.3 requires php ^7.1.3 → your php version (8.1.11) does not satisfy that requirement.
Problem 17
- symfony/event-dispatcher is locked to version v4.3.3 and an update of this package was not requested.
- symfony/event-dispatcher v4.3.3 requires php ^7.1.3 → your php version (8.1.11) does not satisfy that requirement.
Problem 18
- symfony/event-dispatcher-contracts is locked to version v1.1.5 and an update of this package was not requested.
- symfony/event-dispatcher-contracts v1.1.5 requires php ^7.1.3 → your php version (8.1.11) does not satisfy that requirement.
Problem 19
- symfony/finder is locked to version v4.3.3 and an update of this package was not requested.
- symfony/finder v4.3.3 requires php ^7.1.3 → your php version (8.1.11) does not satisfy that requirement.
Problem 20
- symfony/http-foundation is locked to version v4.3.3 and an update of this package was not requested.
- symfony/http-foundation v4.3.3 requires php ^7.1.3 → your php version (8.1.11) does not satisfy that requirement.
Problem 21
- symfony/http-kernel is locked to version v4.3.3 and an update of this package was not requested.
- symfony/http-kernel v4.3.3 requires php ^7.1.3 → your php version (8.1.11) does not satisfy that requirement.
Problem 22
- symfony/mime is locked to version v4.3.3 and an update of this package was not requested.
- symfony/mime v4.3.3 requires php ^7.1.3 → your php version (8.1.11) does not satisfy that requirement.
Problem 23
- symfony/process is locked to version v4.3.3 and an update of this package was not requested.
- symfony/process v4.3.3 requires php ^7.1.3 → your php version (8.1.11) does not satisfy that requirement.
Problem 24
- symfony/routing is locked to version v4.3.3 and an update of this package was not requested.
- symfony/routing v4.3.3 requires php ^7.1.3 → your php version (8.1.11) does not satisfy that requirement.
Problem 25
- symfony/service-contracts is locked to version v1.1.5 and an update of this package was not requested.
- symfony/service-contracts v1.1.5 requires php ^7.1.3 → your php version (8.1.11) does not satisfy that requirement.
Problem 26
- symfony/translation is locked to version v4.3.3 and an update of this package was not requested.
- symfony/translation v4.3.3 requires php ^7.1.3 → your php version (8.1.11) does not satisfy that requirement.
Problem 27
- symfony/translation-contracts is locked to version v1.1.5 and an update of this package was not requested.
- symfony/translation-contracts v1.1.5 requires php ^7.1.3 → your php version (8.1.11) does not satisfy that requirement.
Problem 28
- symfony/var-dumper is locked to version v4.3.3 and an update of this package was not requested.
- symfony/var-dumper v4.3.3 requires php ^7.1.3 → your php version (8.1.11) does not satisfy that requirement.
Problem 29
- symfony/yaml is locked to version v4.3.3 and an update of this package was not requested.
- symfony/yaml v4.3.3 requires php ^7.1.3 → your php version (8.1.11) does not satisfy that requirement.
Problem 30
- tijsverkoyen/css-to-inline-styles is locked to version 2.2.1 and an update of this package was not requested.
- tijsverkoyen/css-to-inline-styles 2.2.1 requires php ^5.5 || ^7.0 → your php version (8.1.11) does not satisfy that requirement.
Problem 31
- vlucas/phpdotenv is locked to version v3.4.0 and an update of this package was not requested.
- vlucas/phpdotenv v3.4.0 requires php ^5.4 || ^7.0 → your php version (8.1.11) does not satisfy that requirement.
Problem 32
- laravel/framework v5.8.30 requires php ^7.1.3 → your php version (8.1.11) does not satisfy that requirement.
- wpb/string-blade-compiler 3.8.x-dev requires laravel/framework 5.8.* → satisfiable by laravel/framework[v5.8.30].
- wpb/string-blade-compiler is locked to version 3.8.x-dev and an update of this package was not requested.

-bash-4.2$
-bash-4.2$ ./validate.php
PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /opt/librenms/includes/functions.php on line 1799

Fatal error: Array and string offset access syntax with curly braces is no longer supported in /opt/librenms/includes/functions.php on line 1799
-bash-4.2$

-bash-4.2$ ./validate.php
PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /opt/librenms/includes/functions.php on line 1799

Fatal error: Array and string offset access syntax with curly braces is no longer supported in /opt/librenms/includes/functions.php on line 1799

Composer update fails with the same errors.

Please advise.

You have checked out a very very old version of the code, so start by updating that

Thank you!
Worked after sync fork.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.