No such TicketID (1)!

Hello My name is Grzeslaw and I'am new to otrs. Few weeks ago I decided to install this ticket system and tryed to configure. Averything goes good. I found a way to delete all tickets directly from the database, because unfortunetely otrs do not offer this function. it's looked like this in mysql: delete from ticket_history where id>0; delete from article_plain where id>0; delete from article where id>0; delete from ticket where id>0; And it's work nice for me. Beside this. I wrote a simple script in Article.pm file to send sms message when new ticket came. All the system works nice. But, when I wrote a simple code to check if it's an hour befeore sms sending, it just crashed, and stop sending me mail notification about new tickets. I go back witch the configuration and it still do not send me an email notification. i my email logs I saw the following lines when I post a net ticket from customer side: Feb 20 04:15:07 otrs OTRS-CGI-10[13812]: [Error][Kernel::System::Ticket::TicketGet][Line:877]: No such TicketID (1)! Feb 20 04:15:07 otrs OTRS-CGI-10[13812]: [Error][Kernel::System::Ticket::TicketGet][Line:877]: No such TicketID (1)! Feb 20 04:15:07 otrs OTRS-CGI-10[13812]: [Notice][Kernel::System::Ticket::TicketCreate] New Ticket [2009022010000012/HYYC] created (TicketID=37,Queue=AvaGuide,Priority=4 high,State=new) This line occur many times when i post a new ticket. What can be wrong? Iam forgot about some tables when I deleting the tickets from db? -- Pozdrawiam Grzegorz Dajuk Administrator InteliWISE IT _________________________________________________ "InteliWISE" Spółka Akcyjna z siedzibą w Warszawie (02-605) przy ul. Ursynowskiej 72, wpisana do Krajowego Rejestru Sadowego - rejestru przedsiebiorcow przez Sad Rejonowy dla m. st. Warszawy, XIII Wydzial Gospodarczy Krajowego Rejestru Sadowego, pod numerem 0000297672, posiadajaca numer identyfikacyjny REGON 140000046, NIP 525 23 23 343, kapitał zakładowy 548,891,50 PLN (w całości wpłacony). Informacje zawarte w tej wiadomości są ściśle poufne i objęte tajemnicą handlową Spółki. Wiadomość skierowana jest tylko i wyłącznie do adresata lub adresatów wymienionych powyżej. Jakiekolwiek kopiowanie lub rozpowszechnianie zawartych w tym mailu informacji jest zabronione. Jeżeli niniejsza wiadomość została doręczona przypadkowo do niewłaściwej osoby, jest ona uprzejmie proszona o natychmiastowe poinformowanie nadawcy i zniszczenie Wiadomości za jej/jego zgodą.

If you want to delete tickets, I'd strongly suggest to use the function of the generic agent. There are obviously a couple of tables you didn't catch with your deletion. Greets, Daniel -----Ursprüngliche Nachricht----- Von: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] Im Auftrag von Grzegorz Dajuk Gesendet: Freitag, 20. Februar 2009 16:34 An: otrs@otrs.org Betreff: [otrs] No such TicketID (1)! Hello My name is Grzeslaw and I'am new to otrs. Few weeks ago I decided to install this ticket system and tryed to configure. Averything goes good. I found a way to delete all tickets directly from the database, because unfortunetely otrs do not offer this function. it's looked like this in mysql: delete from ticket_history where id>0; delete from article_plain where id>0; delete from article where id>0; delete from ticket where id>0; And it's work nice for me. Beside this. I wrote a simple script in Article.pm file to send sms message when new ticket came. All the system works nice. But, when I wrote a simple code to check if it's an hour befeore sms sending, it just crashed, and stop sending me mail notification about new tickets. I go back witch the configuration and it still do not send me an email notification. i my email logs I saw the following lines when I post a net ticket from customer side: Feb 20 04:15:07 otrs OTRS-CGI-10[13812]: [Error][Kernel::System::Ticket::TicketGet][Line:877]: No such TicketID (1)! Feb 20 04:15:07 otrs OTRS-CGI-10[13812]: [Error][Kernel::System::Ticket::TicketGet][Line:877]: No such TicketID (1)! Feb 20 04:15:07 otrs OTRS-CGI-10[13812]: [Notice][Kernel::System::Ticket::TicketCreate] New Ticket [2009022010000012/HYYC] created (TicketID=37,Queue=AvaGuide,Priority=4 high,State=new) This line occur many times when i post a new ticket. What can be wrong? Iam forgot about some tables when I deleting the tickets from db? -- Pozdrawiam Grzegorz Dajuk Administrator InteliWISE IT _________________________________________________ "InteliWISE" Spółka Akcyjna z siedzibą w Warszawie (02-605) przy ul. Ursynowskiej 72, wpisana do Krajowego Rejestru Sadowego - rejestru przedsiebiorcow przez Sad Rejonowy dla m. st. Warszawy, XIII Wydzial Gospodarczy Krajowego Rejestru Sadowego, pod numerem 0000297672, posiadajaca numer identyfikacyjny REGON 140000046, NIP 525 23 23 343, kapitał zakładowy 548,891,50 PLN (w całości wpłacony). Informacje zawarte w tej wiadomości są ściśle poufne i objęte tajemnicą handlową Spółki. Wiadomość skierowana jest tylko i wyłącznie do adresata lub adresatów wymienionych powyżej. Jakiekolwiek kopiowanie lub rozpowszechnianie zawartych w tym mailu informacji jest zabronione. Jeżeli niniejsza wiadomość została doręczona przypadkowo do niewłaściwej osoby, jest ona uprzejmie proszona o natychmiastowe poinformowanie nadawcy i zniszczenie Wiadomości za jej/jego zgodą. _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Thx for reply Daniel ! Yeaah, you mabe right, but I think that's all tables which I should delete. I deeply looked in the database structure, and I don;t saw any other connections witch tickets. I absolutely will use the generic agent in the future, but now,. I have a problem, whitch I need to solve. Mabe you have some suggestions, to this problem. Which table could tak affiliation on? Obee, Daniel pisze:
If you want to delete tickets, I'd strongly suggest to use the function of the generic agent. There are obviously a couple of tables you didn't catch with your deletion.
Greets, Daniel
-----Ursprüngliche Nachricht----- Von: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] Im Auftrag von Grzegorz Dajuk Gesendet: Freitag, 20. Februar 2009 16:34 An: otrs@otrs.org Betreff: [otrs] No such TicketID (1)!
Hello
My name is Grzeslaw and I'am new to otrs. Few weeks ago I decided to install this ticket system and tryed to configure. Averything goes good. I found a way to delete all tickets directly from the database, because unfortunetely otrs do not offer this function. it's looked like this in mysql:
delete from ticket_history where id>0; delete from article_plain where id>0; delete from article where id>0; delete from ticket where id>0;
And it's work nice for me. Beside this. I wrote a simple script in Article.pm file to send sms message when new ticket came. All the system works nice. But, when I wrote a simple code to check if it's an hour befeore sms sending, it just crashed, and stop sending me mail notification about new tickets. I go back witch the configuration and it still do not send me an email notification. i my email logs I saw the following lines when I post a net ticket from customer side:
Feb 20 04:15:07 otrs OTRS-CGI-10[13812]: [Error][Kernel::System::Ticket::TicketGet][Line:877]: No such TicketID (1)! Feb 20 04:15:07 otrs OTRS-CGI-10[13812]: [Error][Kernel::System::Ticket::TicketGet][Line:877]: No such TicketID (1)! Feb 20 04:15:07 otrs OTRS-CGI-10[13812]: [Notice][Kernel::System::Ticket::TicketCreate] New Ticket [2009022010000012/HYYC] created (TicketID=37,Queue=AvaGuide,Priority=4 high,State=new)
This line occur many times when i post a new ticket.
What can be wrong? Iam forgot about some tables when I deleting the tickets from db?
-- Pozdrawiam Grzegorz Dajuk Administrator InteliWISE IT _________________________________________________ "InteliWISE" Spółka Akcyjna z siedzibą w Warszawie (02-605) przy ul. Ursynowskiej 72, wpisana do Krajowego Rejestru Sadowego - rejestru przedsiebiorcow przez Sad Rejonowy dla m. st. Warszawy, XIII Wydzial Gospodarczy Krajowego Rejestru Sadowego, pod numerem 0000297672, posiadajaca numer identyfikacyjny REGON 140000046, NIP 525 23 23 343, kapitał zakładowy 548,891,50 PLN (w całości wpłacony). Informacje zawarte w tej wiadomości są ściśle poufne i objęte tajemnicą handlową Spółki. Wiadomość skierowana jest tylko i wyłącznie do adresata lub adresatów wymienionych powyżej. Jakiekolwiek kopiowanie lub rozpowszechnianie zawartych w tym mailu informacji jest zabronione. Jeżeli niniejsza wiadomość została doręczona przypadkowo do niewłaściwej osoby, jest ona uprzejmie proszona o natychmiastowe poinformowanie nadawcy i zniszczenie Wiadomości za jej/jego zgodą.
participants (2)
-
Grzegorz Dajuk
-
Obee, Daniel