Reply To: RE: Queues exception after upgrade

VitalPBX Community Support General Discussion Queues exception after upgrade Reply To: RE: Queues exception after upgrade

    gpetriella
    Participant
    IT
    Up
    0
    Down

    Hi,

    when i launched the command:

    vitalpbx --build-db

    i received this message

    [root@Capatoast ~]# vitalpbx –build-db
    Importing fax.sql…
    PHP Fatal error: Uncaught exception ‘Exception’ with message ‘ERROR 1062 (23000) at line 12: Duplicate entry ‘1-163’ for key ‘role_id’
    ‘ in /usr/share/ombutel/scripts/apply_patches:0
    Stack trace:
    #0 /usr/share/ombutel/scripts/apply_patches(0): patcher::shellcmd()
    #1 /usr/share/ombutel/scripts/apply_patches(0): patcher->shellcmd()
    #2 /usr/share/ombutel/scripts/apply_patches(0): patcher->import_dbscript()
    #3 /usr/share/ombutel/scripts/apply_patches(0): patcher->apply()
    #4 {main}
    thrown in /usr/share/ombutel/scripts/apply_patches on line 0
    Done

    I removed before the fax package and re-launched the command now the Queue works fine.

    Thank you

    0