[Spce-user] Problem starting Kamailio process after apt-get upgrade

Alex Lutay alutay at sipwise.com
Thu May 18 04:15:19 EDT 2017

Hi all,

Tnx to Jon for fast hint here, while in the case if "something"
happens and you need to know what has been changed recall one point:

ngcpcfg framework is a git based tool.

So you can find all details there:
> cd /etc/ngcp-config && git log -p

To simplify the user's life there are shortcuts available:
"ngcpcfg log" and "ngcpcfg show" which shows the changes have been done
in /etc/ngcp-config. See 'man ngcpcfg' for more possible options there.

in case if you need temporarily revert the changes which have just been
applied you can utilize something like:

> cd /etc/ngcp-config               # go inside git folder
> git checkout master               # ensure you are in branch 'master'
> git branch backup_before_reset    # to create backup git branch
> git reset --hard HEAD~1           # to destroy one last commit/changes
> ngcpcfg apply "reapply previous changes"

Then you can slowly check the systems status and the reason of previous
fail. To reapply the changes again do:

> cd /etc/ngcp-config                 # go inside git folder
> git checkout backup_before_reset    # go to tmp branch
> git rebase master                   # rebase it on top of master
> git checkout master                 # go to branch 'master'
> git merge --ff backup_before_reset  # merge changes from tmp branch
> ngcpcfg apply "reapply previous changes"

> git branch -D backup_before_reset   # when you ready to clean it
Also you can use 'ngcpcfg clean --all' since mr5.3.1
which will be available since June 2 ;-).

Have fun!

P.S. pull requests are welcome! https://github.com/sipwise/ngcpcfg

>   apt-get update && apt-get upgrade && \
>   ngcp-update-db-schema && ngcp-update-cfg-schema && \
>   ngcpcfg apply "new changes"

Alex Lutay

More information about the Spce-user mailing list