[Spce-user] ngcp-reset-db bug

Serge S. Yuriev me at nevian.org
Thu Oct 5 12:57:54 EDT 2017


Hello,

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

-- 
Serge S. Yuriev
Lead VoIP engineer




More information about the Spce-user mailing list