plugin-Authenticator icon indicating copy to clipboard operation
plugin-Authenticator copied to clipboard

docker with syspass 3.2.11 fails due to php version.

Open takigama opened this issue 3 years ago • 1 comments

Hi, I was trying this out to see how well it would work, running the latest syspass available on docker hub (3.2.11), but it fails due to php being too old:

[Wed Sep 28 04:18:26.470977 2022] [php7:error] [pid 905] [client ] PHP Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.4.0". You are running 7.3.31-1~deb10u1. in /var/www/html/sysPass/vendor/composer/platform_check.php on line 24

Being the type of person I am, I disabled the check and everything works fine, but out of the box it doesn't seem to work currently.

takigama avatar Sep 28 '22 04:09 takigama

True... Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.4.0". I mus use image: syspass/syspass:3.2.11-php7.4

docker-compose.yml is wrong in this case...

(...)
app:
    container_name: syspass-app
    image: syspass/syspass:latest
(...)
environment:
      - USE_SSL=yes
      - COMPOSER_EXTENSIONS=syspass/plugin-authenticator:^v2.2
(...)

krystianroza avatar Oct 03 '22 11:10 krystianroza