Menu

raspbx-upgrade not upgrading asterisk - still on version 13.17.1 not 13.20.0

AlbySure
2018-04-24
2020-06-06
  • AlbySure

    AlbySure - 2018-04-24

    I checked the home page of http://www.raspberry-asterisk.org/downloads/ and can see that the latest version of asterisk is 13.20.0 (4/8/18) in the download image. I am using version 13 of asterisk on raspbx and it is working great but I would love to have the latest minor version of asterisk updated from 13.17.1, that I am currently using, to 13.20.0. I run raspbx-upgrade and it does not update asterisk. It has updated in asterisk in the past but not since 13.17.1 for me.

    Has version of 13.20.0 of asterisk been uploaded to the servers? Is there a way to upgrade asterisk manually from the command line and preserve all my settings? I appreciate any help and thank you for your time.

     
  • AlbySure

    AlbySure - 2018-04-30

    Is this thing on? I'm dying here. :)

     
  • Gernot

    Gernot - 2018-05-01

    This is because you are using a Jessie based image and unfortunately I have not been able to update the Jessie version of Asterisk for some time now due to problems with the build environment. But I plan to have this fixed again and then finally update Asterisk for the Jessie images. I'll let you know as soon as a new version is uploaded.

     
  • AlbySure

    AlbySure - 2018-05-01

    Thank you for the update and thank you for the time you put into this project.

     
  • AlbySure

    AlbySure - 2018-06-04

    I ran raspbx-upgrade and was initally happy to see asterisk was updated 13.21.1. The upgrade , however, knocked out my system. I'm not an expert but I think this update will not work if you are on jessie. Raspbx-upgrade still offered the upgrade on jessie and did not require stretch. In asterisk I could see error No RTP engine was found. The phones were showing 403 forbidden. No incoming or outgoing calls. I had a backup, a few months old, and I am finally back up but it was a tough day. I still appreciate the effort from Gernot. I also messed up my image because I tried to update jessie to stretch. No good. I would hate to start from a new image again. Hopefully there will be a fix but I will make a backup before I try this again.

    Can you run raspbx-upgrade without updating asterisk?

     
  • Gernot

    Gernot - 2018-06-05

    I'm verry sorry you had so much trouble with your setup. But I'm not sure if the new 13.21.0 version from the repository is really broken. It works nicely for me, phones are registering and calls work. But I wanted to mention that, just in case you should really get a broken package through an update, the previous versions are still there cached in /var/cache/apt/archives/. You can install these with dpkg -i <packagename>

     
  • RoystonC

    RoystonC - 2018-06-08

    Just to report that I also had this issue. Update to 13.21.0 and could no longer make internal or external calls. Reinstalled version 13.17.1 (the previous version) and all working again. Must be some issue with this new release.

     
  • Gernot

    Gernot - 2018-06-08

    I've removed the new version and uploaded 13.17.1 again. However, anybody who already installed it will not get downgraded automatically.
    I still can't tell why the new version does not work. Eventually one has to reboot the Pi after installing it.

     
  • Gernot

    Gernot - 2018-06-09

    I still could not find out why exactly some people have problems with the new version. it would be great if someone could help finding out more. It is possible to manually install the new version with:

    cd /tmp
    wget http://repo.raspbx.org/download/jessie/asterisk13_13.21.0-1_armhf.deb
    dpkg -i asterisk13_13.21.0-1_armhf.deb
    apt-get -f install
    fwconsole restart
    

    If you want to go back, reinstall the old version with:

    wget http://repo.raspbx.org/download/jessie/asterisk13_13.17.1-1_armhf.deb
    dpkg -i asterisk13_13.17.1-1_armhf.deb
    fwconsole restart
    

    The error message "no RTP engine found" eventually points to a missing res_rtp_asterisk.so module. To find out if this module is there open the Asterisk console with asterisk -rvvv:

    raspbx*CLI> module show like rtp
    Module                         Description                              Use Count  Status      Support Level
    bridge_native_rtp.so           Native RTP bridging module               0          Running              core
    chan_rtp.so                    RTP Media Channel                        0          Running              core
    res_rtp_asterisk.so            Asterisk RTP Stack                       0          Running              core
    res_rtp_multicast.so           Multicast RTP Engine                     0          Running              core
    res_srtp.so                   Secure RTP (SRTP)                        0          Running              core
    5 modules loaded
    

    Having a look at the error messages since last restart of Asterisk could also help:

    grep ERROR /var/log/asterisk/full
    

    There are always error messages due to missing config files, this is normal. But eventually he log shows which modules could not be loaded.

     
  • AlbySure

    AlbySure - 2018-06-11

    I installed asterisk 13.21.0-1 over 13.17.1-1 per Gernot's instructions and everything is working! Tomorrow will be a full day of testing and I will report if there are any errors. So far so good. I can only guess at what the issue was. My old install was working fine but perhaps the sd card was corrupted and had errors that were not detected until the upgrade.

    Thank you Gernot. Thank you for the detailed installation instructions. I love to look under the hood and always grateful to see how things work. If you get a chance and want to, post how you add asterisk upgrades to the raspbx repo. I have read general instructions on how to compile asterisk but I always wondered if it was different for debian/raspbx. I would love to experiment with different asterisks builds when they are released.

    Again thank you for all of your time. I appreciate it.

     
  • RoystonC

    RoystonC - 2018-06-11

    I have applied the upgrade as per Gernot's instructions and now my system is functioning OK.

     
  • Filippos L Filippides

    So did I

    Thanks Gernot

     
  • Marc

    Marc - 2018-07-07

    Is it possible to upgrade to 13.21.1?

     
  • Gernot

    Gernot - 2018-07-15

    Asterisk 13.22.0 is available, you can install it manually with:

    cd /tmp
    wget http://repo.raspbx.org/download/jessie/asterisk13_13.22.0-1_armhf.deb
    dpkg -i asterisk13_13.22.0-1_armhf.deb
    apt-get -f install
    fwconsole restart
    

    Please let me know if it works for you, then I will upload it to the repository.

     
  • Marc

    Marc - 2018-07-17

    I had to run the following before it would install... but it appears to have installed properly now.

    apt-get install libcaca0 libical1a libradiusclient-ng2 libresample1 libsdl1.2debian
    apt autoremove
    

    Thank you.

     
  • Gernot

    Gernot - 2018-07-18

    Thanks for letting us know! The new version is finally on the repository.

     
  • Luis Fernando Echeverri Lozano

    Hi Gernot, thanks for your good work
    Something about the last version 13.33
    Greetings

     

Log in to post a comment.