You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2025-03-24 23:16:45

manubzz
Member
Registered: 2013-09-16
Posts: 13

Impossible de mettre à jour des plugins via marketplace

Bonjour,

Je souhaite mettre à jour les plugins d'une instance GLPI hébergée sur un serveur Plesk.

Quand je souhaite mettre à jour un plugin via l'interface marketplace voici une erreur renvoyée dans les logs :

2025-03-24 21:57:46] glpiphplog.CRITICAL:   *** Uncaught Exception UnexpectedValueException: RecursiveDirectoryIterator::__construct(phar:///var/www/vhosts/support.tld/httpdocs/files/_tmp/archisw-v3.0.20.tar.gz/): Failed to open directory: '/var/www/vhosts/support.tld/httpdocs/files/_tmp/archisw-v3.0.20.tar.gz' is not a phar archive. Use PharData::__construct() for a standard zip or tar archive<br />
phar url "phar:///var/www/vhosts/support.tld/httpdocs/files/_tmp/archisw-v3.0.20.tar.gz/" is unknown in /var/www/vhosts/support.tld/httpdocs/vendor/wapmorgan/unified-archive/src/Drivers/TarByPhar.php at line 121
  Backtrace :
  :                                                  RecursiveDirectoryIterator->__construct()
  ...n/unified-archive/src/Drivers/TarByPhar.php:121 PharData->__construct()
  ...n/unified-archive/src/Drivers/TarByPhar.php:113 wapmorgan\UnifiedArchive\Drivers\TarByPhar->open()
  ...rgan/unified-archive/src/UnifiedArchive.php:304 wapmorgan\UnifiedArchive\Drivers\TarByPhar->__construct()
  ...organ/unified-archive/src/UnifiedArchive.php:91 wapmorgan\UnifiedArchive\UnifiedArchive->__construct()
  src/Marketplace/Controller.php:131                 wapmorgan\UnifiedArchive\UnifiedArchive::open()
  ajax/marketplace.php:75                            Glpi\Marketplace\Controller->downloadPlugin()
  public/index.php:82                                require()

Voici les informations du serveur Plesk :

Product version: Plesk Obsidian 18.0.67.3
     OS version: Ubuntu 22.04 x86_64
     Build date: 2025/02/17 08:00
       Revision: c17d180dfad7a47fb316d12c918b2ec37bdcadf6

Le serveur fonctionne avec Php8.2, le plugin bz2 semble bien installé :

/opt/plesk/php/8.2/bin/php --version
PHP 8.2.28 (cli) (built: Mar 14 2025 13:29:50) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.28, Copyright (c) Zend Technologies
    with Zend OPcache v8.2.28, Copyright (c), by Zend Technologies
/opt/plesk/php/8.2/bin/php -m | grep bz
bz2

Je peux fournir plus d'informations si besoin.

Si quelqu'un a une piste, merci !

Offline

Board footer

Powered by FluxBB