ITADN

Docker installation issues, composer

#145Closedpaul-uz 创建于 2024-12-16
P
paul-uzcommented
Followed the documentation and was met with the following error ``` root@48cc4e20f20e:/application# sh docker-first-run.sh 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 - php is present at version 7.4.33 and cannot be modified by Composer - symfony/orm-pack is locked to version v2.4.0 and an update of this package was not requested. - symfony/orm-pack v2.4.0 conflicts with php <8.1. > php -r "include_once 'installer//AutoInstaller.php'; use Installer\AutoInstaller; AutoInstaller::runDocker();" < /dev/tty Fatal error: Uncaught Exception: Composer autoload file was not found, did You called `composer install` earlier? in /application/installer/AutoInstaller.php:12 Stack trace: #0 Command line code(1): include_once() #1 {main} thrown in /application/installer/AutoInstaller.php on line 12 Script php -r "include_once 'installer//AutoInstaller.php'; use Installer\AutoInstaller; AutoInstaller::runDocker();" < /dev/tty handling the pms-installer-docker event returned with error code 255 ``` Tried running `composer update` and got ``` root@48cc4e20f20e:/application# composer update 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 specshaper/encrypt-bundle dev-master -> satisfiable by specshaper/encrypt-bundle[dev-master]. - doctrine/orm[2.11.0, ..., 2.20.0] require doctrine/common ^3.0.3 -> found doctrine/common[3.0.3, ..., 3.4.5] but it conflicts with your root composer.json require (^2). - specshaper/encrypt-bundle dev-master requires doctrine/orm ^2.11 -> satisfiable by doctrine/orm[2.11.0, ..., 2.20.0]. Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions. ```
关闭于 2024-12-21 3 条评论