Nikeev / sesdashboard

Analytics and activity tracking dashboard for AWS Simple Email Service
https://sesdashboard.com/
MIT License
86 stars 27 forks source link

compose fails to run #42

Closed gcormier closed 2 years ago

gcormier commented 2 years ago

Fresh clone and docker, working through the install, fails to run.

[ec2-user@ip-172-30-0-176 sesdashboard]$ docker exec -it sesdashboard-php-fpm composer install
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.2.5 but your php version (8.1.5) does not satisfy that requirement.
  Problem 2
    - async-aws/core is locked to version 1.13.0 and an update of this package was not requested.
    - async-aws/core 1.13.0 requires ext-simplexml * -> it is missing from your system. Install or enable PHP's simplexml extension.
  Problem 3
    - box/spout is locked to version v3.3.0 and an update of this package was not requested.
    - box/spout v3.3.0 requires ext-dom * -> it is missing from your system. Install or enable PHP's dom extension.
  Problem 4
    - symfony/framework-bundle is locked to version v5.4.2 and an update of this package was not requested.
    - symfony/framework-bundle v5.4.2 requires ext-xml * -> it is missing from your system. Install or enable PHP's xml extension.
  Problem 5
    - symfony/security-bundle is locked to version v5.4.2 and an update of this package was not requested.
    - symfony/security-bundle v5.4.2 requires ext-xml * -> it is missing from your system. Install or enable PHP's xml extension.
  Problem 6
    - phar-io/manifest is locked to version 2.0.3 and an update of this package was not requested.
    - phar-io/manifest 2.0.3 requires ext-dom * -> it is missing from your system. Install or enable PHP's dom extension.
  Problem 7
    - phpunit/php-code-coverage is locked to version 9.2.10 and an update of this package was not requested.
    - phpunit/php-code-coverage 9.2.10 requires ext-dom * -> it is missing from your system. Install or enable PHP's dom extension.
  Problem 8
    - phpunit/phpunit is locked to version 9.5.11 and an update of this package was not requested.
    - phpunit/phpunit 9.5.11 requires ext-dom * -> it is missing from your system. Install or enable PHP's dom extension.
  Problem 9
    - symfony/debug-bundle is locked to version v5.4.2 and an update of this package was not requested.
    - symfony/debug-bundle v5.4.2 requires ext-xml * -> it is missing from your system. Install or enable PHP's xml extension.
  Problem 10
    - theseer/tokenizer is locked to version 1.2.1 and an update of this package was not requested.
    - theseer/tokenizer 1.2.1 requires ext-dom * -> it is missing from your system. Install or enable PHP's dom extension.
  Problem 11
    - async-aws/core 1.13.0 requires ext-simplexml * -> it is missing from your system. Install or enable PHP's simplexml extension.
    - async-aws/ses 1.4.1 requires async-aws/core ^1.9 -> satisfiable by async-aws/core[1.13.0].
    - async-aws/ses is locked to version 1.4.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.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-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-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
    - /etc/php/8.1/cli/conf.d/20-yaml.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-simplexml --ignore-platform-req=ext-dom --ignore-platform-req=ext-xml --ignore-platform-req=ext-xml --ignore-platform-req=ext-dom --ignore-platform-req=ext-dom --ignore-platform-req=ext-dom --ignore-platform-req=ext-xml --ignore-platform-req=ext-dom --ignore-platform-req=ext-simplexml` to temporarily ignore these required extensions.
Nikeev commented 2 years ago

Hello!

It seems that phpdockerio image now points to php 8.1 instead of 7.4 which is required. You could manually change docker configuration to use php7.4 for now or use AWS Marketplace version. I will investigate and fix this issue later. Thank for report!

Nikeev commented 2 years ago

Hello!

I've updated php Dockerfile, please check.

You could git pull new changes Next run docker-compose build php-fpm --no-cache And continue installation process.

gcormier commented 2 years ago

That fixed it up!