Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
mysqlcheck -u root -p --auto-repair --check --optimize --all-databases
dukemuzaffar wrote:Thanks for your reply. However, if DB is crashed, it will affect other functionalities as well right?
Any other suggestion please from others.
dukemuzaffar wrote:allowed_campaigns column value was null in `vicidial_user_groups` for ADMIN group.
I have update the entry with –ALL-- .
dukemuzaffar wrote:allowed_campaigns column value was null in `vicidial_user_groups` for ADMIN group.
I have update the entry with –ALL-- .
Issue resolved.
Thanks Mr Matt, really appreciated.
mysql -u cron -p1234 asterisk -e "select * from vicidial_user_groups where user_group='ADMIN'\G"
mysql -u cron -p1234 asterisk -e "update vicidial_user_groups set allowed_campaigns='-ALL-CAMPAIGNS- -', qc_allowed_campaigns='-ALL-CAMPAIGNS- -', qc_allowed_inbound_groups='-ALL-GROUPS- -', agent_status_viewable_groups='--ALL-GROUPS-- --CAMPAIGN-AGENTS-- --NOT-LOGGED-IN-AGENTS-- ADMIN', admin_viewable_groups='---ALL---', admin_viewable_call_times='---ALL---', agent_allowed_chat_groups='--ALL-GROUPS-- --CAMPAIGN-AGENTS-- ADMIN' where user_group='ADMIN'"
williamconley wrote:
- Code: Select all
mysql -u cron -p1234 asterisk -e "select * from vicidial_user_groups where user_group='ADMIN'\G"
View the "allowed_campaigns" and "qc_allowed_campaigns" and "qc_allowed_inbound_groups". All should be -ALL-XXXXXX- -".
- Code: Select all
mysql -u cron -p1234 asterisk -e "update vicidial_user_groups set allowed_campaigns='-ALL-CAMPAIGNS- -', qc_allowed_campaigns='-ALL-CAMPAIGNS- -', qc_allowed_inbound_groups='-ALL-GROUPS- -', agent_status_viewable_groups='--ALL-GROUPS-- --CAMPAIGN-AGENTS-- --NOT-LOGGED-IN-AGENTS-- ADMIN', admin_viewable_groups='---ALL---', admin_viewable_call_times='---ALL---', agent_allowed_chat_groups='--ALL-GROUPS-- --CAMPAIGN-AGENTS-- ADMIN' where user_group='ADMIN'"
Note that if your version is old, one (or more) of these fields may actually be missing and cause the query to fail. If so, delete the offending field and value.
Users browsing this forum: No registered users and 68 guests