fop2GroupButton Table Crashing
-
Hello,
When we create a new button group, the table fop2GroupButton is dropped and recreated many many times, sometimes it crashes the table-
ERROR 145 (HY000): Table './asterisk/fop2GroupButton' is marked as crashed and should be repaired
We're able to recover the table but this shouldn't be happening and it's entirely reproducible, does anyone know if this is a known issue? A brief search of the forum didn't yield anything that seemed to be the same as what we're experiencing.
Running the latest and greatest 2.30.02
Thanks!!
-
-
There's free space, and no other tables exhibit this issue, every time you visit the manager home it deletes the entries in the fop2GroupButton table and recreates them, is this normal? It looks like multiple managers may be colliding on it in some way or something.
Here's what I see when I load the manager home-
| 147418 | asteriskuser | localhost | asterisk | Query | 0 | updating | DELETE FROM fop2GroupButton WHERE group_name='All Buttons' |
| 147418 | asteriskuser | localhost | asterisk | Query | 0 | updating | DELETE FROM fop2GroupButton WHERE group_name='All Extensions' |
| 147418 | asteriskuser | localhost | asterisk | Query | 0 | update | INSERT INTO fop2GroupButton (group_name,id_button,context_id) VALUES ('All Extensions','346','0') |
| 147419 | asteriskuser | localhost | asterisk | Query | 0 | Sending data | SELECT extension, name, IF(dial IS null,CONCAT('VIRTUAL/',extension),dial) AS dial, IF(voicemail='no |
| 147419 | asteriskuser | localhost | asterisk | Query | 1 | updating | DELETE FROM fop2GroupButton WHERE group_name='All Extensions' |
| 147419 | asteriskuser | localhost | asterisk | Query | 0 | updating | DELETE FROM fop2GroupButton WHERE group_name='All Queues' |Thoughts?
-
-
-
If you add an extension, or a queue, or whatever in your backend (FreePBX, Elastix, MiRTA, Thirdlane, etc), you need to update the default groups that FOP2 has as a convenience for users (All Extensions, All Queues, etc). So the reload fop2 action will recreate all those groups, that means that it has to add or remove entries that were added or removed from your backend. If you load the dashboard it will also recreate those groups. If you think that is the cause of a problem you can edit /var/www/html/fop2/admin/index.php and comment the line that calls "fop2_recreate_default_groups".
Again, doing this, even simultaneously, should not crash a table. If that happens your mysql is broken.
Also, I really doubt that you could have many users logged into the fop2 manager refreshing the index page just to do perform those group refreshes.
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
