-
Hello, yes, I know Version 4.0 Stable (Build 809) is 15 years old, but I'll try to ask however, in the hope someone remembers how to fix a problem I already had once in 2009, but there was a different forum at that time and I can no more retrieve the solution. I have Cerb4 installed on a remote Linux server and some days ago, I was replying to a ticket when the server suddenly restarted. When it happened in 2009 I remember I performed some manual commands in the MySQL DB, but I don't remember what I did exactly now (my fault, I should have written it down). Is there someone here, as old as me, but with a better memory? :) Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
With access to the helpdesk and the db, it'd probably be pretty easy to track down... You'll want to do some SELECTing in the db to locate the odd ticket, using the same sort of filters as you're using in the GUI (e.g. group, status, etc). Once you've pinned it down, you can check the properties for maybe an invalid group_id/bucket_id. |
Beta Was this translation helpful? Give feedback.
-
Hi @DavideGu! That's some impressive uptime on Cerb 4.0. 😅 Like Hildy, I suspect the server restarted when the database was creating a ticket. Since this code is from 15 years ago, it's much more likely you're using MyISAM tables in MySQL. I don't have the 4.x database schema in front of me, but we do have a vestige. The query would be something like:
If you can connect to the MySQL shell or use phpMyAdmin, run the above query to check. If you find a ticket without a proper group, you can either mark it deleted (since it likely retried) or change its group to something valid.
Where
It also wouldn't hurt to run Modern versions of Cerb fix orphaned data like this automatically. It's less common with MySQL/InnoDB, and wouldn't be an issue w/ transactions that auto-rollback if interrupted before they complete. |
Beta Was this translation helpful? Give feedback.
With access to the helpdesk and the db, it'd probably be pretty easy to track down...
You'll want to do some SELECTing in the db to locate the odd ticket, using the same sort of filters as you're using in the GUI (e.g. group, status, etc). Once you've pinned it down, you can check the properties for maybe an invalid group_id/bucket_id.