I experienced that TicketCounter.log is reseted during update process from v4.0.5 to new v4.0.6.
I noticed it with a new ticket having Ticket# = 00001 instead of 02992.
To correct this :
- Update %OTRS_HOME%/var/log/TicketCounter.log with the correct value
- Modify the database record
Code: Select all
SELECT id, tn FROM ticket WHERE tn='xxxx'; #xxxx is the bad ticket number ; remember ticket id --> yyyy UPDATE ticket SET tn='zzzz' WHERE id='yyyy'; #zzzz is the correct ticket number
- Clear cache with /bin/otrs.DeleteCache.pl