Ticketcounter.log in OTRS 6?

Moderator: crythias

Post Reply
BenceQS
Znuny newbie
Posts: 10
Joined: 08 Apr 2019, 13:13
Znuny Version: OTRS 4.0
Real Name: Bence Szabo

Ticketcounter.log in OTRS 6?

Post by BenceQS »

Hi there!

So I finally finished updating to OTRS 6 latest patch level.
How can I get back to the correct ticket number? Because now it started counting randomly. I've set it to autoincrement the ticket numbers ({'Ticket::NumberGenerator'} = 'Kernel::System::Ticket::Number::AutoIncrement';), and I've also put back the Ticketcounter.log file to its folder.

What am I missing?

Thanks :)
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Ticketcounter.log in OTRS 6?

Post by jojo »

If this file was not present during migration the counter log will now filling up deleted numbers as the whole logic is now moved to the database
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
BenceQS
Znuny newbie
Posts: 10
Joined: 08 Apr 2019, 13:13
Znuny Version: OTRS 4.0
Real Name: Bence Szabo

Re: Ticketcounter.log in OTRS 6?

Post by BenceQS »

So there is no way to change the counter to the correct number?
wurzel
Znuny guru
Posts: 3232
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Ticketcounter.log in OTRS 6?

Post by wurzel »

Hi,

restore your backup and start a new/correct migration.

Flo
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
BenceQS
Znuny newbie
Posts: 10
Joined: 08 Apr 2019, 13:13
Znuny Version: OTRS 4.0
Real Name: Bence Szabo

Re: Ticketcounter.log in OTRS 6?

Post by BenceQS »

I did restore 2 times, but not works. The tickets starts counting from the beginning. I can access the MySQL database, but idk what to change here.
wurzel
Znuny guru
Posts: 3232
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Ticketcounter.log in OTRS 6?

Post by wurzel »

Hi,

never do sql changes in the ticket table.
I suggest: Just let it go with the wrong numbers.

Flo
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
Post Reply