Closed Badkempachi closed 2 years ago
Hi,
You have a rule software dictionnary based on a regex pattern, and this pattern seems to be invalid. Can you export your rules ?
You can do it using massive actions in the Administration > Dictionnaries > Software
page.
Hi,
You have a rule software dictionnary based on a regex pattern, and this pattern seems to be invalid. Can you export your rules ? You can do it using massive actions in the
Administration > Dictionnaries > Software
page.
Hi, @cedric-anne here's what's active at the moment rules.txt
<pattern>perl-</pattern>
sounds incorrect.
Hi @trasher , Please clarify according to these rules “Rules for assigning an item to an entity” is also not correctly configured for me?
<pattern>perl-</pattern>
sounds incorrect.
And could you suggest what would be the best way?
Problem is not in Rules for assigning an item to an entity
, but in dictionnary section.
Problem is not in
Rules for assigning an item to an entity
, but in dictionnary section. @cedric-anne @trasher
I am deleted all the dictionnary, but the following messages appear in php-errors
[2022-04-06 16:48:14] glpiphplog.ERROR: *** PHP User Error (256): Column 'softwares_id' cannot be null in /var/www/html/glpi/src/DBmysql.php at line 1945 backtrace: src/DBmysql.php:1945 trigger_error() src/Inventory/Asset/Software.php:700 DBmysql->executeStatement() src/Inventory/Asset/Software.php:377 Glpi\Inventory\Asset\Software->storeVersions() src/Inventory/Asset/MainAsset.php:765 Glpi\Inventory\Asset\Software->handle() src/Inventory/Asset/MainAsset.php:686 Glpi\Inventory\Asset\MainAsset->handleAssets() src/RuleImportAsset.php:951 Glpi\Inventory\Asset\MainAsset->rulepassed() src/Rule.php:1505 RuleImportAsset->executeActions() src/RuleCollection.php:1589 Rule->process() src/Inventory/Asset/MainAsset.php:517 RuleCollection->processAllRules() src/Inventory/Inventory.php:670 Glpi\Inventory\Asset\MainAsset->handle() src/Inventory/Inventory.php:312 Glpi\Inventory\Inventory->handleItem() src/Inventory/Request.php:363 Glpi\Inventory\Inventory->doInventory() src/Inventory/Request.php:88 Glpi\Inventory\Request->inventory() src/Agent/Communication/AbstractRequest.php:323 Glpi\Inventory\Request->handleAction() src/Agent/Communication/AbstractRequest.php:235 Glpi\Agent\Communication\AbstractRequest->handleJSONRequest() front/inventory.php:83 Glpi\Agent\Communication\AbstractRequest->handleRequest() ...tplace/glpiinventory/front/communication.php:72 include_once() marketplace/glpiinventory/index.php:45 include_once()
There has been no activity on this issue for some time and therefore it is considered stale and will be closed automatically in 10 days.
If this issue is related to a bug, please try to reproduce on latest release. If the problem persist, feel free to add a comment to revive this issue. If it is related to a new feature, please open a topic to discuss with community about this enhancement on suggestion website.
You may also consider taking a subscription to get professionnal support or contact GLPI editor team directly.
Code of Conduct
Is there an existing issue for this?
Version
10.0.0-rc3
Bug description
Good afternoon. A little backstory. Previously, we had a physical server, which was subsequently converted and transferred to a virtual machine. The GLPI-Agent-1.2-gitcdc8de06-x64 agent was installed on it, but this virtual machine was not added to Assets/Computers. The agent for this virtual machine could be found in Home/Administration/Inventory/Agents. There are errors in the agent logs like “[http client] communication error: 500 Internal Server Error” and that the strangest connection was created and the data was sent to the server, or is it the result of the server rejecting the received data? There are also "Win32::OLE ERROR: Invalid namespace" errors. GLPI version night bild master.8b6a4ee.tar 06.04.2022 When I import a local inventory file, I get the following errors: PHP Warning(2): preg_match_all(): Delimiter must not be alphanumeric or backslash in /var/www/html/glpi/src/RuleCriteria.php at line 490 PHP Notice (8): Undefined index: nok_8LawAIOVdM$$$$560 in /var/www/html/glpi/src/Inventory/Asset/Software.php at line 668 PHP User Error (256): Column 'softwares_id' cannot be null in /var/www/html/glpi/src/DBmysql.php at line 1945
please help me to solve this problem
Relevant log output
No response
Page URL
No response
Steps To reproduce
No response
Your GLPI setup information
Information about system installation and configuration
Server
GLPI constants
Libraries
LDAP directories
SQL replicas
Notifications
Plugins list
Anything else?
sql-error.txt php-error.txt glpi-agent.log