[Spce-user] ngcp-reset-db bug

Alex Lutay alutay at sipwise.com
Sat Oct 21 18:02:24 EDT 2017


Hi,

Thank you! Reported internally as TT#23801.

On 10/05/2017 06:57 PM, Serge S. Yuriev wrote:
> ngcp-reset-db doesn't drops stats, rtcengine and fileshare DBs so after
> that they can not be recreated and script fails.
> 
> So cycle should look like
> echo "Dropping databases..."
> for database in accounting kamailio provisioning billing carrier ngcp
> prosody sipstats stats rtcengine fileshare; do
>   mysql -usipwise -p"${SIPWISE_DB_PASSWORD}" -e "DROP DATABASE IF EXISTS
> ${database}"
> done

-- 
Alex Lutay



More information about the Spce-user mailing list