Open cTurtle98 opened 1 year ago
it looks like php is missing extensions (or they are there but composer update was not run)
some packages require php < 8.2 but php 8.2.0 is installed, violating that
maybe new versions of
is required
thats what I got from the error but I could be missing something
https://github.com/wiggels/ansible-role-snipe-it/blob/main/tasks/snipeit.yml#L57-L62
update line 58 to
ansible.builtin.shell: "export COMPOSER_ALLOW_SUPERUSER=1; php composer.phar update; php composer.phar install --no-dev --prefer-source"
maybe?
root@k0cdf-srv1-snipeit:/opt/snipe-it# export COMPOSER_ALLOW_SUPERUSER=1; php composer.phar update
Composer is operating significantly slower than normal because you do not have the PHP curl extension enabled.
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires PHP extension ext-curl * but it is missing from your system. Install or enable PHP's curl extension.
Problem 2
- Root composer.json requires spatie/laravel-backup ^6.16 -> satisfiable by spatie/laravel-backup[6.16.0, ..., 6.16.5].
- spatie/laravel-backup[6.16.0, ..., 6.16.5] require ext-zip ^1.14.0 -> it is missing from your system. Install or enable PHP's zip extension.
Problem 3
- phpoffice/phpspreadsheet[1.15.0, ..., 1.26.0] require ext-gd * -> it is missing from your system. Install or enable PHP's gd extension.
- maatwebsite/excel[3.1.0, ..., 3.1.25] require php ^7.0 -> your php version (8.2.0) does not satisfy that requirement.
- mediconesystems/livewire-datatables[v0.5.0, ..., v0.5.4] require maatwebsite/excel ^3.1 -> satisfiable by maatwebsite/excel[3.1.0, ..., 3.1.45].
- maatwebsite/excel[3.1.28, ..., 3.1.30] require phpoffice/phpspreadsheet 1.16.* -> satisfiable by phpoffice/phpspreadsheet[1.16.0].
- maatwebsite/excel[3.1.31, ..., 3.1.45] require phpoffice/phpspreadsheet ^1.18 -> satisfiable by phpoffice/phpspreadsheet[1.18.0, ..., 1.26.0].
- maatwebsite/excel 3.1.27 requires phpoffice/phpspreadsheet ^1.16 -> satisfiable by phpoffice/phpspreadsheet[1.16.0, ..., 1.26.0].
- maatwebsite/excel 3.1.26 requires phpoffice/phpspreadsheet ^1.15 -> satisfiable by phpoffice/phpspreadsheet[1.15.0, ..., 1.26.0].
- Root composer.json requires mediconesystems/livewire-datatables ^0.5.0 -> satisfiable by mediconesystems/livewire-datatables[v0.5.0, ..., v0.5.4].
To enable extensions, verify that they are enabled in your .ini files:
- /etc/php/8.2/cli/php.ini
- /etc/php/8.2/cli/conf.d/10-opcache.ini
- /etc/php/8.2/cli/conf.d/10-pdo.ini
- /etc/php/8.2/cli/conf.d/15-xml.ini
- /etc/php/8.2/cli/conf.d/20-calendar.ini
- /etc/php/8.2/cli/conf.d/20-ctype.ini
- /etc/php/8.2/cli/conf.d/20-dom.ini
- /etc/php/8.2/cli/conf.d/20-exif.ini
- /etc/php/8.2/cli/conf.d/20-ffi.ini
- /etc/php/8.2/cli/conf.d/20-fileinfo.ini
- /etc/php/8.2/cli/conf.d/20-ftp.ini
- /etc/php/8.2/cli/conf.d/20-gettext.ini
- /etc/php/8.2/cli/conf.d/20-iconv.ini
- /etc/php/8.2/cli/conf.d/20-phar.ini
- /etc/php/8.2/cli/conf.d/20-posix.ini
- /etc/php/8.2/cli/conf.d/20-readline.ini
- /etc/php/8.2/cli/conf.d/20-shmop.ini
- /etc/php/8.2/cli/conf.d/20-simplexml.ini
- /etc/php/8.2/cli/conf.d/20-sockets.ini
- /etc/php/8.2/cli/conf.d/20-sysvmsg.ini
- /etc/php/8.2/cli/conf.d/20-sysvsem.ini
- /etc/php/8.2/cli/conf.d/20-sysvshm.ini
- /etc/php/8.2/cli/conf.d/20-tokenizer.ini
- /etc/php/8.2/cli/conf.d/20-xmlreader.ini
- /etc/php/8.2/cli/conf.d/20-xmlwriter.ini
- /etc/php/8.2/cli/conf.d/20-xsl.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-curl --ignore-platform-req=ext-zip --ignore-platform-req=ext-gd` to temporarily ignore these required extensions.
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
root@k0cdf-srv1-snipeit:/opt/snipe-it#
i logged in and manually ran my suggestion above and got this
The PHP deps should be installed with https://github.com/wiggels/ansible-role-snipe-it/blob/main/tasks/install_packages.yml. I will have to take a look tomorrow and troubleshoot it with the specific image you are using--there may be a config missing. I have tested in 20.04 and 22.04 VMs, but not containers.
if you have access to a proxmox hypervisor install... I am using the proxmox ubuntu 22.04 LXC template as my base
it seems that its missing a lot of stuff thats included in ubuntu-server by default
thank you so much for your help
TASK [wiggels.snipeit : Install php 8.1] *************************************************************************************************************************
ok: [k0cdf-srv1-snipeit]
so your ansible is trying to install php 8.1 and then the php compose is running with php 8.2 for some reason
yeah this works
root@k0cdf-srv1-snipeit:/opt/snipe-it# export COMPOSER_ALLOW_SUPERUSER=1; php8.1 composer.phar update
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
Updating dependencies
Lock file operations: 1 install, 92 updates, 1 removal
- Removing symfony/polyfill-php81 (v1.26.0)
- Upgrading aws/aws-sdk-php (3.231.12 => 3.255.7)
- Upgrading bacon/bacon-qr-code (2.0.7 => 2.0.8)
- Upgrading brick/math (0.9.3 => 0.10.2)
- Locking composer/semver (3.3.2)
- Upgrading dflydev/dot-access-data (v3.0.1 => v3.0.2)
- Upgrading doctrine/annotations (1.13.3 => 1.14.2)
- Upgrading doctrine/collections (1.6.8 => 1.8.0)
- Upgrading doctrine/dbal (3.3.7 => 3.5.2)
- Upgrading doctrine/event-manager (1.1.1 => 1.2.0)
- Upgrading doctrine/instantiator (1.4.1 => 1.5.0)
- Upgrading dompdf/dompdf (v2.0.0 => v2.0.1)
- Upgrading dragonmantank/cron-expression (v3.3.1 => v3.3.2)
- Upgrading ezyang/htmlpurifier (v4.14.0 => v4.16.0)
- Upgrading facade/flare-client-php (1.9.1 => 1.10.0)
- Upgrading fakerphp/faker (v1.20.0 => v1.21.0)
- Upgrading filp/whoops (2.14.5 => 2.14.6)
- Upgrading firebase/php-jwt (v6.3.0 => v6.3.2)
- Upgrading graham-campbell/result-type (v1.0.4 => v1.1.0)
- Upgrading guzzlehttp/guzzle (7.4.5 => 7.5.0)
- Upgrading guzzlehttp/promises (1.5.1 => 1.5.2)
- Upgrading guzzlehttp/psr7 (2.4.0 => 2.4.3)
- Upgrading laravel/dusk (v6.25.0 => v6.25.2)
- Upgrading laravel/framework (v8.83.22 => v8.83.27)
- Upgrading laravel/serializable-closure (v1.2.0 => v1.2.2)
- Upgrading laravel/tinker (v2.7.2 => v2.7.3)
- Upgrading lcobucci/jwt (4.1.5 => 4.3.0)
- Upgrading league/commonmark (2.3.4 => 2.3.8)
- Upgrading league/config (v1.1.1 => v1.2.0)
- Upgrading league/flysystem (1.1.9 => 1.1.10)
- Upgrading league/oauth2-server (8.3.5 => 8.3.6)
- Upgrading league/uri (6.7.1 => 6.8.0)
- Upgrading livewire/livewire (v2.10.6 => v2.10.8)
- Upgrading maatwebsite/excel (3.1.40 => 3.1.45)
- Upgrading maennchen/zipstream-php (2.2.1 => v2.4.0)
- Upgrading markbaker/complex (3.0.1 => 3.0.2)
- Upgrading markbaker/matrix (3.0.0 => 3.0.1)
- Upgrading masterminds/html5 (2.7.5 => 2.7.6)
- Upgrading maximebf/debugbar (v1.18.0 => v1.18.1)
- Upgrading mockery/mockery (1.5.0 => 1.5.1)
- Upgrading monolog/monolog (2.7.0 => 2.8.0)
- Upgrading myclabs/php-enum (1.8.3 => 1.8.4)
- Upgrading nesbot/carbon (2.59.1 => 2.64.1)
- Upgrading nette/schema (v1.2.2 => v1.2.3)
- Upgrading nette/utils (v3.2.7 => v3.2.8)
- Upgrading nikic/php-parser (v4.14.0 => v4.15.2)
- Upgrading phenx/php-svg-lib (0.4.1 => 0.5.0)
- Upgrading php-webdriver/webdriver (1.12.1 => 1.13.1)
- Upgrading phpdocumentor/type-resolver (1.6.1 => 1.6.2)
- Upgrading phpoffice/phpspreadsheet (1.24.1 => 1.26.0)
- Upgrading phpoption/phpoption (1.8.1 => 1.9.0)
- Upgrading phpseclib/phpseclib (3.0.14 => 3.0.18)
- Upgrading phpspec/prophecy (v1.15.0 => v1.16.0)
- Upgrading phpunit/php-code-coverage (9.2.15 => 9.2.23)
- Upgrading phpunit/phpunit (9.5.21 => 9.5.27)
- Upgrading psr/log (1.1.4 => 2.0.0)
- Upgrading psy/psysh (v0.11.7 => v0.11.10)
- Upgrading ramsey/collection (1.2.2 => 2.0.0)
- Upgrading ramsey/uuid (4.2.3 => 4.7.1)
- Upgrading rollbar/rollbar (v2.1.0 => v3.1.4)
- Upgrading sebastian/comparator (4.0.6 => 4.0.8)
- Upgrading sebastian/exporter (4.0.4 => 4.0.5)
- Upgrading sebastian/type (3.0.0 => 3.2.0)
- Upgrading symfony/console (v5.4.10 => v5.4.17)
- Upgrading symfony/css-selector (v4.4.37 => v4.4.44)
- Upgrading symfony/deprecation-contracts (v2.5.2 => v3.2.0)
- Upgrading symfony/dom-crawler (v4.4.42 => v4.4.45)
- Upgrading symfony/error-handler (v5.4.9 => v5.4.17)
- Upgrading symfony/event-dispatcher (v5.4.9 => v6.2.2)
- Upgrading symfony/event-dispatcher-contracts (v2.5.2 => v3.2.0)
- Upgrading symfony/finder (v5.4.8 => v5.4.17)
- Upgrading symfony/http-foundation (v5.4.10 => v5.4.17)
- Upgrading symfony/http-kernel (v5.4.10 => v5.4.18)
- Upgrading symfony/mime (v5.4.10 => v5.4.17)
- Upgrading symfony/polyfill-ctype (v1.26.0 => v1.27.0)
- Upgrading symfony/polyfill-iconv (v1.26.0 => v1.27.0)
- Upgrading symfony/polyfill-intl-grapheme (v1.26.0 => v1.27.0)
- Upgrading symfony/polyfill-intl-idn (v1.26.0 => v1.27.0)
- Upgrading symfony/polyfill-intl-normalizer (v1.26.0 => v1.27.0)
- Upgrading symfony/polyfill-mbstring (v1.26.0 => v1.27.0)
- Upgrading symfony/polyfill-php72 (v1.26.0 => v1.27.0)
- Upgrading symfony/polyfill-php73 (v1.26.0 => v1.27.0)
- Upgrading symfony/polyfill-php80 (v1.26.0 => v1.27.0)
- Upgrading symfony/process (v5.4.8 => v5.4.11)
- Upgrading symfony/psr-http-message-bridge (v2.1.2 => v2.1.4)
- Upgrading symfony/routing (v5.4.8 => v5.4.17)
- Upgrading symfony/string (v5.4.10 => v6.2.2)
- Upgrading symfony/translation (v5.4.9 => v6.2.3)
- Upgrading symfony/translation-contracts (v2.5.2 => v3.2.0)
- Upgrading symfony/var-dumper (v5.4.9 => v5.4.17)
- Upgrading tecnickcom/tc-lib-barcode (1.17.14 => 1.17.19)
- Upgrading tecnickcom/tc-lib-color (1.14.14 => 1.14.18)
- Upgrading tijsverkoyen/css-to-inline-styles (2.2.4 => 2.2.5)
- Upgrading vlucas/phpdotenv (v5.4.1 => v5.5.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 194 installs, 0 updates, 0 removals
- Downloading symfony/deprecation-contracts (v3.2.0)
- Downloading psr/http-message (1.0.1)
- Downloading psr/http-client (1.0.1)
- Downloading ralouphie/getallheaders (3.0.3)
- Downloading psr/http-factory (1.0.1)
- Downloading guzzlehttp/psr7 (2.4.3)
- Downloading guzzlehttp/promises (1.5.2)
- Downloading guzzlehttp/guzzle (7.5.0)
- Downloading symfony/polyfill-mbstring (v1.27.0)
- Downloading alek13/slack (2.2.1)
- Downloading tmilos/scim-schema (0.1)
- Downloading tmilos/value (1.0.2)
- Downloading tmilos/lexer (1.0.2)
- Downloading tmilos/scim-filter-parser (1.3.0)
- Downloading voku/portable-ascii (1.6.1)
- Downloading symfony/polyfill-php80 (v1.27.0)
- Downloading symfony/polyfill-ctype (v1.27.0)
- Downloading phpoption/phpoption (1.9.0)
- Downloading graham-campbell/result-type (v1.1.0)
- Downloading vlucas/phpdotenv (v5.5.0)
- Downloading symfony/css-selector (v4.4.44)
- Downloading tijsverkoyen/css-to-inline-styles (2.2.5)
- Downloading symfony/var-dumper (v5.4.17)
- Downloading symfony/routing (v5.4.17)
- Downloading symfony/process (v5.4.11)
- Downloading symfony/polyfill-php72 (v1.27.0)
- Downloading symfony/polyfill-intl-normalizer (v1.27.0)
- Downloading symfony/polyfill-intl-idn (v1.27.0)
- Downloading symfony/mime (v5.4.17)
- Downloading symfony/polyfill-php73 (v1.27.0)
- Downloading symfony/http-foundation (v5.4.17)
- Downloading psr/event-dispatcher (1.0.0)
- Downloading symfony/event-dispatcher-contracts (v3.2.0)
- Downloading symfony/event-dispatcher (v6.2.2)
- Downloading psr/log (2.0.0)
- Downloading symfony/error-handler (v5.4.17)
- Downloading symfony/http-kernel (v5.4.18)
- Downloading symfony/finder (v5.4.17)
- Downloading symfony/polyfill-intl-grapheme (v1.27.0)
- Downloading symfony/string (v6.2.2)
- Downloading psr/container (1.1.2)
- Downloading symfony/service-contracts (v2.5.2)
- Downloading symfony/console (v5.4.17)
- Downloading symfony/polyfill-iconv (v1.27.0)
- Downloading doctrine/lexer (1.2.3)
- Downloading egulias/email-validator (2.1.25)
- Downloading swiftmailer/swiftmailer (v6.3.0)
- Downloading ramsey/collection (2.0.0)
- Downloading brick/math (0.10.2)
- Downloading ramsey/uuid (4.7.1)
- Downloading psr/simple-cache (1.0.1)
- Downloading opis/closure (3.6.3)
- Downloading symfony/translation-contracts (v3.2.0)
- Downloading symfony/translation (v6.2.3)
- Downloading nesbot/carbon (2.64.1)
- Downloading monolog/monolog (2.8.0)
- Downloading league/mime-type-detection (1.11.0)
- Downloading league/flysystem (1.1.10)
- Downloading nette/utils (v3.2.8)
- Downloading nette/schema (v1.2.3)
- Downloading dflydev/dot-access-data (v3.0.2)
- Downloading league/config (v1.2.0)
- Downloading league/commonmark (2.3.8)
- Downloading laravel/serializable-closure (v1.2.2)
- Downloading webmozart/assert (1.11.0)
- Downloading dragonmantank/cron-expression (v3.3.2)
- Downloading doctrine/inflector (1.4.4)
- Downloading laravel/framework (v8.83.27)
- Downloading arietimmerman/laravel-scim-server (dev-master 2c7ecc4)
- Downloading aws/aws-crt-php (v1.0.2)
- Downloading maximebf/debugbar (v1.18.1)
- Downloading barryvdh/laravel-debugbar (v3.7.0)
- Downloading sabberworm/php-css-parser (8.4.0)
- Downloading phenx/php-svg-lib (0.5.0)
- Downloading phenx/php-font-lib (0.5.4)
- Downloading masterminds/html5 (2.7.6)
- Downloading dompdf/dompdf (v2.0.1)
- Downloading barryvdh/laravel-dompdf (v2.0.0)
- Downloading composer/semver (3.3.2)
- Downloading dasprid/enum (1.0.3)
- Downloading psr/cache (1.0.1)
- Downloading doctrine/annotations (1.14.2)
- Downloading doctrine/reflection (1.2.3)
- Downloading doctrine/deprecations (v1.0.0)
- Downloading doctrine/event-manager (1.2.0)
- Downloading doctrine/collections (1.8.0)
- Downloading doctrine/cache (1.13.0)
- Downloading doctrine/persistence (1.3.8)
- Downloading doctrine/common (2.13.3)
- Downloading doctrine/dbal (3.5.2)
- Downloading squizlabs/php_codesniffer (3.7.1)
- Downloading eduardokum/laravel-mail-auto-embed (1.0.7)
- Downloading enshrined/svg-sanitize (0.15.4)
- Downloading erusev/parsedown (1.7.4)
- Downloading facade/ignition-contracts (1.0.2)
- Downloading facade/flare-client-php (1.10.0)
- Downloading facade/ignition (2.17.6)
- Downloading fakerphp/faker (v1.21.0)
- Downloading fideloper/proxy (4.4.2)
- Downloading asm89/stack-cors (v2.1.1)
- Downloading fruitcake/laravel-cors (v2.2.0)
- Downloading intervention/image (2.7.2)
- Downloading javiereguiluz/easyslugger (v1.0.0)
- Downloading php-webdriver/webdriver (1.13.1)
- Downloading laravel/dusk (v6.25.2)
- Downloading laravel/helpers (v1.5.0)
- Downloading symfony/psr-http-message-bridge (v2.1.4)
- Downloading paragonie/random_compat (v9.99.100)
- Downloading paragonie/constant_time_encoding (v2.6.3)
- Downloading phpseclib/phpseclib (3.0.18)
- Downloading php-http/message-factory (v1.0.2)
- Downloading nyholm/psr7 (1.5.1)
- Downloading league/uri-interfaces (2.3.0)
- Downloading league/uri (6.8.0)
- Downloading league/event (2.2.0)
- Downloading lcobucci/clock (2.0.0)
- Downloading lcobucci/jwt (4.3.0)
- Downloading defuse/php-encryption (v2.3.1)
- Downloading league/oauth2-server (8.3.6)
- Downloading firebase/php-jwt (v6.3.2)
- Downloading laravel/passport (v10.4.1)
- Downloading laravel/slack-notification-channel (v2.4.0)
- Downloading nikic/php-parser (v4.15.2)
- Downloading psy/psysh (v0.11.10)
- Downloading laravel/tinker (v2.7.3)
- Downloading laravel/ui (v3.4.6)
- Downloading laravelcollective/html (v6.3.0)
- Downloading league/csv (9.8.0)
- Downloading mtdowling/jmespath.php (2.6.1)
- Downloading aws/aws-sdk-php (3.255.7)
- Downloading league/flysystem-aws-s3-v3 (1.0.30)
- Downloading league/flysystem-cached-adapter (1.1.0)
- Downloading markbaker/matrix (3.0.1)
- Downloading markbaker/complex (3.0.2)
- Downloading myclabs/php-enum (1.8.4)
- Downloading maennchen/zipstream-php (v2.4.0)
- Downloading ezyang/htmlpurifier (v4.16.0)
- Downloading phpoffice/phpspreadsheet (1.26.0)
- Downloading maatwebsite/excel (3.1.45)
- Downloading livewire/livewire (v2.10.8)
- Downloading mediconesystems/livewire-datatables (v0.5.4)
- Downloading hamcrest/hamcrest-php (v2.0.1)
- Downloading mockery/mockery (1.5.1)
- Downloading neitanod/forceutf8 (v2.0.4)
- Downloading filp/whoops (2.14.6)
- Downloading nunomaduro/collision (v5.11.0)
- Downloading robrichards/xmlseclibs (3.1.1)
- Downloading onelogin/php-saml (3.6.1)
- Downloading phpdocumentor/reflection-common (2.2.0)
- Downloading phpdocumentor/type-resolver (1.6.2)
- Downloading sebastian/recursion-context (4.0.4)
- Downloading sebastian/exporter (4.0.5)
- Downloading sebastian/diff (4.0.4)
- Downloading sebastian/comparator (4.0.8)
- Downloading phpdocumentor/reflection-docblock (5.3.0)
- Downloading doctrine/instantiator (1.5.0)
- Downloading phpspec/prophecy (v1.16.0)
- Downloading phpunit/php-token-stream (3.1.3)
- Downloading sebastian/version (3.0.2)
- Downloading sebastian/type (3.2.0)
- Downloading sebastian/resource-operations (3.0.3)
- Downloading sebastian/object-reflector (2.0.4)
- Downloading sebastian/object-enumerator (4.0.4)
- Downloading sebastian/global-state (5.0.5)
- Downloading sebastian/environment (5.1.4)
- Downloading sebastian/code-unit (1.0.8)
- Downloading sebastian/cli-parser (1.0.1)
- Downloading phpunit/php-timer (5.0.3)
- Downloading phpunit/php-text-template (2.0.4)
- Downloading phpunit/php-invoker (3.1.1)
- Downloading phpunit/php-file-iterator (3.0.6)
- Downloading theseer/tokenizer (1.2.1)
- Downloading sebastian/lines-of-code (1.0.3)
- Downloading sebastian/complexity (2.0.2)
- Downloading sebastian/code-unit-reverse-lookup (2.0.3)
- Downloading phpunit/php-code-coverage (9.2.23)
- Downloading phar-io/version (3.2.1)
- Downloading phar-io/manifest (2.0.3)
- Downloading myclabs/deep-copy (1.11.0)
- Downloading phpunit/phpunit (9.5.27)
- Downloading pragmarx/google2fa (v8.0.1)
- Downloading bacon/bacon-qr-code (2.0.8)
- Downloading pragmarx/google2fa-qrcode (v1.0.3)
- Downloading pragmarx/google2fa-laravel (v1.4.1)
- Downloading rollbar/rollbar (v3.1.4)
- Downloading rollbar/rollbar-laravel (v7.2.0)
- Downloading spatie/temporary-directory (1.3.0)
- Downloading spatie/db-dumper (2.21.1)
- Downloading spatie/laravel-backup (6.16.5)
- Downloading symfony/dom-crawler (v4.4.45)
- Downloading tecnickcom/tc-lib-color (1.14.18)
- Downloading tecnickcom/tc-lib-barcode (1.17.19)
- Downloading unicodeveloper/laravel-password (1.0.4)
- Downloading watson/validating (6.1.1)
- Installing symfony/deprecation-contracts (v3.2.0): Extracting archive
- Installing psr/http-message (1.0.1): Extracting archive
- Installing psr/http-client (1.0.1): Extracting archive
- Installing ralouphie/getallheaders (3.0.3): Extracting archive
- Installing psr/http-factory (1.0.1): Extracting archive
- Installing guzzlehttp/psr7 (2.4.3): Extracting archive
- Installing guzzlehttp/promises (1.5.2): Extracting archive
- Installing guzzlehttp/guzzle (7.5.0): Extracting archive
- Installing symfony/polyfill-mbstring (v1.27.0): Extracting archive
- Installing alek13/slack (2.2.1): Extracting archive
- Installing tmilos/scim-schema (0.1): Extracting archive
- Installing tmilos/value (1.0.2): Extracting archive
- Installing tmilos/lexer (1.0.2): Extracting archive
- Installing tmilos/scim-filter-parser (1.3.0): Extracting archive
- Installing voku/portable-ascii (1.6.1): Extracting archive
- Installing symfony/polyfill-php80 (v1.27.0): Extracting archive
- Installing symfony/polyfill-ctype (v1.27.0): Extracting archive
- Installing phpoption/phpoption (1.9.0): Extracting archive
- Installing graham-campbell/result-type (v1.1.0): Extracting archive
- Installing vlucas/phpdotenv (v5.5.0): Extracting archive
- Installing symfony/css-selector (v4.4.44): Extracting archive
- Installing tijsverkoyen/css-to-inline-styles (2.2.5): Extracting archive
- Installing symfony/var-dumper (v5.4.17): Extracting archive
- Installing symfony/routing (v5.4.17): Extracting archive
- Installing symfony/process (v5.4.11): Extracting archive
- Installing symfony/polyfill-php72 (v1.27.0): Extracting archive
- Installing symfony/polyfill-intl-normalizer (v1.27.0): Extracting archive
- Installing symfony/polyfill-intl-idn (v1.27.0): Extracting archive
- Installing symfony/mime (v5.4.17): Extracting archive
- Installing symfony/polyfill-php73 (v1.27.0): Extracting archive
- Installing symfony/http-foundation (v5.4.17): Extracting archive
- Installing psr/event-dispatcher (1.0.0): Extracting archive
- Installing symfony/event-dispatcher-contracts (v3.2.0): Extracting archive
- Installing symfony/event-dispatcher (v6.2.2): Extracting archive
- Installing psr/log (2.0.0): Extracting archive
- Installing symfony/error-handler (v5.4.17): Extracting archive
- Installing symfony/http-kernel (v5.4.18): Extracting archive
- Installing symfony/finder (v5.4.17): Extracting archive
- Installing symfony/polyfill-intl-grapheme (v1.27.0): Extracting archive
- Installing symfony/string (v6.2.2): Extracting archive
- Installing psr/container (1.1.2): Extracting archive
- Installing symfony/service-contracts (v2.5.2): Extracting archive
- Installing symfony/console (v5.4.17): Extracting archive
- Installing symfony/polyfill-iconv (v1.27.0): Extracting archive
- Installing doctrine/lexer (1.2.3): Extracting archive
- Installing egulias/email-validator (2.1.25): Extracting archive
- Installing swiftmailer/swiftmailer (v6.3.0): Extracting archive
- Installing ramsey/collection (2.0.0): Extracting archive
- Installing brick/math (0.10.2): Extracting archive
- Installing ramsey/uuid (4.7.1): Extracting archive
- Installing psr/simple-cache (1.0.1): Extracting archive
- Installing opis/closure (3.6.3): Extracting archive
- Installing symfony/translation-contracts (v3.2.0): Extracting archive
- Installing symfony/translation (v6.2.3): Extracting archive
- Installing nesbot/carbon (2.64.1): Extracting archive
- Installing monolog/monolog (2.8.0): Extracting archive
- Installing league/mime-type-detection (1.11.0): Extracting archive
- Installing league/flysystem (1.1.10): Extracting archive
- Installing nette/utils (v3.2.8): Extracting archive
- Installing nette/schema (v1.2.3): Extracting archive
- Installing dflydev/dot-access-data (v3.0.2): Extracting archive
- Installing league/config (v1.2.0): Extracting archive
- Installing league/commonmark (2.3.8): Extracting archive
- Installing laravel/serializable-closure (v1.2.2): Extracting archive
- Installing webmozart/assert (1.11.0): Extracting archive
- Installing dragonmantank/cron-expression (v3.3.2): Extracting archive
- Installing doctrine/inflector (1.4.4): Extracting archive
- Installing laravel/framework (v8.83.27): Extracting archive
- Installing arietimmerman/laravel-scim-server (dev-master 2c7ecc4): Extracting archive
- Installing aws/aws-crt-php (v1.0.2): Extracting archive
- Installing maximebf/debugbar (v1.18.1): Extracting archive
- Installing barryvdh/laravel-debugbar (v3.7.0): Extracting archive
- Installing sabberworm/php-css-parser (8.4.0): Extracting archive
- Installing phenx/php-svg-lib (0.5.0): Extracting archive
- Installing phenx/php-font-lib (0.5.4): Extracting archive
- Installing masterminds/html5 (2.7.6): Extracting archive
- Installing dompdf/dompdf (v2.0.1): Extracting archive
- Installing barryvdh/laravel-dompdf (v2.0.0): Extracting archive
- Installing composer/semver (3.3.2): Extracting archive
- Installing dasprid/enum (1.0.3): Extracting archive
- Installing psr/cache (1.0.1): Extracting archive
- Installing doctrine/annotations (1.14.2): Extracting archive
- Installing doctrine/reflection (1.2.3): Extracting archive
- Installing doctrine/deprecations (v1.0.0): Extracting archive
- Installing doctrine/event-manager (1.2.0): Extracting archive
- Installing doctrine/collections (1.8.0): Extracting archive
- Installing doctrine/cache (1.13.0): Extracting archive
- Installing doctrine/persistence (1.3.8): Extracting archive
- Installing doctrine/common (2.13.3): Extracting archive
- Installing doctrine/dbal (3.5.2): Extracting archive
- Installing squizlabs/php_codesniffer (3.7.1): Extracting archive
- Installing eduardokum/laravel-mail-auto-embed (1.0.7): Extracting archive
- Installing enshrined/svg-sanitize (0.15.4): Extracting archive
- Installing erusev/parsedown (1.7.4): Extracting archive
- Installing facade/ignition-contracts (1.0.2): Extracting archive
- Installing facade/flare-client-php (1.10.0): Extracting archive
- Installing facade/ignition (2.17.6): Extracting archive
- Installing fakerphp/faker (v1.21.0): Extracting archive
- Installing fideloper/proxy (4.4.2): Extracting archive
- Installing asm89/stack-cors (v2.1.1): Extracting archive
- Installing fruitcake/laravel-cors (v2.2.0): Extracting archive
- Installing intervention/image (2.7.2): Extracting archive
- Installing javiereguiluz/easyslugger (v1.0.0): Extracting archive
- Installing php-webdriver/webdriver (1.13.1): Extracting archive
- Installing laravel/dusk (v6.25.2): Extracting archive
- Installing laravel/helpers (v1.5.0): Extracting archive
- Installing symfony/psr-http-message-bridge (v2.1.4): Extracting archive
- Installing paragonie/random_compat (v9.99.100): Extracting archive
- Installing paragonie/constant_time_encoding (v2.6.3): Extracting archive
- Installing phpseclib/phpseclib (3.0.18): Extracting archive
- Installing php-http/message-factory (v1.0.2): Extracting archive
- Installing nyholm/psr7 (1.5.1): Extracting archive
- Installing league/uri-interfaces (2.3.0): Extracting archive
- Installing league/uri (6.8.0): Extracting archive
- Installing league/event (2.2.0): Extracting archive
- Installing lcobucci/clock (2.0.0): Extracting archive
- Installing lcobucci/jwt (4.3.0): Extracting archive
- Installing defuse/php-encryption (v2.3.1): Extracting archive
- Installing league/oauth2-server (8.3.6): Extracting archive
- Installing firebase/php-jwt (v6.3.2): Extracting archive
- Installing laravel/passport (v10.4.1): Extracting archive
- Installing laravel/slack-notification-channel (v2.4.0): Extracting archive
- Installing nikic/php-parser (v4.15.2): Extracting archive
- Installing psy/psysh (v0.11.10): Extracting archive
- Installing laravel/tinker (v2.7.3): Extracting archive
- Installing laravel/ui (v3.4.6): Extracting archive
- Installing laravelcollective/html (v6.3.0): Extracting archive
- Installing league/csv (9.8.0): Extracting archive
- Installing mtdowling/jmespath.php (2.6.1): Extracting archive
- Installing aws/aws-sdk-php (3.255.7): Extracting archive
- Installing league/flysystem-aws-s3-v3 (1.0.30): Extracting archive
- Installing league/flysystem-cached-adapter (1.1.0): Extracting archive
- Installing markbaker/matrix (3.0.1): Extracting archive
- Installing markbaker/complex (3.0.2): Extracting archive
- Installing myclabs/php-enum (1.8.4): Extracting archive
- Installing maennchen/zipstream-php (v2.4.0): Extracting archive
- Installing ezyang/htmlpurifier (v4.16.0): Extracting archive
- Installing phpoffice/phpspreadsheet (1.26.0): Extracting archive
- Installing maatwebsite/excel (3.1.45): Extracting archive
- Installing livewire/livewire (v2.10.8): Extracting archive
- Installing mediconesystems/livewire-datatables (v0.5.4): Extracting archive
- Installing hamcrest/hamcrest-php (v2.0.1): Extracting archive
- Installing mockery/mockery (1.5.1): Extracting archive
- Installing neitanod/forceutf8 (v2.0.4): Extracting archive
- Installing filp/whoops (2.14.6): Extracting archive
- Installing nunomaduro/collision (v5.11.0): Extracting archive
- Installing robrichards/xmlseclibs (3.1.1): Extracting archive
- Installing onelogin/php-saml (3.6.1): Extracting archive
- Installing phpdocumentor/reflection-common (2.2.0): Extracting archive
- Installing phpdocumentor/type-resolver (1.6.2): Extracting archive
- Installing sebastian/recursion-context (4.0.4): Extracting archive
- Installing sebastian/exporter (4.0.5): Extracting archive
- Installing sebastian/diff (4.0.4): Extracting archive
- Installing sebastian/comparator (4.0.8): Extracting archive
- Installing phpdocumentor/reflection-docblock (5.3.0): Extracting archive
- Installing doctrine/instantiator (1.5.0): Extracting archive
- Installing phpspec/prophecy (v1.16.0): Extracting archive
- Installing phpunit/php-token-stream (3.1.3): Extracting archive
- Installing sebastian/version (3.0.2): Extracting archive
- Installing sebastian/type (3.2.0): Extracting archive
- Installing sebastian/resource-operations (3.0.3): Extracting archive
- Installing sebastian/object-reflector (2.0.4): Extracting archive
- Installing sebastian/object-enumerator (4.0.4): Extracting archive
- Installing sebastian/global-state (5.0.5): Extracting archive
- Installing sebastian/environment (5.1.4): Extracting archive
- Installing sebastian/code-unit (1.0.8): Extracting archive
- Installing sebastian/cli-parser (1.0.1): Extracting archive
- Installing phpunit/php-timer (5.0.3): Extracting archive
- Installing phpunit/php-text-template (2.0.4): Extracting archive
- Installing phpunit/php-invoker (3.1.1): Extracting archive
- Installing phpunit/php-file-iterator (3.0.6): Extracting archive
- Installing theseer/tokenizer (1.2.1): Extracting archive
- Installing sebastian/lines-of-code (1.0.3): Extracting archive
- Installing sebastian/complexity (2.0.2): Extracting archive
- Installing sebastian/code-unit-reverse-lookup (2.0.3): Extracting archive
- Installing phpunit/php-code-coverage (9.2.23): Extracting archive
- Installing phar-io/version (3.2.1): Extracting archive
- Installing phar-io/manifest (2.0.3): Extracting archive
- Installing myclabs/deep-copy (1.11.0): Extracting archive
- Installing phpunit/phpunit (9.5.27): Extracting archive
- Installing pragmarx/google2fa (v8.0.1): Extracting archive
- Installing bacon/bacon-qr-code (2.0.8): Extracting archive
- Installing pragmarx/google2fa-qrcode (v1.0.3): Extracting archive
- Installing pragmarx/google2fa-laravel (v1.4.1): Extracting archive
- Installing rollbar/rollbar (v3.1.4): Extracting archive
- Installing rollbar/rollbar-laravel (v7.2.0): Extracting archive
- Installing spatie/temporary-directory (1.3.0): Extracting archive
- Installing spatie/db-dumper (2.21.1): Extracting archive
- Installing spatie/laravel-backup (6.16.5): Extracting archive
- Installing symfony/dom-crawler (v4.4.45): Extracting archive
- Installing tecnickcom/tc-lib-color (1.14.18): Extracting archive
- Installing tecnickcom/tc-lib-barcode (1.17.19): Extracting archive
- Installing unicodeveloper/laravel-password (1.0.4): Extracting archive
- Installing watson/validating (6.1.1): Extracting archive
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
Discovered Package: arietimmerman/laravel-scim-server
Discovered Package: barryvdh/laravel-debugbar
Discovered Package: barryvdh/laravel-dompdf
Discovered Package: eduardokum/laravel-mail-auto-embed
Discovered Package: facade/ignition
Discovered Package: fideloper/proxy
Discovered Package: fruitcake/laravel-cors
Discovered Package: intervention/image
Discovered Package: laravel/dusk
Discovered Package: laravel/passport
Discovered Package: laravel/slack-notification-channel
Discovered Package: laravel/tinker
Discovered Package: laravel/ui
Discovered Package: laravelcollective/html
Discovered Package: livewire/livewire
Discovered Package: maatwebsite/excel
Discovered Package: mediconesystems/livewire-datatables
Discovered Package: nesbot/carbon
Discovered Package: nunomaduro/collision
Discovered Package: pragmarx/google2fa-laravel
Discovered Package: spatie/laravel-backup
Discovered Package: unicodeveloper/laravel-password
Package manifest generated successfully.
> @php artisan vendor:publish --force --tag=livewire:assets --ansi
Copied Directory [/vendor/livewire/livewire/dist] To [/public/vendor/livewire]
Publishing complete.
106 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found
root@k0cdf-srv1-snipeit:/opt/snipe-it#
for some reason the php alias is not going to php8.1 but instead going to php8.2
i did
apt remove -y php8.2*
and now it gets past this point
Does the image come with php8.2 already installed? That is odd. But I can add a step to change symlink to ensure 8.1.
im not sure how I ended up with php8.2
Now that 8.2 is released, we can look at bumping it up in the defaults.
You should also be able to use:
snipe_php_ver: 8.2
in the role variables to use 8.2 instead or 8.1 -- prob easiest way to get it working for you.
I will need to do some upgrade testing before I change the default from 8.1 to 8.2 for everyone.
ok, ill nuke my container and re-run and see if it works now
TASK [wiggels.snipeit : Install composer] ************************************************************************************************************************
changed: [k0cdf-srv1-snipeit]
TASK [wiggels.snipeit : Install snipe dependencies] **************************************************************************************************************
fatal: [k0cdf-srv1-snipeit]: FAILED! => {"changed": true, "cmd": "export COMPOSER_ALLOW_SUPERUSER=1; php composer.phar install --no-dev --prefer-source", "delta": "0:00:00.345100", "end": "2023-01-05 22:01:42.349443", "msg": "non-zero return code", "rc": 2, "start": "2023-01-05 22:01:42.004343", "stderr": "Installing dependencies from lock file\nVerifying lock file contents can be installed on current platform.\nYour lock file does not contain a compatible set of packages. Please run composer update.\n\n Problem 1\n - Root composer.json requires PHP extension ext-curl * but it is missing from your system. Install or enable PHP's curl extension.\n Problem 2\n - eduardokum/laravel-mail-auto-embed is locked to version 1.0.7 and an update of this package was not requested.\n - eduardokum/laravel-mail-auto-embed 1.0.7 requires ext-curl * -> it is missing from your system. Install or enable PHP's curl extension.\n Problem 3\n - facade/ignition is locked to version 2.17.6 and an update of this package was not requested.\n - facade/ignition 2.17.6 requires ext-curl * -> it is missing from your system. Install or enable PHP's curl extension.\n Problem 4\n - nette/schema is locked to version v1.2.2 and an update of this package was not requested.\n - nette/schema v1.2.2 requires php >=7.1 <8.2 -> your php version (8.2.0) does not satisfy that requirement.\n Problem 5\n - nette/utils is locked to version v3.2.7 and an update of this package was not requested.\n - nette/utils v3.2.7 requires php >=7.2 <8.2 -> your php version (8.2.0) does not satisfy that requirement.\n Problem 6\n - phpoffice/phpspreadsheet is locked to version 1.24.1 and an update of this package was not requested.\n - phpoffice/phpspreadsheet 1.24.1 requires ext-gd * -> it is missing from your system. Install or enable PHP's gd extension.\n Problem 7\n - phpspec/prophecy is locked to version v1.15.0 and an update of this package was not requested.\n - phpspec/prophecy v1.15.0 requires php ^7.2 || ~8.0, <8.2 -> your php version (8.2.0) does not satisfy that requirement.\n Problem 8\n - rollbar/rollbar is locked to version v2.1.0 and an update of this package was not requested.\n - rollbar/rollbar v2.1.0 requires ext-curl * -> it is missing from your system. Install or enable PHP's curl extension.\n Problem 9\n - spatie/laravel-backup is locked to version 6.16.5 and an update of this package was not requested.\n - spatie/laravel-backup 6.16.5 requires ext-zip ^1.14.0 -> it is missing from your system. Install or enable PHP's zip extension.\n Problem 10\n - tecnickcom/tc-lib-barcode is locked to version 1.17.14 and an update of this package was not requested.\n - tecnickcom/tc-lib-barcode 1.17.14 requires ext-bcmath * -> it is missing from your system. Install or enable PHP's bcmath extension.\n Problem 11\n - nette/schema v1.2.2 requires php >=7.1 <8.2 -> your php version (8.2.0) does not satisfy that requirement.\n - league/config v1.1.1 requires nette/schema ^1.2 -> satisfiable by nette/schema[v1.2.2].\n - league/config is locked to version v1.1.1 and an update of this package was not requested.\n\nTo enable extensions, verify that they are enabled in your .ini files:\n - /etc/php/8.2/cli/php.ini\n - /etc/php/8.2/cli/conf.d/10-opcache.ini\n - /etc/php/8.2/cli/conf.d/10-pdo.ini\n - /etc/php/8.2/cli/conf.d/15-xml.ini\n - /etc/php/8.2/cli/conf.d/20-calendar.ini\n - /etc/php/8.2/cli/conf.d/20-ctype.ini\n - /etc/php/8.2/cli/conf.d/20-dom.ini\n - /etc/php/8.2/cli/conf.d/20-exif.ini\n - /etc/php/8.2/cli/conf.d/20-ffi.ini\n - /etc/php/8.2/cli/conf.d/20-fileinfo.ini\n - /etc/php/8.2/cli/conf.d/20-ftp.ini\n - /etc/php/8.2/cli/conf.d/20-gettext.ini\n - /etc/php/8.2/cli/conf.d/20-iconv.ini\n - /etc/php/8.2/cli/conf.d/20-phar.ini\n - /etc/php/8.2/cli/conf.d/20-posix.ini\n - /etc/php/8.2/cli/conf.d/20-readline.ini\n - /etc/php/8.2/cli/conf.d/20-shmop.ini\n - /etc/php/8.2/cli/conf.d/20-simplexml.ini\n - /etc/php/8.2/cli/conf.d/20-sockets.ini\n - /etc/php/8.2/cli/conf.d/20-sysvmsg.ini\n - /etc/php/8.2/cli/conf.d/20-sysvsem.ini\n - /etc/php/8.2/cli/conf.d/20-sysvshm.ini\n - /etc/php/8.2/cli/conf.d/20-tokenizer.ini\n - /etc/php/8.2/cli/conf.d/20-xmlreader.ini\n - /etc/php/8.2/cli/conf.d/20-xmlwriter.ini\n - /etc/php/8.2/cli/conf.d/20-xsl.ini\nYou can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.\nAlternatively, you can run Composer with `--ignore-platform-req=ext-curl --ignore-platform-req=ext-gd --ignore-platform-req=ext-zip --ignore-platform-req=ext-bcmath` to temporarily ignore these required extensions.", "stderr_lines": ["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 extension ext-curl * but it is missing from your system. Install or enable PHP's curl extension.", " Problem 2", " - eduardokum/laravel-mail-auto-embed is locked to version 1.0.7 and an update of this package was not requested.", " - eduardokum/laravel-mail-auto-embed 1.0.7 requires ext-curl * -> it is missing from your system. Install or enable PHP's curl extension.", " Problem 3", " - facade/ignition is locked to version 2.17.6 and an update of this package was not requested.", " - facade/ignition 2.17.6 requires ext-curl * -> it is missing from your system. Install or enable PHP's curl extension.", " Problem 4", " - nette/schema is locked to version v1.2.2 and an update of this package was not requested.", " - nette/schema v1.2.2 requires php >=7.1 <8.2 -> your php version (8.2.0) does not satisfy that requirement.", " Problem 5", " - nette/utils is locked to version v3.2.7 and an update of this package was not requested.", " - nette/utils v3.2.7 requires php >=7.2 <8.2 -> your php version (8.2.0) does not satisfy that requirement.", " Problem 6", " - phpoffice/phpspreadsheet is locked to version 1.24.1 and an update of this package was not requested.", " - phpoffice/phpspreadsheet 1.24.1 requires ext-gd * -> it is missing from your system. Install or enable PHP's gd extension.", " Problem 7", " - phpspec/prophecy is locked to version v1.15.0 and an update of this package was not requested.", " - phpspec/prophecy v1.15.0 requires php ^7.2 || ~8.0, <8.2 -> your php version (8.2.0) does not satisfy that requirement.", " Problem 8", " - rollbar/rollbar is locked to version v2.1.0 and an update of this package was not requested.", " - rollbar/rollbar v2.1.0 requires ext-curl * -> it is missing from your system. Install or enable PHP's curl extension.", " Problem 9", " - spatie/laravel-backup is locked to version 6.16.5 and an update of this package was not requested.", " - spatie/laravel-backup 6.16.5 requires ext-zip ^1.14.0 -> it is missing from your system. Install or enable PHP's zip extension.", " Problem 10", " - tecnickcom/tc-lib-barcode is locked to version 1.17.14 and an update of this package was not requested.", " - tecnickcom/tc-lib-barcode 1.17.14 requires ext-bcmath * -> it is missing from your system. Install or enable PHP's bcmath extension.", " Problem 11", " - nette/schema v1.2.2 requires php >=7.1 <8.2 -> your php version (8.2.0) does not satisfy that requirement.", " - league/config v1.1.1 requires nette/schema ^1.2 -> satisfiable by nette/schema[v1.2.2].", " - league/config is locked to version v1.1.1 and an update of this package was not requested.", "", "To enable extensions, verify that they are enabled in your .ini files:", " - /etc/php/8.2/cli/php.ini", " - /etc/php/8.2/cli/conf.d/10-opcache.ini", " - /etc/php/8.2/cli/conf.d/10-pdo.ini", " - /etc/php/8.2/cli/conf.d/15-xml.ini", " - /etc/php/8.2/cli/conf.d/20-calendar.ini", " - /etc/php/8.2/cli/conf.d/20-ctype.ini", " - /etc/php/8.2/cli/conf.d/20-dom.ini", " - /etc/php/8.2/cli/conf.d/20-exif.ini", " - /etc/php/8.2/cli/conf.d/20-ffi.ini", " - /etc/php/8.2/cli/conf.d/20-fileinfo.ini", " - /etc/php/8.2/cli/conf.d/20-ftp.ini", " - /etc/php/8.2/cli/conf.d/20-gettext.ini", " - /etc/php/8.2/cli/conf.d/20-iconv.ini", " - /etc/php/8.2/cli/conf.d/20-phar.ini", " - /etc/php/8.2/cli/conf.d/20-posix.ini", " - /etc/php/8.2/cli/conf.d/20-readline.ini", " - /etc/php/8.2/cli/conf.d/20-shmop.ini", " - /etc/php/8.2/cli/conf.d/20-simplexml.ini", " - /etc/php/8.2/cli/conf.d/20-sockets.ini", " - /etc/php/8.2/cli/conf.d/20-sysvmsg.ini", " - /etc/php/8.2/cli/conf.d/20-sysvsem.ini", " - /etc/php/8.2/cli/conf.d/20-sysvshm.ini", " - /etc/php/8.2/cli/conf.d/20-tokenizer.ini", " - /etc/php/8.2/cli/conf.d/20-xmlreader.ini", " - /etc/php/8.2/cli/conf.d/20-xmlwriter.ini", " - /etc/php/8.2/cli/conf.d/20-xsl.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-curl --ignore-platform-req=ext-gd --ignore-platform-req=ext-zip --ignore-platform-req=ext-bcmath` to temporarily ignore these required extensions."], "stdout": "", "stdout_lines": []}
its failing. composer is complaining that packages want less than php v8.2
is there any progress on this? if I do a manual source install of snipe-it following the snipe-it docs will I be able to use this to keep it up to date in the future?
Ubuntu 22 uses 8.2 per default, and the snipe-it role uses 8.1 by default.
The issue is that not all dependencies (specifically php-zip,php-gd,php,curl in my case) were missing.
~Setting snipe_php_ver to 8.2 should fix the issue, I havent had the chance to test this before end of work.~ https://github.com/snipe/snipe-it/issues/12357#issuecomment-1424366444
We will likely have to lock to php 8.0 or 8.1 for now. (Since 8.0 is now the new minimum version)
Ill try to send a PR tomorrow to fix this.
I also want to work on adapting my local test procedure to work with github actions and also other distributions than Ubuntu 22 (which is the only thing I test currently).