Skip to content

I cannot update plugin #923

@FlaminWrap

Description

@FlaminWrap

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

10.0.18

Plugin version

1.21.19

Bug description

When I press the update plugin button on marketplace I get a strange output. The plugin does not update. This was updating from 10.0.16 to 10.0.18

Image

Relevant log output

MySQL tables installation	
Updating glpi_plugin_fields_fields (0 seconds)

Fix fields names (0 seconds)

Change of the database layout - glpi_plugin_fields_computercomputeradditionalfields (0 seconds)

Change of the database layout - glpi_plugin_fields_computercomputeradditionalfields (0 seconds)

Change of the database layout - glpi_plugin_fields_printerprinteradditionalfields (0 seconds)

Change of the database layout - glpi_plugin_fields_printerprinteradditionalfields (0 seconds)

Change of the database layout - glpi_plugin_fields_monitormonitoradditionalfields (0 seconds)

Change of the database layout - glpi_plugin_fields_monitormonitoradditionalfields (0 seconds)

Change of the database layout - glpi_plugin_fields_fields (0 seconds)

Task completed. (0 seconds)

Regenerate containers files (0 seconds)

Task completed. (0 seconds)

Updating generated containers files (0 seconds)

Page URL

front/marketplace.php

Steps To reproduce

I am unsure how to replicate this.

Your GLPI setup information

Information about system installation and configuration
GLPI 10.0.18 ( => /data/html/glpi/html)
Installation mode: TARBALL
Current language:en_GB

Server
 
Operating system: Linux GLPI 5.14.0-503.23.1.el9_5.x86_64 #​1 SMP PREEMPT_DYNAMIC Thu Feb 6 06:58:49 EST 2025 x86_64
PHP 8.2.27 fpm-fcgi (Core, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, bz2, calendar, cgi-fcgi, ctype, curl, date, dom,
exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, intl, json, ldap, libxml, mbstring, mysqli, mysqlnd, openssl, pcre,
pdo_mysql, pdo_sqlite, posix, random, session, shmop, sockets, sodium, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tokenizer,
xml, xmlreader, xmlwriter, xsl, zip, zlib)
Setup: max_execution_time="30" memory_limit="128M" post_max_size="8M" safe_mode="" session.save_handler="files"
upload_max_filesize="2M" disable_functions=""
Software: Apache/2.4.62 (AlmaLinux) OpenSSL/3.2.2 ()
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36 Edg/133.0.0.0
Server Software: MariaDB Server
Server Version: 10.5.27-MariaDB
Server SQL Mode: STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
Parameters: glpi_user@localhost/glpi
Host info: Localhost via UNIX socket

PHP version (8.2.27) is supported.
Sessions configuration is OK.
Allocated memory is sufficient.
mysqli extension is installed.
Following extensions are installed: dom, fileinfo, filter, libxml, json, simplexml, xmlreader, xmlwriter.
curl extension is installed.
gd extension is installed.
intl extension is installed.
zlib extension is installed.
The constant SODIUM_CRYPTO_AEAD_XCHACHA20POLY1305_IETF_NPUBBYTES is present.
Database engine version (10.5.27) is supported.
No files from previous GLPI version detected.
The log file has been created successfully.
Write access to /data/html/glpi/html/files/_cache has been validated.
Write access to /data/html/glpi/html/files/_cron has been validated.
Write access to /data/html/glpi/html/files has been validated.
Write access to /data/html/glpi/html/files/_dumps has been validated.
Write access to /data/html/glpi/html/files/_graphs has been validated.
Write access to /data/html/glpi/html/files/_lock has been validated.
Write access to /data/html/glpi/html/files/_pictures has been validated.
Write access to /data/html/glpi/html/files/_plugins has been validated.
Write access to /data/html/glpi/html/files/_rss has been validated.
Write access to /data/html/glpi/html/files/_sessions has been validated.
Write access to /data/html/glpi/html/files/_tmp has been validated.
Write access to /data/html/glpi/html/files/_uploads has been validated.
For security reasons, SELinux mode should be Enforcing.

Web server root directory configuration seems safe.
Sessions configuration is secured.
OS and PHP are relying on 64 bits integers.
exif extension is installed.
ldap extension is installed.
openssl extension is installed.
Following extensions are installed: bz2, Phar, zip.
Zend OPcache extension is installed.
Following extensions are installed: ctype, iconv, mbstring, sodium.
Write access to /data/html/glpi/html/marketplace has been validated.
Timezones seems loaded in database.

GLPI constants
 
GLPI_ROOT: "/data/html/glpi/html"
GLPI_CONFIG_DIR: "/data/html/glpi/html/config"
GLPI_VAR_DIR: "/data/html/glpi/html/files"
GLPI_MARKETPLACE_DIR: "/data/html/glpi/html/marketplace"
GLPI_USE_CSRF_CHECK: "1"
GLPI_CSRF_EXPIRES: "7200"
GLPI_CSRF_MAX_TOKENS: "100"
GLPI_USE_IDOR_CHECK: "1"
GLPI_IDOR_EXPIRES: "7200"
GLPI_ALLOW_IFRAME_IN_RICH_TEXT: false
GLPI_SERVERSIDE_URL_ALLOWLIST: ["#^http://[^@:]+(:80)?(/.)?$#","#^https://[^@:]+(:443)?(/.)?$#","#^feed://[^@:]+(/.)?$#"]
GLPI_DISALLOWED_UPLOADS_PATTERN: "/\.(php\d
|phar)$/i"
GLPI_TELEMETRY_URI: "https://telemetry.glpi-project.org"
GLPI_INSTALL_MODE: "TARBALL"
GLPI_NETWORK_MAIL: "glpi@teclib.com"
GLPI_NETWORK_SERVICES: "https://services.glpi-network.com"
GLPI_MARKETPLACE_ALLOW_OVERRIDE: true
GLPI_MARKETPLACE_MANUAL_DOWNLOADS: true
GLPI_USER_AGENT_EXTRA_COMMENTS: ""
GLPI_DISABLE_ONLY_FULL_GROUP_BY_SQL_MODE: "1"
GLPI_AJAX_DASHBOARD: "1"
GLPI_CALDAV_IMPORT_STATE: 0
GLPI_DEMO_MODE: "0"
GLPI_CENTRAL_WARNINGS: "1"
GLPI_TEXT_MAXSIZE: "4000"
GLPI_DOC_DIR: "/data/html/glpi/html/files"
GLPI_CACHE_DIR: "/data/html/glpi/html/files/_cache"
GLPI_CRON_DIR: "/data/html/glpi/html/files/_cron"
GLPI_DUMP_DIR: "/data/html/glpi/html/files/_dumps"
GLPI_GRAPH_DIR: "/data/html/glpi/html/files/_graphs"
GLPI_LOCAL_I18N_DIR: "/data/html/glpi/html/files/_locales"
GLPI_LOCK_DIR: "/data/html/glpi/html/files/_lock"
GLPI_LOG_DIR: "/data/html/glpi/html/files/_log"
GLPI_PICTURE_DIR: "/data/html/glpi/html/files/_pictures"
GLPI_PLUGIN_DOC_DIR: "/data/html/glpi/html/files/_plugins"
GLPI_RSS_DIR: "/data/html/glpi/html/files/_rss"
GLPI_SESSION_DIR: "/data/html/glpi/html/files/_sessions"
GLPI_TMP_DIR: "/data/html/glpi/html/files/_tmp"
GLPI_UPLOAD_DIR: "/data/html/glpi/html/files/_uploads"
GLPI_INVENTORY_DIR: "/data/html/glpi/html/files/_inventories"
GLPI_NETWORK_REGISTRATION_API_URL: "https://services.glpi-network.com/api/registration/"
GLPI_MARKETPLACE_PLUGINS_API_URI: "https://services.glpi-network.com/api/marketplace/"
GLPI_I18N_DIR: "/data/html/glpi/html/locales"
GLPI_VERSION: "10.0.18"
GLPI_SCHEMA_VERSION: "10.0.18@d64066799f068b16ee973b377bdd13f984fe062a"
GLPI_MARKETPLACE_PRERELEASES: false
GLPI_MIN_PHP: "7.4.0"
GLPI_MAX_PHP: "8.4.0"
GLPI_YEAR: "2025"

Libraries
 
htmlawed/htmlawed version 1.2.14 in (/data/html/glpi/html/vendor/htmlawed/htmlawed)
phpmailer/phpmailer version 6.8.0 in (/data/html/glpi/html/vendor/phpmailer/phpmailer/src)
simplepie/simplepie version 1.5.8 in (/data/html/glpi/html/vendor/simplepie/simplepie/library)
tecnickcom/tcpdf version 6.4.4 in (/data/html/glpi/html/plugins/pdf/vendor/tecnickcom/tcpdf)
michelf/php-markdown in (/data/html/glpi/html/vendor/michelf/php-markdown/Michelf)
true/punycode in (/data/html/glpi/html/vendor/true/punycode/src)
iamcal/lib_autolink in (/data/html/glpi/html/vendor/iamcal/lib_autolink)
sabre/dav in (/data/html/glpi/html/vendor/sabre/dav/lib/DAV)
sabre/http in (/data/html/glpi/html/vendor/sabre/http/lib)
sabre/uri in (/data/html/glpi/html/vendor/sabre/uri/lib)
sabre/vobject in (/data/html/glpi/html/vendor/sabre/vobject/lib)
laminas/laminas-i18n in (/data/html/glpi/html/vendor/laminas/laminas-i18n/src)
laminas/laminas-servicemanager in (/data/html/glpi/html/vendor/laminas/laminas-servicemanager/src)
monolog/monolog in (/data/html/glpi/html/vendor/monolog/monolog/src/Monolog)
sebastian/diff in (/data/html/glpi/html/vendor/sebastian/diff/src)
donatj/phpuseragentparser in (/data/html/glpi/html/vendor/donatj/phpuseragentparser/src/UserAgent)
elvanto/litemoji in (/data/html/glpi/html/vendor/elvanto/litemoji/src)
symfony/console in (/data/html/glpi/html/vendor/symfony/console)
scssphp/scssphp in (/data/html/glpi/html/vendor/scssphp/scssphp/src)
laminas/laminas-mail in (/data/html/glpi/html/vendor/laminas/laminas-mail/src/Protocol)
laminas/laminas-mime in (/data/html/glpi/html/vendor/laminas/laminas-mime/src)
rlanvin/php-rrule in (/data/html/glpi/html/vendor/rlanvin/php-rrule/src)
ramsey/uuid in (/data/html/glpi/html/vendor/ramsey/uuid/src)
psr/log in (/data/html/glpi/html/vendor/psr/log/Psr/Log)
psr/simple-cache in (/data/html/glpi/html/vendor/psr/simple-cache/src)
psr/cache in (/data/html/glpi/html/vendor/psr/cache/src)
league/csv in (/data/html/glpi/html/vendor/league/csv/src)
mexitek/phpcolors in (/data/html/glpi/html/vendor/mexitek/phpcolors/src/Mexitek/PHPColors)
guzzlehttp/guzzle in (/data/html/glpi/html/vendor/guzzlehttp/guzzle/src)
guzzlehttp/psr7 in (/data/html/glpi/html/vendor/guzzlehttp/psr7/src)
glpi-project/inventory_format in (/data/html/glpi/html/vendor/glpi-project/inventory_format/lib/php)
wapmorgan/unified-archive in (/data/html/glpi/html/vendor/wapmorgan/unified-archive/src)
paragonie/sodium_compat in (/data/html/glpi/html/vendor/paragonie/sodium_compat/src)
symfony/cache in (/data/html/glpi/html/vendor/symfony/cache)
html2text/html2text in (/data/html/glpi/html/vendor/html2text/html2text/src)
symfony/css-selector in (/data/html/glpi/html/vendor/symfony/css-selector)
symfony/dom-crawler in (/data/html/glpi/html/vendor/symfony/dom-crawler)
twig/twig in (/data/html/glpi/html/vendor/twig/twig/src)
twig/string-extra in (/data/html/glpi/html/vendor/twig/string-extra)
symfony/polyfill-ctype not found
symfony/polyfill-iconv not found
symfony/polyfill-mbstring not found
symfony/polyfill-php80 not found
symfony/polyfill-php81 not found
symfony/polyfill-php82 in (/data/html/glpi/html/vendor/symfony/polyfill-php82)
league/oauth2-client in (/data/html/glpi/html/vendor/league/oauth2-client/src/Provider)
league/oauth2-google in (/data/html/glpi/html/vendor/league/oauth2-google/src/Provider)
thenetworg/oauth2-azure in (/data/html/glpi/html/vendor/thenetworg/oauth2-azure/src/Provider)

SQL replicas
 
Not active

Notifications
 
Way of sending emails: SMTP+TLS (anonymous@***.mail.protection.outlook.com)

Plugins list
 
fields Name: Additional fields Version: 1.21.19 State: To update
Install Method: Manual
datainjection Name: Data injection Version: 2.14.1 State: Enabled
Install Method: Manual
formcreator Name: Form Creator Version: 2.13.9 State: Enabled
Install Method: Manual
glpiinventory Name: GLPI Inventory Version: 1.3.4 State: Enabled
Install Method: Manual
glpisaml Name: Glpisaml Version: 1.1.10 State: Enabled
Install Method: Manual
genericobject Name: Objects management Version: 2.14.8 State: Enabled
Install Method: Manual
pdf Name: Print to pdf Version: 3.0.0 State: Enabled
Install Method: Manual

Anything else?

I updated the plugin manually. Updating from 1.21.6 > 1.21.19. Updating from 1.21.6 > 1.21.7 also has this issue. I can update other plugins with no issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions