MIgration from Ombutel to VitalPBX database error

VitalPBX Community Support General Discussion MIgration from Ombutel to VitalPBX database error

  • Post
    DannyLarsen
    Participant
    none

    I am migrating an Ombutel to VitalPBX using the script on this page

    wget https://raw.githubusercontent.com/VitalPBX/OmbutelMigration/master/ombutel-to-vpbx.sh
    	
    	chmod +x ombutel-to-vpbx.sh
    	
    	./ombutel-to-vpbx.sh

    After running my web page shows this error  

    Fatal error: Uncaught exception ‘Exception’ with message ‘SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘ombutel.ombu_role_permissions’ doesn’t exist With Query: select `allowed` from `ombu_role_permissions` where `role_id` = ? and `permission` = ?’ in /usr/share/ombutel/www/includes/db.php:0 Stack trace: #0 /usr/share/ombutel/www/includes/db.php(0): ombuteldb::__construct() #1 /usr/share/ombutel/www/includes/db.php(0): ombuteldb->__construct() #2 /usr/share/ombutel/www/includes/role.php(0): ombuteldb::query() #3 /usr/share/ombutel/www/themes/vital_pbx/topBar.php(0): ombutelrole->has_permission_for() #4 /usr/share/ombutel/www/themes/vital_pbx/topBar.php(0): themesvital_pbxtopBar->_buildVerticalMenu() #5 /usr/share/ombutel/www/themes/vital_pbx/vital_pbx.php(0): themesvital_pbxtopBar->render() #6 /usr/share/ombutel/www/themes/page.php(0): themesvital_pbxvital_pbx->render() #7 /usr/share/ombutel/www/themes/page.php(0): themespage->_buildBody() #8 /usr/share/ombutel/www/includes/app in /usr/share/ombutel/www/includes/db.php on line 0

     

    So then I ran  usr/share/ombutel/php scripts/apply_patches  with the following result

    php scripts/apply_patches
    Importing 20170330.2.directdial_feature_codes.sql…
    PHP Fatal error: Uncaught exception ‘Exception’ with message ‘ERROR 1062 (23000) at line 5: Duplicate entry ‘direct_toggle_cfi’ for key ‘feature_name’
    ‘ 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

    Can you help me please

    Thank you

     

     

    0
Viewing 16 replies (of 16 total)
  • Replies
    Ofloo
    Participant
    Up
    0
    Down

    i did created a new thread, cause I noticed afterwards that this wasn’t a general thread and that it was marked solved.

    0
Viewing 16 replies (of 16 total)
  • You must be logged in to reply to this topic.