Old Software versions prevent installation of Servers and Clients
I tried installing the PHP server and Web client from https://compdb.cbm.gsi.de and ran into severe issues due to outdated Software versions. Homebrew refused to install the necessary PHP-7, which seems to create a cascade of failures for the dependencies of the PHP server. Manually installing the dependencies via system packages enables the installation to start, but it fails while configuring the WebClient, with a large set of errors.
An installation using Docker also fails, partially because PHP-7 cannot be installed, but also due to a large number of errors.
Installation using System packages:
$ ./install.sh
/data/WebServer2 /data/WebServer2
Found vue project in CBMProductionDBPrototype.Webclient/
/data/WebServer2/CBMProductionDBPrototype.Webclient/gui/vue /data/WebServer2 /data/WebServer2
Compiling vue project
npm WARN old lockfile
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile
npm WARN old lockfile This is a one-time fix-up, please be patient...
npm WARN old lockfile
npm WARN deprecated request-promise-native@1.0.8: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.3: this library is no longer supported
npm WARN deprecated @hapi/topo@3.1.0: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/hoek@6.2.4: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated @hapi/address@2.0.0: Moved to 'npm install @sideway/address'
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated source-map-url@0.4.0: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
⸨#######⸨##################⸩ ⠧ reify:http-deceiver: http fetch GET 200 https://registry.npmjs.org/http-deceiver/-/http-deceiver-1.2.7.tgz 877788ms (canpm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated source-map-resolve@0.5.2: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated request@2.88.0: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated debug@3.2.6: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated html-webpack-plugin@3.2.0: 3.x is no longer supported
npm WARN deprecated debug@3.2.6: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated uuid@3.3.2: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated axios@0.19.2: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410
npm WARN deprecated buffer@4.9.1: This version of 'buffer' is out-of-date. You must update to v4.9.2 or newer
npm WARN deprecated @hapi/joi@15.0.3: Switch to 'npm install joi'
npm WARN deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
npm WARN deprecated highlight.js@9.18.1: Version no longer supported. Upgrade to @latest
npm WARN deprecated core-js@2.6.11: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
npm WARN deprecated core-js@2.6.11: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
npm WARN deprecated core-js@2.6.11: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
npm ERR! code 1
npm ERR! path /data/WebServer2/CBMProductionDBPrototype.Webclient/gui/vue/node_modules/node-sass
npm ERR! command failed
npm ERR! command sh -c node scripts/build.js
npm ERR! Building: /usr/bin/node /data/WebServer2/CBMProductionDBPrototype.Webclient/gui/vue/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
Installation using Docker:
# docker-compose up php
Building php
Sending build context to Docker daemon 692.2kB
Step 1/13 : ARG BASE_IMAGE_TAG_PREFIX=latest
Step 2/13 : ARG LARADOCK_PHP_VERSION=7.4
Step 3/13 : ARG BASE_IMAGE=laradock/workspace:${BASE_IMAGE_TAG_PREFIX}-${LARADOCK_PHP_VERSION}
Step 4/13 : FROM $BASE_IMAGE
---> f7a3975ccf9c
Step 5/13 : ARG LARADOCK_PHP_VERSION
---> Using cache
---> 52855224b107
Step 6/13 : ARG NODE_VERSION=11
---> Using cache
---> f87c3a852abd
Step 7/13 : ENV NODE_VERSION ${NODE_VERSION}
---> Using cache
---> 34571713d36d
Step 8/13 : ENV NVM_DIR /root/.nvm
---> Using cache
---> c0ad92be69ac
Step 9/13 : RUN apt-get update && apt-get install -y libldap2-dev php${LARADOCK_PHP_VERSION}-ldap php-redis libzip-dev zip unzip php${LARADOCK_PHP_VERSION}-zip nasm wget && mkdir -p $NVM_DIR && curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash && . $NVM_DIR/nvm.sh && nvm install ${NODE_VERSION} && nvm use ${NODE_VERSION} && nvm alias ${NODE_VERSION} && ln -s `npm bin --global` /root/.node-bin
---> Using cache
---> adc6df99124f
Step 10/13 : WORKDIR /tmp/caches
---> Using cache
---> c672b929c836
Step 11/13 : ADD composer* package* ./
---> Using cache
---> 8edca500a379
Step 12/13 : RUN composer install --no-plugins --no-scripts --no-autoloader --no-suggest && . $NVM_DIR/nvm.sh && npm install && rm -rf ./*
---> Running in 49146b032439
You are using the deprecated option "--no-suggest". It has no effect and will break in Composer 3.
Installing dependencies from lock file (including require-dev)
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.2) does not satisfy that requirement.
Problem 2
- adldap2/adldap2 is locked to version v10.0.10 and an update of this package was not requested.
- adldap2/adldap2 v10.0.10 requires ext-ldap * -> it is missing from your system. Install or enable PHP's ldap extension.
Problem 3
- 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.2) does not satisfy that requirement.
Problem 4
- erusev/parsedown is locked to version 1.7.1 and an update of this package was not requested.
- erusev/parsedown 1.7.1 requires ext-mbstring * -> it is missing from your system. Install or enable PHP's mbstring extension.
Problem 5
- laravel/framework is locked to version v5.8.4 and an update of this package was not requested.
- laravel/framework v5.8.4 requires ext-mbstring * -> it is missing from your system. Install or enable PHP's mbstring extension.
Problem 6
- opis/closure is locked to version 3.1.6 and an update of this package was not requested.
- opis/closure 3.1.6 requires php ^5.4 || ^7.0 -> your php version (8.1.2) does not satisfy that requirement.
Problem 7
- 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.2) does not satisfy that requirement.
Problem 8
- 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.2) does not satisfy that requirement.
Problem 9
- symfony/console is locked to version v4.2.4 and an update of this package was not requested.
- symfony/console v4.2.4 requires php ^7.1.3 -> your php version (8.1.2) does not satisfy that requirement.
Problem 10
- symfony/contracts is locked to version v1.0.2 and an update of this package was not requested.
- symfony/contracts v1.0.2 requires php ^7.1.3 -> your php version (8.1.2) does not satisfy that requirement.
Problem 11
- symfony/css-selector is locked to version v4.2.4 and an update of this package was not requested.
- symfony/css-selector v4.2.4 requires php ^7.1.3 -> your php version (8.1.2) does not satisfy that requirement.
Problem 12
- symfony/debug is locked to version v4.2.4 and an update of this package was not requested.
- symfony/debug v4.2.4 requires php ^7.1.3 -> your php version (8.1.2) does not satisfy that requirement.
Problem 13
- symfony/event-dispatcher is locked to version v4.2.4 and an update of this package was not requested.
- symfony/event-dispatcher v4.2.4 requires php ^7.1.3 -> your php version (8.1.2) does not satisfy that requirement.
Problem 14
- symfony/finder is locked to version v4.2.4 and an update of this package was not requested.
- symfony/finder v4.2.4 requires php ^7.1.3 -> your php version (8.1.2) does not satisfy that requirement.
Problem 15
- symfony/http-foundation is locked to version v4.2.4 and an update of this package was not requested.
- symfony/http-foundation v4.2.4 requires php ^7.1.3 -> your php version (8.1.2) does not satisfy that requirement.
Problem 16
- symfony/http-kernel is locked to version v4.2.4 and an update of this package was not requested.
- symfony/http-kernel v4.2.4 requires php ^7.1.3 -> your php version (8.1.2) does not satisfy that requirement.
Problem 17
- symfony/process is locked to version v4.2.4 and an update of this package was not requested.
- symfony/process v4.2.4 requires php ^7.1.3 -> your php version (8.1.2) does not satisfy that requirement.
Problem 18
- symfony/routing is locked to version v4.2.4 and an update of this package was not requested.
- symfony/routing v4.2.4 requires php ^7.1.3 -> your php version (8.1.2) does not satisfy that requirement.
Problem 19
- symfony/translation is locked to version v4.2.4 and an update of this package was not requested.
- symfony/translation v4.2.4 requires php ^7.1.3 -> your php version (8.1.2) does not satisfy that requirement.
Problem 20
- symfony/var-dumper is locked to version v4.2.8 and an update of this package was not requested.
- symfony/var-dumper v4.2.8 requires php ^7.1.3 -> your php version (8.1.2) does not satisfy that requirement.
Problem 21
- tightenco/collect is locked to version v5.8.16 and an update of this package was not requested.
- tightenco/collect v5.8.16 requires php ^7.1.3 -> your php version (8.1.2) does not satisfy that requirement.
Problem 22
- 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.2) does not satisfy that requirement.
Problem 23
- vlucas/phpdotenv is locked to version v3.3.3 and an update of this package was not requested.
- vlucas/phpdotenv v3.3.3 requires php ^5.4 || ^7.0 -> your php version (8.1.2) does not satisfy that requirement.
Problem 24
- beyondcode/laravel-dump-server is locked to version 1.2.2 and an update of this package was not requested.
- beyondcode/laravel-dump-server 1.2.2 requires php ^7.1 -> your php version (8.1.2) does not satisfy that requirement.
Problem 25
- doctrine/instantiator is locked to version 1.1.0 and an update of this package was not requested.
- doctrine/instantiator 1.1.0 requires php ^7.1 -> your php version (8.1.2) does not satisfy that requirement.
Problem 26
- filp/whoops is locked to version 2.3.1 and an update of this package was not requested.
- filp/whoops 2.3.1 requires php ^5.5.9 || ^7.0 -> your php version (8.1.2) does not satisfy that requirement.
Problem 27
- fzaninotto/faker is locked to version v1.8.0 and an update of this package was not requested.
- fzaninotto/faker v1.8.0 requires php ^5.3.3 || ^7.0 -> your php version (8.1.2) does not satisfy that requirement.
Problem 28
- hamcrest/hamcrest-php is locked to version v2.0.0 and an update of this package was not requested.
- hamcrest/hamcrest-php v2.0.0 requires php ^5.3|^7.0 -> your php version (8.1.2) does not satisfy that requirement.
Problem 29
- myclabs/deep-copy is locked to version 1.8.1 and an update of this package was not requested.
- myclabs/deep-copy 1.8.1 requires php ^7.1 -> your php version (8.1.2) does not satisfy that requirement.
Problem 30
- nunomaduro/collision is locked to version v3.0.1 and an update of this package was not requested.
- nunomaduro/collision v3.0.1 requires php ^7.1 -> your php version (8.1.2) does not satisfy that requirement.
Problem 31
- phar-io/manifest is locked to version 1.0.3 and an update of this package was not requested.
- phar-io/manifest 1.0.3 requires ext-dom * -> it is missing from your system. Install or enable PHP's dom extension.
Problem 32
- phar-io/version is locked to version 2.0.1 and an update of this package was not requested.
- phar-io/version 2.0.1 requires php ^5.6 || ^7.0 -> your php version (8.1.2) does not satisfy that requirement.
Problem 33
- phpdocumentor/reflection-docblock is locked to version 4.3.0 and an update of this package was not requested.
- phpdocumentor/reflection-docblock 4.3.0 requires php ^7.0 -> your php version (8.1.2) does not satisfy that requirement.
Problem 34
- phpdocumentor/type-resolver is locked to version 0.4.0 and an update of this package was not requested.
- phpdocumentor/type-resolver 0.4.0 requires php ^5.5 || ^7.0 -> your php version (8.1.2) does not satisfy that requirement.
Problem 35
- phpspec/prophecy is locked to version 1.8.0 and an update of this package was not requested.
- phpspec/prophecy 1.8.0 requires php ^5.3|^7.0 -> your php version (8.1.2) does not satisfy that requirement.
Problem 36
- phpunit/php-code-coverage is locked to version 6.1.4 and an update of this package was not requested.
- phpunit/php-code-coverage 6.1.4 requires ext-dom * -> it is missing from your system. Install or enable PHP's dom extension.
Problem 37
- phpunit/php-file-iterator is locked to version 2.0.2 and an update of this package was not requested.
- phpunit/php-file-iterator 2.0.2 requires php ^7.1 -> your php version (8.1.2) does not satisfy that requirement.
Problem 38
- phpunit/php-timer is locked to version 2.1.1 and an update of this package was not requested.
- phpunit/php-timer 2.1.1 requires php ^7.1 -> your php version (8.1.2) does not satisfy that requirement.
Problem 39
- phpunit/php-token-stream is locked to version 3.0.1 and an update of this package was not requested.
- phpunit/php-token-stream 3.0.1 requires php ^7.1 -> your php version (8.1.2) does not satisfy that requirement.
Problem 40
- phpunit/phpunit is locked to version 7.5.6 and an update of this package was not requested.
- phpunit/phpunit 7.5.6 requires ext-dom * -> it is missing from your system. Install or enable PHP's dom extension.
Problem 41
- sebastian/code-unit-reverse-lookup is locked to version 1.0.1 and an update of this package was not requested.
- sebastian/code-unit-reverse-lookup 1.0.1 requires php ^5.6 || ^7.0 -> your php version (8.1.2) does not satisfy that requirement.
Problem 42
- sebastian/comparator is locked to version 3.0.2 and an update of this package was not requested.
- sebastian/comparator 3.0.2 requires php ^7.1 -> your php version (8.1.2) does not satisfy that requirement.
Problem 43
- sebastian/diff is locked to version 3.0.2 and an update of this package was not requested.
- sebastian/diff 3.0.2 requires php ^7.1 -> your php version (8.1.2) does not satisfy that requirement.
Problem 44
- sebastian/environment is locked to version 4.1.0 and an update of this package was not requested.
- sebastian/environment 4.1.0 requires php ^7.1 -> your php version (8.1.2) does not satisfy that requirement.
Problem 45
- sebastian/exporter is locked to version 3.1.0 and an update of this package was not requested.
- sebastian/exporter 3.1.0 requires php ^7.0 -> your php version (8.1.2) does not satisfy that requirement.
Problem 46
- sebastian/global-state is locked to version 2.0.0 and an update of this package was not requested.
- sebastian/global-state 2.0.0 requires php ^7.0 -> your php version (8.1.2) does not satisfy that requirement.
Problem 47
- sebastian/object-enumerator is locked to version 3.0.3 and an update of this package was not requested.
- sebastian/object-enumerator 3.0.3 requires php ^7.0 -> your php version (8.1.2) does not satisfy that requirement.
Problem 48
- sebastian/object-reflector is locked to version 1.1.1 and an update of this package was not requested.
- sebastian/object-reflector 1.1.1 requires php ^7.0 -> your php version (8.1.2) does not satisfy that requirement.
Problem 49
- sebastian/recursion-context is locked to version 3.0.0 and an update of this package was not requested.
- sebastian/recursion-context 3.0.0 requires php ^7.0 -> your php version (8.1.2) does not satisfy that requirement.
Problem 50
- sebastian/resource-operations is locked to version 2.0.1 and an update of this package was not requested.
- sebastian/resource-operations 2.0.1 requires php ^7.1 -> your php version (8.1.2) does not satisfy that requirement.
Problem 51
- theseer/tokenizer is locked to version 1.1.0 and an update of this package was not requested.
- theseer/tokenizer 1.1.0 requires ext-dom * -> it is missing from your system. Install or enable PHP's dom extension.
Problem 52
- webmozart/assert is locked to version 1.4.0 and an update of this package was not requested.
- webmozart/assert 1.4.0 requires php ^5.3.3 || ^7.0 -> your php version (8.1.2) does not satisfy that requirement.
Problem 53
- adldap2/adldap2 v10.0.10 requires ext-ldap * -> it is missing from your system. Install or enable PHP's ldap extension.
- adldap2/adldap2-laravel v6.0.5 requires adldap2/adldap2 ^10.0 -> satisfiable by adldap2/adldap2[v10.0.10].
- adldap2/adldap2-laravel is locked to version v6.0.5 and an update of this package was not requested.
To enable extensions, verify that they are enabled in your .ini files:
- /etc/php/8.1/cli/php.ini
- /etc/php/8.1/cli/conf.d/10-opcache.ini
- /etc/php/8.1/cli/conf.d/10-pdo.ini
- /etc/php/8.1/cli/conf.d/20-calendar.ini
- /etc/php/8.1/cli/conf.d/20-ctype.ini
- /etc/php/8.1/cli/conf.d/20-exif.ini
- /etc/php/8.1/cli/conf.d/20-ffi.ini
- /etc/php/8.1/cli/conf.d/20-fileinfo.ini
- /etc/php/8.1/cli/conf.d/20-ftp.ini
- /etc/php/8.1/cli/conf.d/20-gettext.ini
- /etc/php/8.1/cli/conf.d/20-iconv.ini
- /etc/php/8.1/cli/conf.d/20-igbinary.ini
- /etc/php/8.1/cli/conf.d/20-phar.ini
- /etc/php/8.1/cli/conf.d/20-posix.ini
- /etc/php/8.1/cli/conf.d/20-readline.ini
- /etc/php/8.1/cli/conf.d/20-redis.ini
- /etc/php/8.1/cli/conf.d/20-shmop.ini
- /etc/php/8.1/cli/conf.d/20-sockets.ini
- /etc/php/8.1/cli/conf.d/20-sysvmsg.ini
- /etc/php/8.1/cli/conf.d/20-sysvsem.ini
- /etc/php/8.1/cli/conf.d/20-sysvshm.ini
- /etc/php/8.1/cli/conf.d/20-tokenizer.ini
You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with `--ignore-platform-req=ext-ldap --ignore-platform-req=ext-mbstring --ignore-platform-req=ext-mbstring --ignore-platform-req=ext-dom --ignore-platform-req=ext-dom --ignore-platform-req=ext-dom --ignore-platform-req=ext-dom --ignore-platform-req=ext-ldap` to temporarily ignore these required extensions.
The command '/bin/sh -c composer install --no-plugins --no-scripts --no-autoloader --no-suggest && . $NVM_DIR/nvm.sh && npm install && rm -rf ./*' returned a non-zero code: 2
ERROR: Service 'php' failed to build : Build failed