GLPI 12.0.0 compatility with Metabase plugin

未关闭
#171 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
48/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
apache, docker, php
领域
api, backend

调研方向

Start by identifying the installation error shown in the attached image and compare the plugin's installation requirements with GLPI 12.0.0 and PHP 8.4. The report names plugin version 1.5.0 but gives no reproduction steps or log output; confirm the failure and define a successful installation on GLPI 12 as the completion criterion.

由索引模型根据 Issue 内容生成。

描述

Code of Conduct
  • I agree to follow this project's Code of Conduct
Is there an existing issue for this?
  • I have searched the existing issues
GLPI Version

12.0.0

Plugin version

1.5.0

Bug description

Bonjour,
Je viens d'installer GLPI 12.0 dans un container Docker avec PHP 8.4 et Apache2.
J'ai téléchargé la dernière version de votre plugin et lors de son installation, j'ai l'erreur affichée.
Image
Que dois-je faire ?
Dans l'attente,
Cordialement,

Relevant log output

Page URL

No response

Steps To reproduce

No response

Your GLPI setup information
GLPI information
GLPI: 12.0.0 (/glpi12_test => /var/www/html/glpi12_test)
Installation mode: TARBALL
Current language: fr_FR
Source Integrity: OK
Server
Operating system: Linux c63c861e6275 6.1.0-44-amd64 #​1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64

PHP: 8.4.27 apache2handler

PHP extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, random, Reflection, SPL, session, standard, sodium, apache2handler, mysqlnd, PDO, xml, bcmath, bz2, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, iconv, igbinary, imagick, intl, ldap, exif, mysqli, pdo_mysql, pdo_sqlite, Phar, posix, readline, shmop, SimpleXML, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, redis, Zend OPcache

Setup: disable_functions="" max_execution_time="30" max_input_vars="1000" memory_limit="128M" post_max_size="8M" session.cookie_secure="1" session.cookie_httponly="1" session.cookie_samesite="" session.save_handler="files" upload_max_filesize="2M"

Web server: Apache/2.4.69 (Debian) (Apache/2.4.69 (Debian) Server at cabm-docker.beziers-mediterranee.fr Port 1193)

User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/157.0.0.0 Safari/537.36 Edg/157.0.0.0

Database:

Server Software: mariadb.org binary distribution

Server Version: 12.3.2-MariaDB-ubu2404

Server SQL Mode: STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

Parameters: root@glpi_mariadbLTS/glpi_test_glpi12

Host info: glpi_mariadbLTS via TCP/IP

Requirements:
PHP version (8.4.27) is supported.
OS and PHP are relying on 64 bits integers.
Sessions configuration is OK.
Allocated memory is sufficient.
Following extensions are installed: dom, fileinfo, filter, libxml, simplexml, tokenizer, xmlreader, xmlwriter.
mysqli extension is installed
curl extension is installed
gd extension is installed
intl extension is installed
mbstring extension is installed
zlib extension is installed
bcmath extension is installed
The constant SODIUM_CRYPTO_AEAD_XCHACHA20POLY1305_IETF_NPUBBYTES is present.
openssl extension is installed
Database engine version (12.3.2) is supported.
Write access to log files has been validated.
Write access to /var/www/html/glpi12_test/files/_cache has been validated.
Write access to /var/www/html/glpi12_test/files/_cron has been validated.
Write access to /var/www/html/glpi12_test/files has been validated.
Write access to /var/www/html/glpi12_test/files/_graphs has been validated.
Write access to /var/www/html/glpi12_test/files/_lock has been validated.
Write access to /var/www/html/glpi12_test/files/_pictures has been validated.
Write access to /var/www/html/glpi12_test/files/_plugins has been validated.
Write access to /var/www/html/glpi12_test/files/_rss has been validated.
Write access to /var/www/html/glpi12_test/files/_sessions has been validated.
Write access to /var/www/html/glpi12_test/files/_tmp has been validated.
Write access to /var/www/html/glpi12_test/files/_uploads has been validated.
Security key files are accessibles.

Sessions configuration is secured.
exif extension is installed
ldap extension is installed
Following extensions are installed: bz2, Phar, zip.
Zend OPcache extension is installed
Following extensions are installed: ctype, iconv, sodium.
Write access to /var/www/html/glpi12_test/marketplace has been validated.
Timezones seems loaded in database.

GLPI constants

GLPI_ROOT: "/var/www/html/glpi12_test"
GLPI_VERSION: "12.0.0"
GLPI_SCHEMA_VERSION: "12.0.0@5768fcc43eb6712d0bc124e36b6be3f1e5e506fb"
GLPI_FILES_VERSION: "12.0.0-e441863f"
GLPI_MIN_PHP: "8.3"
GLPI_MAX_PHP: "8.5"
GLPI_YEAR: "2026"
GLPI_I18N_DIR: "/var/www/html/glpi12_test/locales"
GLPI_CACHE_CLASSES: true
GLPI_CACHE_REDIS_HOST: "172.11.0.13"
GLPI_CACHE_REDIS_PORT: 6379
GLPI_CACHE_REDIS_PASSWORD: ""
GLPI_CACHE_REDIS_DB: 1212
GLPI_SERVERSIDE_URL_ALLOWED_PRIVATE_NETWORKS_CONTEXTS: ["Agent","Auth","GlpiPlugin\Bookstack\Knowledge"]
GLPI_ENVIRONMENT_TYPE: "production"
GLPI_CONFIG_DIR: "/var/www/html/glpi12_test/config"
GLPI_VAR_DIR: "/var/www/html/glpi12_test/files"
GLPI_MARKETPLACE_DIR: "/var/www/html/glpi12_test/marketplace"
GLPI_ALLOW_IFRAME_IN_RICH_TEXT: false
GLPI_DISALLOWED_UPLOADS_PATTERN: "/\.(php\d*|phar)$/i"
GLPI_TRUSTED_REVERSE_PROXIES: []
GLPI_REVERSE_PROXY_HEADERS: ["X-Forwarded-For"]
GLPI_TELEMETRY_URI: "https://telemetry.glpi-project.org"
GLPI_INSTALL_MODE: "TARBALL"
GLPI_NETWORK_MAIL: "[email protected]"
GLPI_NETWORK_SERVICES: "https://services.glpi-network.com"
GLPI_MARKETPLACE_ENABLE: 3
GLPI_MARKETPLACE_PRERELEASES: false
GLPI_MARKETPLACE_ALLOW_OVERRIDE: true
GLPI_MARKETPLACE_MANUAL_DOWNLOADS: true
GLPI_USER_AGENT_EXTRA_COMMENTS: ""
GLPI_DOCUMENTATION_ROOT_URL: "https://links.glpi-project.org"
GLPI_DISABLE_ONLY_FULL_GROUP_BY_SQL_MODE: "1"
GLPI_DISABLE_REAUTH: false
GLPI_LOG_LVL: "warning"
GLPI_SKIP_UPDATES: false
GLPI_STRICT_ENV: false
GLPI_AJAX_DASHBOARD: "1"
GLPI_CALDAV_IMPORT_STATE: 0
GLPI_CENTRAL_WARNINGS: "1"
GLPI_SYSTEM_CRON: false
GLPI_TEXT_MAXSIZE: "4000"
GLPI_WEBHOOK_ALLOW_RESPONSE_SAVING: "0"
GLPI_WEBHOOK_CRA_MANDATORY: false
GLPI_ALTCHA_MODE: "interactive"
GLPI_ALTCHA_COST: 5000
GLPI_ALTCHA_EXPIRATION_INTERVAL: "PT20M"
GLPI_DOC_DIR: "/var/www/html/glpi12_test/files"
GLPI_CACHE_DIR: "/var/www/html/glpi12_test/files/_cache"
GLPI_CRON_DIR: "/var/www/html/glpi12_test/files/_cron"
GLPI_GRAPH_DIR: "/var/www/html/glpi12_test/files/_graphs"
GLPI_LOCAL_I18N_DIR: "/var/www/html/glpi12_test/files/_locales"
GLPI_LOCK_DIR: "/var/www/html/glpi12_test/files/_lock"
GLPI_LOG_DIR: "/var/www/html/glpi12_test/files/_log"
GLPI_PICTURE_DIR: "/var/www/html/glpi12_test/files/_pictures"
GLPI_PLUGIN_DOC_DIR: "/var/www/html/glpi12_test/files/_plugins"
GLPI_RSS_DIR: "/var/www/html/glpi12_test/files/_rss"
GLPI_SESSION_DIR: "/var/www/html/glpi12_test/files/_sessions"
GLPI_TMP_DIR: "/var/www/html/glpi12_test/files/_tmp"
GLPI_UPLOAD_DIR: "/var/www/html/glpi12_test/files/_uploads"
GLPI_INVENTORY_DIR: "/var/www/html/glpi12_test/files/_inventories"
GLPI_THEMES_DIR: "/var/www/html/glpi12_test/files/_themes"
GLPI_PLUGINS_DIRECTORIES: ["/var/www/html/glpi12_test/marketplace","/var/www/html/glpi12_test/plugins"]
GLPI_NETWORK_API_URL: "https://services.glpi-network.com/api"
GLPI_NETWORK_REGISTRATION_API_URL: "https://services.glpi-network.com/api/registration/"
GLPI_MARKETPLACE_PLUGINS_API_URI: "https://services.glpi-network.com/api/marketplace/"
LDAP directories

Server: '10.34.105.1',
Port: '389',
BaseDN: 'dc=Mam, dc=cabeme',
Connection filter: '(objectClass=user)',
RootDN: 'cn=administrateur, cn=users, dc=Mam, dc=cabeme',
Use TLS: none

Server: '10.3.12.9',
Port: '389',
BaseDN: 'OU=CABM,DC=beziers-agglo,DC=org',
Connection filter: '(objectClass=user)',
RootDN: 'CN=glpi_ldap,OU=LDAP_SYNCRO,OU=Applicatifs,OU=Utilisateurs,OU=CABM,DC=beziers-agglo,DC=org',
Use TLS: none

Server: '10.3.12.9',
Port: '389',
BaseDN: 'ou=CABM, dc=beziers-agglo, dc=org',
Connection filter: '(objectClass=user)',
RootDN: 'CN=glpi_ldap,OU=LDAP_SYNCRO,OU=Applicatifs,OU=Utilisateurs,OU=CABM,DC=beziers-agglo,DC=org',
Use TLS: none

Server: '10.3.12.9',
Port: '389',
BaseDN: 'OU=Communes Externes,OU=Agents,OU=Utilisateurs,OU=CABM,DC=beziers-agglo,DC=org',
Connection filter: none,
RootDN: 'CN=glpi_ldap,OU=LDAP_SYNCRO,OU=Applicatifs,OU=Utilisateurs,OU=CABM,DC=beziers-agglo,DC=org',
Use TLS: none

Server: '10.3.12.55',
Port: '389',
BaseDN: 'OU=_Listing Agents,OU=Agents,OU=Utilisateurs,OU=CABM,DC=beziers-agglo,DC=org',
Connection filter: '(objectClass=user)',
RootDN: 'CN=glpi_ldap,OU=LDAP_SYNCRO,OU=Applicatifs,OU=Utilisateurs,OU=CABM,DC=beziers-agglo,DC=org',
Use TLS: none

Server: '10.3.12.55',
Port: '389',
BaseDN: 'OU=Utilisateurs MAM,OU=CABM,DC=beziers-agglo,DC=org',
Connection filter: '(objectClass=user)',
RootDN: 'CN=glpi_ldap,OU=LDAP_SYNCRO,OU=Applicatifs,OU=Utilisateurs,OU=CABM,DC=beziers-agglo,DC=org',
Use TLS: none

SQL replicas

Not active
Notifications

Way of sending emails: SMTP(smtp://notification%40beziers-mediterranee.fr:********@smtp.office365.com:587?verify_peer=0&local_domain=cabm-docker.beziers-mediterranee.fr)
Name: 'Ticket Support Informatique'
Active: Yes
Server: '{outlook.office365.com:993/imap-oauth-1/ssl/validate-cert/notls}inbox'
Login: '[email protected]'
Password: No
Name: 'Onboarding'
Active: Yes
Server: '{outlook.office365.com:993/imap-oauth-1/ssl/validate-cert/notls}inbox'
Login: '[email protected]'
Password: No
Plugins list

bookstack Name: BookStack Version: 1.1.0 State: Enabled Install Method: Manual
timelineticket Name: Chronologie des tickets Version: 12.0.0 State: Enabled Install Method: Marketplace
datainjection Name: Data Injection Version: 2.16.0 State: Enabled Install Method: Marketplace
formcreator Name: Form Creator Version: 2.13.11 State: Error / to clean Install Method: Manual
manufacturersimports Name: Imports fabricants Version: 3.2.0 State: Enabled Install Method: Marketplace
oauthimap Name: Oauth IMAP Version: 1.4.5 State: Error / to clean Install Method: Manual
mreporting Name: Plus de rapports Version: 1.11.0 State: Enabled Install Method: Marketplace
reports Name: Rapports Version: 2.1.0 State: Enabled Install Method: Marketplace
roundrobin Name: Round Robin Version: 1.0.9 State: Error / to clean Install Method: Manual
actualtime Name: ActualTime Version: 3.2.0 State: Error / to clean Install Method: Manual
news Name: Alertes Version: 1.12.5 State: Error / to clean Install Method: Manual
treeview Name: Arborescence Version: 1.10.2 State: Error / to clean Install Method: Manual
barcode Name: Barcode Version: 2.7.1 State: Error / to clean Install Method: Manual
behaviors Name: Comportements Version: 2.7.8 State: Error / to clean Install Method: Manual
mydashboard Name: Dashboard Version: 2.1.5 State: Error / to clean Install Method: Manual
escalade Name: Escalades Version: 2.9.19 State: Error / to clean Install Method: Manual
tag Name: Gestion des tags Version: 2.12.5 State: Error / to clean Install Method: Manual
pdf Name: Impression pdf Version: 4.0.2 State: Error / to clean Install Method: Manual
tasklists Name: Liste des tâches Version: 2.0.4 State: Error / to clean Install Method: Manual
glpiinventory Name: GLPI Inventory Version: 1.7.0 State: To update Install Method: Marketplace
metabase Name: Metabase Version: 1.5.0 State: To update Install Method: Manual

Anything else?

No response

主要语言
PHP
星标
17
派生
12
平均合并
1 小时 47 分钟
30 天内合并 PR
5

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

pluginsGLPI/metabase 的其他 Issue

查看 pluginsGLPI/metabase 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。