Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

[BUG] PHP Imagemagick Warning

Abierto
#90 4 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
30/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
docker, php
Área
devops

Línea de trabajo

Comienza con la configuración de compilación de la imagen Docker y el servicio lychee en la configuración de Docker Compose proporcionada; inspecciona cómo se instalan las versiones de PHP Imagick e ImageMagick. Reproduce el inicio del contenedor y compara las versiones compiladas y cargadas. Se considera terminado cuando el contenedor actual se inicia sin la advertencia repetida de versión de Imagick.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Is there an existing issue for this?
  • I have searched the existing issues
Current Behavior

lychee | [custom-init] No custom files found, skipping...
lychee | [ls.io-init] done.
lychee | [24-Jul-2025 11:23:55] NOTICE: PHP message: PHP Warning: Version warning: Imagick was compiled against ImageMagick version 1809 but version 1810 is loaded. Imagick will run but may behave surprisingly in Unknown on line 0
lychee | PHP Warning: Version warning: Imagick was compiled against ImageMagick version 1809 but version 1810 is loaded. Imagick will run but may behave surprisingly in Unknown on line 0
lychee |
lychee | INFO No scheduled commands are ready to run.
lychee |
lychee | PHP Warning: Version warning: Imagick was compiled against ImageMagick version 1809 but version 1810 is loaded. Imagick will run but may behave surprisingly in Unknown on line 0
lychee |
lychee | INFO No scheduled commands are ready to run.
lychee |
lychee | PHP Warning: Version warning: Imagick was compiled against ImageMagick version 1809 but version 1810 is loaded. Imagick will run but may behave surprisingly in Unknown on line 0
lychee |
lychee | INFO No scheduled commands are ready to run.

Expected Behavior

No error

Steps To Reproduce

Start the current version of the docker container.

Environment
- OS: Debian 12
- How docker service was installed: via apt
CPU architecture

x86-64

Docker creation
Docker compose 

services:
  mariadb:
    image: lscr.io/linuxserver/mariadb:latest
    container_name: lychee_mariadb
    restart: unless-stopped
    volumes:
      - ./mariadb:/config
    environment:
      - MYSQL_ROOT_PASSWORD=rootpassword
      - MYSQL_DATABASE=lychee
      - MYSQL_USER=lychee
      - MYSQL_PASSWORD=dbpassword
      - PGID=1000
      - PUID=1000
      - TZ=Europe/Berlin
  lychee:
    image: lscr.io/linuxserver/lychee:latest
    container_name: lychee
    restart: unless-stopped
    depends_on:
      - mariadb
    volumes:
      - ./config:/config
      - ./pictures:/pictures
    environment:
      - DB_CONNECTION=mysql
      - DB_HOST=mariadb
      - DB_PORT=3306
      - DB_USERNAME=lychee
      - DB_PASSWORD=dbpassword
      - DB_DATABASE=lychee
      - PGID=1000
      - PUID=1000
      - TZ=Europe/Berlin
    ports:
      - 84:80
Container logs
lychee_mariadb  | 250724 11:23:43 mysqld_safe Logging to '/config/databases/5b8774548322.err'.                                            [43/791]
lychee_mariadb  | 250724 11:23:43 mysqld_safe Starting mariadbd daemon with databases from /config/databases
lychee          | **** The following active confs have different version dates than the samples that are shipped. ****
lychee          | **** This may be due to user customization or an update to the samples. ****
lychee          | **** You should compare the following files to the samples in the same folder and update them. ****
lychee          | **** Use the link at the top of the file to view the changelog. ****
lychee          | ┌────────────┬────────────┬────────────────────────────────────────────────────────────────────────┐
lychee          | │  old date  │  new date  │ path                                                                   │
lychee          | ├────────────┼────────────┼────────────────────────────────────────────────────────────────────────┤
lychee          | │ 2024-07-16 │ 2025-05-31 │ /config/nginx/site-confs/default.conf                                  │
lychee          | │ 2023-08-13 │ 2025-07-18 │ /config/nginx/ssl.conf                                                 │
lychee          | │ 2024-05-27 │ 2025-05-31 │ /config/nginx/nginx.conf                                               │
lychee          | └────────────┴────────────┴────────────────────────────────────────────────────────────────────────┘
lychee          | Waiting for DB to be available
lychee_mariadb  | Connection to localhost (::1) 3306 port [tcp/mysql] succeeded!
lychee_mariadb  | Logrotate is enabled
lychee_mariadb  | [ls.io-init] done.
lychee          | PHP Warning:  Version warning: Imagick was compiled against ImageMagick version 1809 but version 1810 is loaded. Imagick will ru
n but may behave surprisingly in Unknown on line 0
lychee          |
lychee          |    INFO  Nothing to migrate.
lychee          |
lychee          | [custom-init] No custom files found, skipping...
lychee          | [ls.io-init] done.
lychee          | [24-Jul-2025 11:23:55] NOTICE: PHP message: PHP Warning:  Version warning: Imagick was compiled against ImageMagick version 1809
 but version 1810 is loaded. Imagick will run but may behave surprisingly in Unknown on line 0
lychee          | PHP Warning:  Version warning: Imagick was compiled against ImageMagick version 1809 but version 1810 is loaded. Imagick will ru
n but may behave surprisingly in Unknown on line 0
lychee          |
lychee          |    INFO  No scheduled commands are ready to run.
lychee          |
lychee          | PHP Warning:  Version warning: Imagick was compiled against ImageMagick version 1809 but version 1810 is loaded. Imagick will ru
n but may behave surprisingly in Unknown on line 0
lychee          |
lychee          |    INFO  No scheduled commands are ready to run.
lychee          |
lychee          | PHP Warning:  Version warning: Imagick was compiled against ImageMagick version 1809 but version 1810 is loaded. Imagick will ru
n but may behave surprisingly in Unknown on line 0
lychee          |
lychee          |    INFO  No scheduled commands are ready to run.
Lenguaje dominante
Dockerfile
Estrellas
51
Forks
15
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Issues similares

Más issues de DevOps

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.