[Spce-user] Possible Bug - ngcp-reset-db

Daniel Grotti dgrotti at sipwise.com
Tue Oct 31 06:00:35 EDT 2017


Thanks Matt,
this was reported already and addressed to be fixed with internal case 
TT#23801.

Thanks for report.

-- 
Daniel Grotti
Head of Customer Support
Sipwise GmbH, Campus 21/Europaring F15
AT-2345 Brunn am Gebirge

Office: +43(0)130120332
Email: dgrotti at sipwise.com
Website: https://www.sipwise.com

On 10/30/2017 11:13 PM, Matt Schwinn wrote:
> Linux spce 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u5 (2017-09-19) 
> x86_64
> Welcome to Sipwise NGCP platform version 'mr4.5.4'
>
> Ran the command ngcp-reset-db and receive this at the end of my log
>
>
> ---
> Applying revision script 
> /usr/share/ngcp-db-schema/db_scripts/diff/15145.up: done
> Applying revision script 
> /usr/share/ngcp-db-schema/db_scripts/diff/15146.up: done
> Applying revision script 
> /usr/share/ngcp-db-schema/db_scripts/diff/15147.up: done
> Applying revision script 
> /usr/share/ngcp-db-schema/db_scripts/diff/15148_not_replicated.up: done
> Applying revision script 
> /usr/share/ngcp-db-schema/db_scripts/diff/15149.up: done
> Applying revision script 
> /usr/share/ngcp-db-schema/db_scripts/diff/15150.up: done
> Applying revision script 
> /usr/share/ngcp-db-schema/db_scripts/diff/15151_not_replicated.up: 
> ERROR 1007 (HY000) at line 7: Can't create database 'stats'; database 
> exists
> failed. :(
> Please resolve the problem and run ngcp-update-db-schema again.
> root at spce:~# ngcp-update-db-schema
> [ ok ] Starting MySQL database server: mysqld already running.
> Applying revision script 
> /usr/share/ngcp-db-schema/db_scripts/diff/15151_not_replicated.up: 
> ERROR 1147 (42000) at line 5: There is no such grant defined for user 
> 'mediator' on host 'localhost' on table 'call_info'
> failed. :(
> Please resolve the problem and run ngcp-update-db-schema again.
> ---
>
>
> After this I get a 500 server error when trying to reach 
> x.x.x.x:1443.  I've tried this on two different installation instances 
> in a test environment.  Let me know if anyone needs more information.
>
>
>
>
>
>
>
> -- 
> Enjoy the day!
> Matt Schwinn
> TCG Technologies LLC
>       and
> Company B
> 209-202-3329
> www.TCGTechLLC.com <http://www.TCGTechLLC.com>
>
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://lists.sipwise.com/listinfo/spce-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20171031/b18b990e/attachment-0001.html>


More information about the Spce-user mailing list