-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatic sync script deleting all networkports #355
Comments
i have the same problem with network interfaces- delete and not create interface |
Hello J'ai sensiblement la même chose avec une version vierge de glpi et le plugin ocs 2.0.4 ! [2023-05-15 12:30:01] glpiphplog.WARNING: *** PHP User Warning (512): Relation between "glpi_networkports" and "glpi_plugin_ocsinventoryng_networkports" table based on "networkports_id" field cannot be handled automatically as "networkports_id" also corresponds to index field of the target table. in /data/glpiv/src/DbUtils.php at line 2099 |
Me pasa exactamente lo mismo. |
Same here, please fix it! |
Hi, I have the same problem. If you need some logs, I'm available to send you. Thank you |
Hi, This warning reflects the way this plugin references network ports. Class PluginOcsinventoryngNetworkPort extends NetworkPortInstantiation which "link" column is not id (even if it is the table primary key), but networkports_id. Recent GLPI changes raise warnings if something not expected is detected. I don't know if there are still active developpers of this plugin... |
@tsmr is this project active? Or is time for us to search for a different product? |
OS: debian 12 Same problem here. |
GLPI VERSION: 10.0.0 Hello, Thanks a lot for your support |
Hi @fgendorf @Muzo18 @tsmr @Stufo76 @David-Rodriguez-cabrera! Thanks to anyone for any feedback! |
Hi @Mirkk , no clue yet... but I guess the issue are in API GLPI in the latest versions, changed a lot since 10.0 when the last version of plugin was released |
Hi, in the latest versions of GLPI/Plugin/OCS we have an issue that causing problems to our inventory
GLPI VERSION: 10.0.7
OCSSERVER: 2.11.1
PLUGIN: 2.0.4
PHP: 8.1.18
We saw that all interfaces networkports on synced computers became empty... If we force full import it appear again, but in next automatic sync by ocsfull_sync.sh they are deleted again, ex:
on _log/php-errors.log shows:
We appreciate if have any clue to solve this bug.
Thanks in advance
The text was updated successfully, but these errors were encountered: