I'd like to share this because it's my first time updating the software and I want to know if what I'm seeing are normal messages that I can expect each time I update.
Just looking for confirmation that all went well. The back-end shows the updated version and all seems to work so I assume it's fine.
$ cd /opt/elgg
-bash: cd: elgg: Permission denied
$ exit
# composer require elgg/elgg:~5.0.6
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]?
./composer.json has been updated
Running composer update elgg/elgg
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
Updating dependencies
Lock file operations: 0 installs, 1 update, 0 removals
- Upgrading elgg/elgg (5.0.5 => 5.0.6)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
- Downloading elgg/elgg (5.0.6)
- Upgrading elgg/elgg (5.0.5 => 5.0.6): Extracting archive
> \Elgg\Composer\PostUpdate::execute
Package eloquent/composer-config-reader is abandoned, you should avoid using it. No replacement was suggested.
Package eloquent/enumeration is abandoned, you should avoid using it. No replacement was suggested.
Generating optimized autoload files
Warning: Ambiguous class resolution, "Phpfastcache\CacheManager" was found in both "/opt/elgg/vendor/phpfastcache/phpfastcache/lib/Phpfastcache/CacheManager.php" and "/opt/elgg/vendor/elgg/elgg/engine/vendor_classes/Phpfastcache/CacheManager.php", the first will be used.
Warning: Ambiguous class resolution, "Laminas\Mime\Mime" was found in both "/opt/elgg/vendor/laminas/laminas-mime/src/Mime.php" and "/opt/elgg/vendor/elgg/elgg/engine/vendor_classes/Laminas/Mime/Mime.php", the first will be used.
Warning: Ambiguous class resolution, "CssCrush\BalancedMatch" was found in both "/opt/elgg/vendor/elgg/elgg/engine/vendor_classes/CssCrush/BalancedMatch.php" and "/opt/elgg/vendor/css-crush/css-crush/lib/CssCrush/BalancedMatch.php", the first will be used.
Warning: Ambiguous class resolution, "CssCrush\Process" was found in both "/opt/elgg/vendor/elgg/elgg/engine/vendor_classes/CssCrush/Process.php" and "/opt/elgg/vendor/css-crush/css-crush/lib/CssCrush/Process.php", the first will be used.
Warning: Ambiguous class resolution, "CssCrush\StringObject" was found in both "/opt/elgg/vendor/elgg/elgg/engine/vendor_classes/CssCrush/StringObject.php" and "/opt/elgg/vendor/css-crush/css-crush/lib/CssCrush/StringObject.php", the first will be used.
68 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found
# composer update
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]?
Loading composer repositories with package information
Updating dependencies
Lock file operations: 0 installs, 3 updates, 0 removals
- Upgrading php-di/invoker (2.3.3 => 2.3.4)
- Upgrading phpstan/phpdoc-parser (1.23.1 => 1.24.0)
- Upgrading roave/security-advisories (dev-master 05cbd34 => dev-master 6cbe347)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 3 updates, 0 removals
- Downloading php-di/invoker (2.3.4)
- Downloading phpstan/phpdoc-parser (1.24.0)
- Upgrading roave/security-advisories (dev-master 05cbd34 => dev-master 6cbe347)
- Upgrading php-di/invoker (2.3.3 => 2.3.4): Extracting archive
- Upgrading phpstan/phpdoc-parser (1.23.1 => 1.24.0): Extracting archive
> \Elgg\Composer\PostUpdate::execute
> \Elgg\Composer\PostUpdate::execute
> \Elgg\Composer\PostUpdate::execute
Package eloquent/composer-config-reader is abandoned, you should avoid using it. No replacement was suggested.
Package eloquent/enumeration is abandoned, you should avoid using it. No replacement was suggested.
Generating optimized autoload files
Warning: Ambiguous class resolution, "Phpfastcache\CacheManager" was found in both "/opt/elgg/vendor/elgg/elgg/engine/vendor_classes/Phpfastcache/CacheManager.php" and "/opt/elgg/vendor/phpfastcache/phpfastcache/lib/Phpfastcache/CacheManager.php", the first will be used.
Warning: Ambiguous class resolution, "Laminas\Mime\Mime" was found in both "/opt/elgg/vendor/elgg/elgg/engine/vendor_classes/Laminas/Mime/Mime.php" and "/opt/elgg/vendor/laminas/laminas-mime/src/Mime.php", the first will be used.
Warning: Ambiguous class resolution, "CssCrush\BalancedMatch" was found in both "/opt/elgg/vendor/elgg/elgg/engine/vendor_classes/CssCrush/BalancedMatch.php" and "/opt/elgg/vendor/css-crush/css-crush/lib/CssCrush/BalancedMatch.php", the first will be used.
Warning: Ambiguous class resolution, "CssCrush\Process" was found in both "/opt/elgg/vendor/elgg/elgg/engine/vendor_classes/CssCrush/Process.php" and "/opt/elgg/vendor/css-crush/css-crush/lib/CssCrush/Process.php", the first will be used.
Warning: Ambiguous class resolution, "CssCrush\StringObject" was found in both "/opt/elgg/vendor/elgg/elgg/engine/vendor_classes/CssCrush/StringObject.php" and "/opt/elgg/vendor/css-crush/css-crush/lib/CssCrush/StringObject.php", the first will be used.
68 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Nikolai Shcherbin@rivervanrain
Nikolai Shcherbin - 0 likes
- Tagged2@Tagged2
Tagged2 - 0 likes
You must log in to post replies.All Ok.
Don't worry about the warnings, it's normal ;)
Thanks. Just wanted to make sure I wasn't seeing anything bad :).