Trying to update with composer from 4.4.3 to 4.4.9 error php version

Your software
My Mautic version is: 4.4.3
My PHP version is: 8.1.2
My Database type and version is: MySQL 5.7

Your problem
My problem is:
Getting errors when trying to update using composer. Composer is updated to latest version.

These errors are showing in the log:
(uiserver):u35515298:~/hahorim/mautic$ /usr/bin/php8.1-cli …/composer.phar update
Loading Info from https://repo.packagist.org: #StandWithUkraine
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Root composer.json requires mautic/core-lib 4.4.3 → satisfiable by mautic/core-lib[4.4.3].
- mautic/core-lib 4.4.3 requires php >=7.4.0 <8.1 → your php version (8.1.20) does not satisfy that requirement.
Problem 2
- Root composer.json requires mautic/grapes-js-builder-bundle 4.4.3 → satisfiable by mautic/grapes-js-builder-bundle[4.4.3].
- mautic/grapes-js-builder-bundle 4.4.3 requires php >=7.4.0 <8.1 → your php version (8.1.20) does not satisfy that requirement.
Problem 3
- Root composer.json requires mautic/plugin-citrix 4.4.3 → satisfiable by mautic/plugin-citrix[4.4.3].
- mautic/plugin-citrix 4.4.3 requires php >=7.4.0 <8.1 → your php version (8.1.20) does not satisfy that requirement.
Problem 4
- Root composer.json requires mautic/plugin-clearbit 4.4.3 → satisfiable by mautic/plugin-clearbit[4.4.3].
- mautic/plugin-clearbit 4.4.3 requires php >=7.4.0 <8.1 → your php version (8.1.20) does not satisfy that requirement.
Problem 5
- Root composer.json requires mautic/plugin-cloudstorage 4.4.3 → satisfiable by mautic/plugin-cloudstorage[4.4.3].
- mautic/plugin-cloudstorage 4.4.3 requires php >=7.4.0 <8.1 → your php version (8.1.20) does not satisfy that requirement.
Problem 6
- Root composer.json requires mautic/plugin-crm 4.4.3 → satisfiable by mautic/plugin-crm[4.4.3].
- mautic/plugin-crm 4.4.3 requires php >=7.4.0 <8.1 → your php version (8.1.20) does not satisfy that requirement.
Problem 7
- Root composer.json requires mautic/plugin-emailmarketing 4.4.3 → satisfiable by mautic/plugin-emailmarketing[4.4.3].
- mautic/plugin-emailmarketing 4.4.3 requires php >=7.4.0 <8.1 → your php version (8.1.20) does not satisfy that requirement.
Problem 8
- Root composer.json requires mautic/plugin-focus 4.4.3 → satisfiable by mautic/plugin-focus[4.4.3].
- mautic/plugin-focus 4.4.3 requires php >=7.4.0 <8.1 → your php version (8.1.20) does not satisfy that requirement.
Problem 9
- Root composer.json requires mautic/plugin-fullcontact 4.4.3 → satisfiable by mautic/plugin-fullcontact[4.4.3].
- mautic/plugin-fullcontact 4.4.3 requires php >=7.4.0 <8.1 → your php version (8.1.20) does not satisfy that requirement.
Problem 10
- Root composer.json requires mautic/plugin-gmail 4.4.3 → satisfiable by mautic/plugin-gmail[4.4.3].
- mautic/plugin-gmail 4.4.3 requires php >=7.4.0 <8.1 → your php version (8.1.20) does not satisfy that requirement.
Problem 11
- Root composer.json requires mautic/plugin-outlook 4.4.3 → satisfiable by mautic/plugin-outlook[4.4.3].
- mautic/plugin-outlook 4.4.3 requires php >=7.4.0 <8.1 → your php version (8.1.20) does not satisfy that requirement.
Problem 12
- Root composer.json requires mautic/plugin-social 4.4.3 → satisfiable by mautic/plugin-social[4.4.3].
- mautic/plugin-social 4.4.3 requires php >=7.4.0 <8.1 → your php version (8.1.20) does not satisfy that requirement.
Problem 13
- Root composer.json requires mautic/plugin-tagmanager 4.4.3 → satisfiable by mautic/plugin-tagmanager[4.4.3].
- mautic/plugin-tagmanager 4.4.3 requires php >=7.4.0 <8.1 → your php version (8.1.20) does not satisfy that requirement.
Problem 14
- Root composer.json requires mautic/plugin-zapier 4.4.3 → satisfiable by mautic/plugin-zapier[4.4.3].
- mautic/plugin-zapier 4.4.3 requires php >=7.4.0 <8.1 → your php version (8.1.20) does not satisfy that requirement.
Problem 15
- Root composer.json requires mautic/theme-aurora 4.4.3 → satisfiable by mautic/theme-aurora[4.4.3].
- mautic/theme-aurora 4.4.3 requires php >=7.4.0 <8.1 → your php version (8.1.20) does not satisfy that requirement.
Problem 16
- Root composer.json requires mautic/theme-blank 4.4.3 → satisfiable by mautic/theme-blank[4.4.3].
- mautic/theme-blank 4.4.3 requires php >=7.4.0 <8.1 → your php version (8.1.20) does not satisfy that requirement.
Problem 17
- Root composer.json requires mautic/theme-brienz 4.4.3 → satisfiable by mautic/theme-brienz[4.4.3].
- mautic/theme-brienz 4.4.3 requires php >=7.4.0 <8.1 → your php version (8.1.20) does not satisfy that requirement.
Problem 18
- Root composer.json requires mautic/theme-cards 4.4.3 → satisfiable by mautic/theme-cards[4.4.3].
- mautic/theme-cards 4.4.3 requires php >=7.4.0 <8.1 → your php version (8.1.20) does not satisfy that requirement.
Problem 19
- Root composer.json requires mautic/theme-coffee 4.4.3 → satisfiable by mautic/theme-coffee[4.4.3].
- mautic/theme-coffee 4.4.3 requires php >=7.4.0 <8.1 → your php version (8.1.20) does not satisfy that requirement.
Problem 20
- Root composer.json requires mautic/theme-confirmme 4.4.3 → satisfiable by mautic/theme-confirmme[4.4.3].
- mautic/theme-confirmme 4.4.3 requires php >=7.4.0 <8.1 → your php version (8.1.20) does not satisfy that requirement.
Problem 21
- Root composer.json requires mautic/theme-fresh-center 4.4.3 → satisfiable by mautic/theme-fresh-center[4.4.3].
- mautic/theme-fresh-center 4.4.3 requires php >=7.4.0 <8.1 → your php version (8.1.20) does not satisfy that requirement.
Problem 22
- Root composer.json requires mautic/theme-fresh-fixed 4.4.3 → satisfiable by mautic/theme-fresh-fixed[4.4.3].
- mautic/theme-fresh-fixed 4.4.3 requires php >=7.4.0 <8.1 → your php version (8.1.20) does not satisfy that requirement.
Problem 23
- Root composer.json requires mautic/theme-fresh-left 4.4.3 → satisfiable by mautic/theme-fresh-left[4.4.3].
- mautic/theme-fresh-left 4.4.3 requires php >=7.4.0 <8.1 → your php version (8.1.20) does not satisfy that requirement.
Problem 24
- Root composer.json requires mautic/theme-fresh-wide 4.4.3 → satisfiable by mautic/theme-fresh-wide[4.4.3].
- mautic/theme-fresh-wide 4.4.3 requires php >=7.4.0 <8.1 → your php version (8.1.20) does not satisfy that requirement.
Problem 25
- Root composer.json requires mautic/theme-goldstar 4.4.3 → satisfiable by mautic/theme-goldstar[4.4.3].
- mautic/theme-goldstar 4.4.3 requires php >=7.4.0 <8.1 → your php version (8.1.20) does not satisfy that requirement.
Problem 26
- Root composer.json requires mautic/theme-mauve 4.4.3 → satisfiable by mautic/theme-mauve[4.4.3].
- mautic/theme-mauve 4.4.3 requires php >=7.4.0 <8.1 → your php version (8.1.20) does not satisfy that requirement.
Problem 27
- Root composer.json requires mautic/theme-nature 4.4.3 → satisfiable by mautic/theme-nature[4.4.3].
- mautic/theme-nature 4.4.3 requires php >=7.4.0 <8.1 → your php version (8.1.20) does not satisfy that requirement.
Problem 28
- Root composer.json requires mautic/theme-neopolitan 4.4.3 → satisfiable by mautic/theme-neopolitan[4.4.3].
- mautic/theme-neopolitan 4.4.3 requires php >=7.4.0 <8.1 → your php version (8.1.20) does not satisfy that requirement.
Problem 29
- Root composer.json requires mautic/theme-oxygen 4.4.3 → satisfiable by mautic/theme-oxygen[4.4.3].
- mautic/theme-oxygen 4.4.3 requires php >=7.4.0 <8.1 → your php version (8.1.20) does not satisfy that requirement.
Problem 30
- Root composer.json requires mautic/theme-paprika 4.4.3 → satisfiable by mautic/theme-paprika[4.4.3].
- mautic/theme-paprika 4.4.3 requires php >=7.4.0 <8.1 → your php version (8.1.20) does not satisfy that requirement.
Problem 31
- Root composer.json requires mautic/theme-skyline 4.4.3 → satisfiable by mautic/theme-skyline[4.4.3].
- mautic/theme-skyline 4.4.3 requires php >=7.4.0 <8.1 → your php version (8.1.20) does not satisfy that requirement.
Problem 32
- Root composer.json requires mautic/theme-sparse 4.4.3 → satisfiable by mautic/theme-sparse[4.4.3].
- mautic/theme-sparse 4.4.3 requires php >=7.4.0 <8.1 → your php version (8.1.20) does not satisfy that requirement.
Problem 33
- Root composer.json requires mautic/theme-sunday 4.4.3 → satisfiable by mautic/theme-sunday[4.4.3].
- mautic/theme-sunday 4.4.3 requires php >=7.4.0 <8.1 → your php version (8.1.20) does not satisfy that requirement.
Problem 34
- Root composer.json requires mautic/theme-vibrant 4.4.3 → satisfiable by mautic/theme-vibrant[4.4.3].
- mautic/theme-vibrant 4.4.3 requires php >=7.4.0 <8.1 → your php version (8.1.20) does not satisfy that requirement.
Problem 35
- Root composer.json requires mautic/theme-trulypersonal 4.4.3 → satisfiable by mautic/theme-trulypersonal[4.4.3].
- mautic/theme-trulypersonal 4.4.3 requires php >=7.4.0 <8.1 → your php version (8.1.20) does not satisfy that requirement.

Steps I have tried to fix the problem:
Got stuck at that point.
4.4.3 was previously installed using composer.
Switched to composer in mautic settings.
Mautic is working fine for now.
During composer install (originaly was manual install with previous versions) directory structure changed to mautic/docroot as per composer installation instructions.
Please advise.

Hi, try php 8.0

Thanks for the suggestion. I ran it with php 8.0, added git authorization as requested, and it went through the process with just minor warnings. Everything finished and seemed legit. Yet… Mautic still shows 4.4.3 . I restarted. I rerun the update and got “nothing to update”. Mautic still shows 4.4.3 … Any further suggestions?

(uiserver):u35515298:~/hahorim/mautic$ /usr/bin/php8.0-cli …/composer.phar update Loading composer repositories with package inInfo from https://repo.packagist.org: #StandWithUkraine
Updating dependencies
Lock file operations: 0 installs, 1 update, 0 removals

  • Upgrading phpstan/phpdoc-parser (1.22.0 => 1.22.1)
    Writing lock file
    Installing dependencies from lock file (including require-dev)
    Package operations: 0 installs, 1 update, 0 removals
  • Downloading phpstan/phpdoc-parser (1.22.1)
  • Upgrading phpstan/phpdoc-parser (1.22.0 => 1.22.1): Extracting archive
    Package lightsaml/lightsaml is abandoned, you should avoid using it. Use litesaml/lightsaml instead.
    Package misd/phone-number-bundle is abandoned, you should avoid using it. Use odolbeau/phone-number-bundle instead.
    Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.
    Package sensio/framework-extra-bundle is abandoned, you should avoid using it. Use Symfony instead.
    Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
    Package symfony/debug is abandoned, you should avoid using it. Use symfony/error-handler instead.
    Package symfony/inflector is abandoned, you should avoid using it. Use EnglishInflector from the String component instead.
    Package symfony/security is abandoned, you should avoid using it. No replacement was suggested.
    Package symfony/swiftmailer-bundle is abandoned, you should avoid using it. Use symfony/mailer instead.
    Generating autoload files
    109 packages you are using are looking for funding.
    Use the composer fund command to find out more!
    Symfony recipes are disabled: “symfony/flex” not found in the root composer.json

What about running composer global require symfony/thanks && composer thanks now?
This will spread some :sparkling_heart: by sending a ★ to the GitHub repositories of your fellow package maintainers.

Scaffolding files for mautic/core-lib:

  • Copy [web-root]/.htaccess from assets/scaffold/files/htaccess
    No security vulnerability advisories found