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 2020-11-13 00:14:21

jujunea
Member
Registered: 2008-08-21
Posts: 83

Changement du statut impossible

Bonjour,

Dans mon inventaire de Matériel réseau, il est impossible de changer le status. Quand on change le statut et qu'on sauvegarde la modification, la page se recharge sans prendre en compte la modification.
Pas de message d'erreur dans glpi, pas de message d'erreur dans les logs.
Le problème apparu en 9.4.5 et n'a pas disparu en passant à la version 9.5.2.
Je ne sais pas quoi faire pour investiguer plus en détails. j'ai désactivé tous les plugins mais le problème persiste.
Dans GLPI/Administration/Journaux il y a bien une ligne avec "Matériel réseau    57    13-11-2020 09:11    Parc    4    XXX met à jour un élément"


 
GLPI 9.5.2 (/glpi => C:\xampp\htdocs\glpi)
Installation mode: TARBALL

Server
 
Operating system: Windows NT NOUSVRGLPI02 10.0 build 17763 (Windows Server 2016) AMD64
PHP 7.3.5 apache2handler (Core, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, apache2handler, bcmath, bz2, calendar,
	ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, intl, json, ldap, libxml, mbstring, mysqli,
	mysqlnd, openssl, pcre, pdo_mysql, pdo_sqlite, readline, session, sodium, standard, tokenizer, wddx, xml, xmlreader, xmlrpc,
	xmlwriter, zip, zlib)
Setup: max_execution_time="600" memory_limit="512M" post_max_size="40M" safe_mode="" session.save_handler="files"
	upload_max_filesize="40M" 
Software: Apache/2.4.39 (Win64) mod_authnz_sspi/0.1.1 OpenSSL/1.1.1b PHP/7.3.5 (Apache/2.4.39 (Win64) mod_authnz_sspi/0.1.1
	OpenSSL/1.1.1b PHP/7.3.5 Server at xxx.xxx.xxx.xxx Port 443)
	Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36
Server Software: mariadb.org binary distribution
	Server Version: 10.1.39-MariaDB
	Server SQL Mode: 
	Parameters: root@localhost/glpi
	Host info: localhost via TCP/IP
	
PHP version is at least 7.2.0 - Perfect!PHP version is at least 7.2.0 - Perfect!
Sessions support is available - Perfect!Sessions support is available - Perfect!
Allocated memory > 64 Mio - Perfect!Allocated memory > 64 Mio - Perfect!
mysqli extension is installedmysqli extension is installed
ctype extension is installedctype extension is installed
fileinfo extension is installedfileinfo extension is installed
json extension is installedjson extension is installed
mbstring extension is installedmbstring extension is installed
iconv extension is installediconv extension is installed
zlib extension is installedzlib extension is installed
curl extension is installedcurl extension is installed
gd extension is installedgd extension is installed
simplexml extension is installedsimplexml extension is installed
intl extension is installedintl extension is installed
ldap extension is installedldap extension is installed
apcu extension is not presentapcu extension is not present
Zend OPcache extension is installedZend OPcache extension is installed
xmlrpc extension is installedxmlrpc extension is installed
CAS extension is not presentCAS extension is not present
exif extension is installedexif extension is installed
zip extension is installedzip extension is installed
bz2 extension is installedbz2 extension is installed
sodium extension is installedsodium extension is installed
Database version seems correct (10.1.39) - Perfect!Database version seems correct (10.1.39) - Perfect!
Timezones seems loaded in databaseTimezones seems loaded in database
The log file has been created successfully.The log file has been created successfully.
Write access to C:\xampp\htdocs\glpi/config has been validated.Write access to C:\xampp\htdocs\glpi/config has been validated.
Write access to C:\xampp\htdocs\glpi/files has been validated.Write access to C:\xampp\htdocs\glpi/files has been validated.
Write access to C:\xampp\htdocs\glpi/files/_dumps has been validated.Write access to C:\xampp\htdocs\glpi/files/_dumps has been validated.
Write access to C:\xampp\htdocs\glpi/files/_sessions has been validated.Write access to C:\xampp\htdocs\glpi/files/_sessions has been validated.
Write access to C:\xampp\htdocs\glpi/files/_cron has been validated.Write access to C:\xampp\htdocs\glpi/files/_cron has been validated.
Write access to C:\xampp\htdocs\glpi/files/_graphs has been validated.Write access to C:\xampp\htdocs\glpi/files/_graphs has been validated.
Write access to C:\xampp\htdocs\glpi/files/_lock has been validated.Write access to C:\xampp\htdocs\glpi/files/_lock has been validated.
Write access to C:\xampp\htdocs\glpi/files/_plugins has been validated.Write access to C:\xampp\htdocs\glpi/files/_plugins has been validated.
Write access to C:\xampp\htdocs\glpi/files/_tmp has been validated.Write access to C:\xampp\htdocs\glpi/files/_tmp has been validated.
Write access to C:\xampp\htdocs\glpi/files/_cache has been validated.Write access to C:\xampp\htdocs\glpi/files/_cache has been validated.
Write access to C:\xampp\htdocs\glpi/files/_rss has been validated.Write access to C:\xampp\htdocs\glpi/files/_rss has been validated.
Write access to C:\xampp\htdocs\glpi/files/_uploads has been validated.Write access to C:\xampp\htdocs\glpi/files/_uploads has been validated.
Write access to C:\xampp\htdocs\glpi/files/_pictures has been validated.Write access to C:\xampp\htdocs\glpi/files/_pictures has been validated.
Write access to C:\xampp\htdocs\glpi/marketplace has been validated.Write access to C:\xampp\htdocs\glpi/marketplace has been validated.
Web access to the files directory should not be allowed but this cannot be checked automatically on this instance. Make sure access to error log file (/glpi/files/_log/php-errors.log) is forbidden; otherwise review .htaccess file and web server configuration.Web access to the files directory should not be allowed but this cannot be checked automatically on this instance.
Make sure access to error log file (/glpi/files/_log/php-errors.log) is forbidden; otherwise review .htaccess file and web server configuration.

GLPI constants
 
GLPI_ROOT: C:\xampp\htdocs\glpi
GLPI_CONFIG_DIR: C:\xampp\htdocs\glpi/config
GLPI_VAR_DIR: C:\xampp\htdocs\glpi/files
GLPI_MARKETPLACE_DIR: C:\xampp\htdocs\glpi/marketplace
GLPI_USE_CSRF_CHECK: 1
GLPI_CSRF_EXPIRES: 7200
GLPI_CSRF_MAX_TOKENS: 100
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_PRERELEASES: 
GLPI_USER_AGENT_EXTRA_COMMENTS: 
GLPI_AJAX_DASHBOARD: 1
GLPI_CALDAV_IMPORT_STATE: 0
GLPI_DEMO_MODE: 0
GLPI_FORCE_EMPTY_SQL_MODE: 1
GLPI_DOC_DIR: C:\xampp\htdocs\glpi/files
GLPI_CACHE_DIR: C:\xampp\htdocs\glpi/files/_cache
GLPI_CRON_DIR: C:\xampp\htdocs\glpi/files/_cron
GLPI_DUMP_DIR: C:\xampp\htdocs\glpi/files/_dumps
GLPI_GRAPH_DIR: C:\xampp\htdocs\glpi/files/_graphs
GLPI_LOCAL_I18N_DIR: C:\xampp\htdocs\glpi/files/_locales
GLPI_LOCK_DIR: C:\xampp\htdocs\glpi/files/_lock
GLPI_LOG_DIR: C:\xampp\htdocs\glpi/files/_log
GLPI_PICTURE_DIR: C:\xampp\htdocs\glpi/files/_pictures
GLPI_PLUGIN_DOC_DIR: C:\xampp\htdocs\glpi/files/_plugins
GLPI_RSS_DIR: C:\xampp\htdocs\glpi/files/_rss
GLPI_SESSION_DIR: C:\xampp\htdocs\glpi/files/_sessions
GLPI_TMP_DIR: C:\xampp\htdocs\glpi/files/_tmp
GLPI_UPLOAD_DIR: C:\xampp\htdocs\glpi/files/_uploads
GLPI_NETWORK_REGISTRATION_API_URL: https://services.glpi-network.com/api/registration/
GLPI_MARKETPLACE_PLUGINS_API_URI: https://services.glpi-network.com/api/glpi-plugins/
GLPI_I18N_DIR: C:\xampp\htdocs\glpi/locales
GLPI_VERSION: 9.5.2
GLPI_SCHEMA_VERSION: 9.5.2
GLPI_MIN_PHP: 7.2.0
GLPI_YEAR: 2020

Libraries
 
htmlawed/htmlawed version 1.2.5 in (C:\xampp\htdocs\glpi\vendor\htmlawed\htmlawed)
phpmailer/phpmailer version 6.1.6 in (C:\xampp\htdocs\glpi\vendor\phpmailer\phpmailer\src)
simplepie/simplepie version 1.5.5 in (C:\xampp\htdocs\glpi\vendor\simplepie\simplepie\library)
tecnickcom/tcpdf version 6.3.5 in (C:\xampp\htdocs\glpi\vendor\tecnickcom\tcpdf)
michelf/php-markdown in (C:\xampp\htdocs\glpi\vendor\michelf\php-markdown\Michelf)
true/punycode in (C:\xampp\htdocs\glpi\vendor\true\punycode\src)
iamcal/lib_autolink in (C:\xampp\htdocs\glpi\vendor\iamcal\lib_autolink)
sabre/dav in (C:\xampp\htdocs\glpi\vendor\sabre\dav\lib\DAV)
sabre/http in (C:\xampp\htdocs\glpi\vendor\sabre\http\lib)
sabre/uri in (C:\xampp\htdocs\glpi\vendor\sabre\uri\lib)
sabre/vobject in (C:\xampp\htdocs\glpi\vendor\sabre\vobject\lib)
laminas/laminas-cache in (C:\xampp\htdocs\glpi\vendor\laminas\laminas-cache\src)
laminas/laminas-i18n in (C:\xampp\htdocs\glpi\vendor\laminas\laminas-i18n\src)
laminas/laminas-serializer in (C:\xampp\htdocs\glpi\vendor\laminas\laminas-serializer\src)
monolog/monolog in (C:\xampp\htdocs\glpi\vendor\monolog\monolog\src\Monolog)
sebastian/diff in (C:\xampp\htdocs\glpi\vendor\sebastian\diff\src)
elvanto/litemoji in (C:\xampp\htdocs\glpi\vendor\elvanto\litemoji\src)
symfony/console in (C:\xampp\htdocs\glpi\vendor\symfony\console)
scssphp/scssphp in (C:\xampp\htdocs\glpi\vendor\scssphp\scssphp\src)
laminas/laminas-mail in (C:\xampp\htdocs\glpi\vendor\laminas\laminas-mail\src\Protocol)
laminas/laminas-mime in (C:\xampp\htdocs\glpi\vendor\laminas\laminas-mime\src)
rlanvin/php-rrule in (C:\xampp\htdocs\glpi\vendor\rlanvin\php-rrule\src)
blueimp/jquery-file-upload in (C:\xampp\htdocs\glpi\vendor\blueimp\jquery-file-upload\server\php)
ramsey/uuid in (C:\xampp\htdocs\glpi\vendor\ramsey\uuid\src)
psr/log in (C:\xampp\htdocs\glpi\vendor\psr\log\Psr\Log)
psr/simple-cache in (C:\xampp\htdocs\glpi\vendor\psr\simple-cache\src)
mexitek/phpcolors in (C:\xampp\htdocs\glpi\vendor\mexitek\phpcolors\src\Mexitek\PHPColors)
guzzlehttp/guzzle in (C:\xampp\htdocs\glpi\vendor\guzzlehttp\guzzle\src)
guzzlehttp/psr7 in (C:\xampp\htdocs\glpi\vendor\guzzlehttp\psr7\src)
wapmorgan/unified-archive in (C:\xampp\htdocs\glpi\vendor\wapmorgan\unified-archive\src)
paragonie/sodium_compat in (C:\xampp\htdocs\glpi\vendor\paragonie\sodium_compat\src)

LDAP directories
 
Server: 'xxx.xxx.xxx.xxx', Port: '389', BaseDN: 'OU=Comptes,OU=xxx,DC=xxx,DC=xxx,DC=local', Connection filter:
		'(&(objectClass=user)(objectCategory=person)(flags=1)(userPrincipalName=*@xxx.com)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))',
		RootDN: 'CN=Service ADRO,OU=SVC,OU=Comptes,OU=GLOBAL,DC=xxx,DC=xxx,DC=local', Use TLS: none

SQL replicas
 
Not active

Notifications
 
Way of sending emails: SMTP (anonymous@192.168.20.20)

Mails receivers
 

Plugins list
 
	activity             Name: Activités quotidiennes         Version: 3.0.0      State: Enabled
	barcode              Name: Barcode                        Version: 2.5.0      State: Enabled
	behaviors            Name: Comportements                  Version: 2.4.1      State: Enabled
	mydashboard          Name: Dashboard                      Version: 1.8.0      State: Installed / not activated
	fusioninventory      Name: FusionInventory                Version: 9.5.0+1.0  State: Enabled
	geninventorynumber   Name: Génération de numéros d'invent Version: 2.5.0      State: Enabled
	order                Name: Gestion des commandes          Version: 2.6.0      State: Enabled
	tag                  Name: Gestion des tags               Version: 2.8.0      State: Enabled
	dashboard            Name: Tableau de bord                Version: 0.9.9      State: Enabled

Prod === Glpi : 10.0.10
Prod === PHP 8.1.2
Prod === Ubuntu 22.04

Offline

#2 2020-11-18 00:47:24

jujunea
Member
Registered: 2008-08-21
Posts: 83

Re: Changement du statut impossible

Quand je change le state_id directement dans la BDD, ca fonctionne. ( UPDATE `glpi`.`glpi_networkequipments` SET `states_id` = '2', `is_dynamic` = '1' WHERE (`id` = '1'); )
Les "Status des elements" (gestion des intitulés) sont bien disponibles pour les équipements réseau depuis l'entité root jusqu'aux sous-entités.


Prod === Glpi : 10.0.10
Prod === PHP 8.1.2
Prod === Ubuntu 22.04

Offline

#3 2021-07-29 01:58:08

jujunea
Member
Registered: 2008-08-21
Posts: 83

Re: Changement du statut impossible

Toujours le même problème. sur la table glpi_networkequipments. j'ai migré GLPI en 9.5.5 .

Quand je change le statut via la fiche de l'équipement ou en action de masse (je coche la case + bouton action) =>  pas de message d'erreur, la page se rafraichi et pas de changement de statut.
j'ai essayé en désactivant tous les plugins = toujours pareil

Par contre j'ai remarqué que c'est le passage du statut 1 (states_id) vers x qui ne fonctionne pas. Si je mets dans la BDD le statut 2 le statut change dans GLPI et je peux revenir en statut 1 via glpi

C'est le changement de states_id 1 vers x qui ne marche pas.
Le changement de states_id x vers states_id 1 = ok (avec la petite popup "element modifié en bas à droite")

Last edited by jujunea (2021-07-29 02:08:17)


Prod === Glpi : 10.0.10
Prod === PHP 8.1.2
Prod === Ubuntu 22.04

Offline

Board footer

Powered by FluxBB