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 2023-10-19 18:34:10

repentandliveholy
Member
Registered: 2023-09-18
Posts: 49

Ticket ID crashed (reseted) after plugin installation

Hello!

I installed a plugin called BEHAVIOURS

Here is an issue:

There is an option in plugin to change a form om ticket ID - to YYMMDD00001 (like this). I tried it, but didn't liked because it reseted ID's (started from 1) and IDs became very long. I want to return it but I can't even if I change this option to --- and uninstall a plugin IDs comes from begining on form of YYMMDD0001... How can I return previous default glpi IDs?

Thanks

Offline

#2 2023-10-19 22:58:17

Rafumel1774
Member
Registered: 2019-05-11
Posts: 131

Re: Ticket ID crashed (reseted) after plugin installation

Offline

#3 2023-10-20 08:26:58

repentandliveholy
Member
Registered: 2023-09-18
Posts: 49

Re: Ticket ID crashed (reseted) after plugin installation

Thanks!!

So, the algorithm of dealing this issue is:

1. Change order IDs to normal ones in order
2. Find the max ID of the application yourself or SELECT MAX(id) FROM glpi_tickets;
3. ALTER TABLE glpi_tickets;
4. AUTO_INCREMENT = number above + 1;

Offline

Board footer

Powered by FluxBB