Reply To: RE: issues after upgrade

VitalPBX Community Support General Discussion issues after upgrade Reply To: RE: issues after upgrade

    gerrykernan
    Participant

    [root@localhost ~]# php /usr/share/ombutel/scripts/apply_patches
    Executing 20180625.5.migrate_destinations.php…
    PHP Fatal error: Uncaught exception ‘Exception’ with message ‘SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ‘700’ for key ‘number’ With Query: insert into `ombutel`.`ombu_numbers` (`module_id`,`number`) values (?,?)’ 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/persistent.php(0): ombuteldb::query()
    #3 /usr/share/ombutel/www/includes/persistent.php(0): ombutelnumber->insert()
    #4 /usr/share/ombutel/www/includes/number.php(0): ombutelnumber->save()
    #5 /usr/share/ombutel/www/includes/parking_lot.php(0): ombutelnumber::register_range()
    #6 /usr/share/ombutel/www/modules/parking/parking.php(0): ombutelparking_lot->save()
    #7 /usr/share/ombutel/patches/20180625.5.migrate_destinations.php(0): modulesparkingparking::migrateDestinations(false)
    #8 /usr/share/ombutel/scripts/apply_patches(0): unknown()
    #9 /usr/share/ombut in /usr/share/ombutel/www/includes/db.php on line 0

    0