1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

TUTORIAL XiVO 16.15 & Wazo 16.16, 17.01 Upgrades

Discussion in 'Add-On Install Instructions' started by wardmundy, Aug 15, 2016.

  1. wardmundy

    wardmundy
    Expand Collapse
    Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    12,595
    Likes Received:
    1,870
    The Nerd Vittles XiVO tutorial has been updated but, in case you missed it, here is the upgrade procedure to bring your XiVO PBX up to XiVO 16.13. The entire procedure takes about 2 minutes. And, no, it won't break your existing Google Voice OAuth setup!

    Code:
    # uncomment next 3 lines for Raspberry Pi upgrade from 16.10 or 16.11 ONLY
    # sed -i 's|16.10|16.13|' /etc/apt/sources.list.d/irisnetwork.list
    # sed -i 's|16.11|16.13|' /etc/apt/sources.list.d/irisnetwork.list
    # sed -i 's|16.12|16.13|' /etc/apt/sources.list.d/irisnetwork.list
    # apt-get update
    /etc/init.d/netfilter-persistent stop
    xivo-upgrade
    iptables-restart
    # restore Incredible PBX module and ODBC configuration
    cp -p /etc/asterisk/modules.conf.dpkg-old /etc/asterisk/modules.conf
    cp -p /etc/asterisk/res_odbc.conf.dpkg-old /etc/asterisk/res_odbc.conf
    xivo-service restart
    # code below reactivates Incredible PBX web apps
    cd /
    wget http://incrediblepbx.com/incredible-nginx.tar.gz
    tar zxvf incredible-nginx.tar.gz
    rm -f incredible-nginx.tar.gz
    /etc/init.d/nginx restart
    [​IMG]
     
    #1 wardmundy, Aug 15, 2016
    Last edited: Oct 13, 2016
  2. AndyK

    AndyK
    Expand Collapse
    New Member

    Joined:
    Nov 5, 2014
    Messages:
    5
    Likes Received:
    0
    Good morning,

    I attempted to upgrade my Pi3 running Asterisk 13.10.0 XiVO 16.10 using the commands listed above. I reserved the following error

    The following packages will be upgraded:
    xivo-upgrade
    1 upgraded, 0 newly installed, 0 to remove and 164 not upgraded.
    Need to get 16.5 kB of archives.
    After this operation, 1,024 B of additional disk space will be used.
    WARNING: The following packages cannot be authenticated!
    xivo-upgrade
    E: There are problems and -y was used without --force-yes

    I'm sure I did something wrong any clue to how I can fix this?

    Best Regards,

    Andy
     
  3. wardmundy

    wardmundy
    Expand Collapse
    Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    12,595
    Likes Received:
    1,870
    Did you uncomment lines 2,3 and 4??
     
  4. AndyK

    AndyK
    Expand Collapse
    New Member

    Joined:
    Nov 5, 2014
    Messages:
    5
    Likes Received:
    0
    Thank you for the reply.
    Yes first I copied and pasted the commands to notepad and then removed the ; Then I copied the commands to my ssh session.
     
  5. wardmundy

    wardmundy
    Expand Collapse
    Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    12,595
    Likes Received:
    1,870
    Upgrades on a RasPi are an inexact science. The RasPi products are not produced by nor supported by XiVO.
     
  6. AndyK

    AndyK
    Expand Collapse
    New Member

    Joined:
    Nov 5, 2014
    Messages:
    5
    Likes Received:
    0
    Point taken i've moved on to using a more suitable platform.

    Thank you,
    Andy
     
  7. wardmundy

    wardmundy
    Expand Collapse
    Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    12,595
    Likes Received:
    1,870
    Tutorial updated above for XiVO 16.13 release.
     
    Jack Miller likes this.
  8. JFrost

    JFrost
    Expand Collapse
    New Member

    Joined:
    Oct 1, 2016
    Messages:
    8
    Likes Received:
    2
    Tried as above but I keep getting error about binary-armhf not found. FYI this was happening even before I changed the sources list file as per above.
    Advice?

    Code:
    W: Failed to fetch http://mirror.xivo.io/debian/dists/xivo-five/InRelease  Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)
    
    W: Failed to fetch http://www.iris-network.fr/raspivo/raspberrypi3/16.13/dists/jessie/main/binary-armhf/Packages  404  Not Found
    
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    installed version : 16.10
    proposed update : 16.10
    
     
  9. wardmundy

    wardmundy
    Expand Collapse
    Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    12,595
    Likes Received:
    1,870
    The Raspberry Pi edition of XiVO is maintained by a separate, independent company. They probably do not yet have a 16.13 release.
     
  10. JFrost

    JFrost
    Expand Collapse
    New Member

    Joined:
    Oct 1, 2016
    Messages:
    8
    Likes Received:
    2
    In your update instructions above you specifically say to uncomment "the next 3 lines" for raspberry pi, which brings the repos up to 16.13 so you might consider revising that if/when you believe a release not existing. However, 16.13 is announced on http://raspivo.io/ as of yesterday (10/12/2016) and I'm getting the error still even if I change the value to 16.12. As I said earlier, I was having these errors with the 16.10 repos as well (which is where I first installed) so the problem seems not version specific but something with apt-get and/or the sources.list(s)

    In the output from an apt-get update (see below) I can see a bunch of Ign errors on the iris-network and raspberrypi.org sources and I'm not sure why these are having problems. My linux is not very strong at all and while I seem to have traced down and isolated the errors to apt-get's sources, the actual solution seems just past my horizon.

    In all cases, xivo-upgrade fails to upgrade the version. My original install (16.10) is from your article here and following your instructions so if not here then where do I go for support? Raspivo.io seems to be just a blog and is French language. I could not find a forum on their site.
    Thanks

    Code:
    root@xivo:~# apt-get update
    Hit http://mirror.xivo.io xivo-five InRelease
    Hit http://mirrordirector.raspbian.org jessie InRelease
    Ign http://ftp.fr.debian.org stable InRelease
    Hit http://archive.raspberrypi.org jessie InRelease
    Hit http://ftp.fr.debian.org stable Release.gpg
    Ign http://www.iris-network.fr jessie InRelease
    Hit http://ftp.fr.debian.org stable Release
    Ign http://www.iris-network.fr jessie Release.gpg
    Hit http://www.iris-network.fr jessie Release
    Hit http://archive.raspberrypi.org jessie/main armhf Packages
    Hit http://archive.raspberrypi.org jessie/ui armhf Packages
    Hit http://www.iris-network.fr jessie/main armhf Packages
    Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
    Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
    Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
    Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
    Ign http://archive.raspberrypi.org jessie/main Translation-en_US
    Hit http://ftp.fr.debian.org stable/main armhf Packages
    Ign http://archive.raspberrypi.org jessie/main Translation-en
    Hit http://ftp.fr.debian.org stable/contrib armhf Packages
    Ign http://archive.raspberrypi.org jessie/ui Translation-en_US
    Ign http://archive.raspberrypi.org jessie/ui Translation-en
    Hit http://ftp.fr.debian.org stable/non-free armhf Packages
    Ign http://www.iris-network.fr jessie/main Translation-en_US
    Hit http://ftp.fr.debian.org stable/contrib Translation-en
    Ign http://www.iris-network.fr jessie/main Translation-en
    Hit http://ftp.fr.debian.org stable/main Translation-en
    Hit http://ftp.fr.debian.org stable/non-free Translation-en
    Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_US
    Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
    Ign http://mirrordirector.raspbian.org jessie/main Translation-en_US
    Ign http://mirrordirector.raspbian.org jessie/main Translation-en
    Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_US
    Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
    Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_US
    Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
    W: Failed to fetch http://mirror.xivo.io/debian/dists/xivo-five/InRelease  Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)
    
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    

    Code:
    root@xivo:~# xivo-upgrade
    Upgrading xivo-upgrade
    W: Failed to fetch http://mirror.xivo.io/debian/dists/xivo-five/InRelease  Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)
    
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following packages will be upgraded:
      xivo-upgrade
    1 upgraded, 0 newly installed, 0 to remove and 63 not upgraded.
    Need to get 16.5 kB of archives.
    After this operation, 1,024 B of additional disk space will be used.
    WARNING: The following packages cannot be authenticated!
      xivo-upgrade
    E: There are problems and -y was used without --force-yes
    Purging FAI packages...
    Reading package lists...
    Building dependency tree...
    Reading state information...
    Package 'xivo-fai-dev' is not installed, so not removed
    Package 'xivo-fai-rc' is not installed, so not removed
    Package 'xivo-fai' is not installed, so not removed
    Package 'xivo-fai-13.25' is not installed, so not removed
    Package 'xivo-fai-14.01' is not installed, so not removed
    Package 'xivo-fai-14.02' is not installed, so not removed
    Package 'xivo-fai-14.03' is not installed, so not removed
    Package 'xivo-fai-14.04' is not installed, so not removed
    Package 'xivo-fai-14.05' is not installed, so not removed
    Package 'xivo-fai-14.06' is not installed, so not removed
    Package 'xivo-fai-14.07' is not installed, so not removed
    Package 'xivo-fai-14.08' is not installed, so not removed
    Package 'xivo-fai-14.09' is not installed, so not removed
    Package 'xivo-fai-14.10' is not installed, so not removed
    Package 'xivo-fai-14.11' is not installed, so not removed
    Package 'xivo-fai-14.12' is not installed, so not removed
    Package 'xivo-fai-14.13' is not installed, so not removed
    Package 'xivo-fai-14.14' is not installed, so not removed
    Package 'xivo-fai-14.15' is not installed, so not removed
    Package 'xivo-fai-14.16' is not installed, so not removed
    Package 'xivo-fai-14.17' is not installed, so not removed
    0 upgraded, 0 newly installed, 0 to remove and 64 not upgraded.
    Ign http://ftp.fr.debian.org stable InRelease
    Hit http://archive.raspberrypi.org jessie InRelease
    Hit http://ftp.fr.debian.org stable Release.gpg
    Ign http://www.iris-network.fr jessie InRelease
    Hit http://ftp.fr.debian.org stable Release
    Ign http://www.iris-network.fr jessie Release.gpg
    Hit http://www.iris-network.fr jessie Release
    Hit http://archive.raspberrypi.org jessie/main armhf Packages
    Hit http://archive.raspberrypi.org jessie/ui armhf Packages
    Hit http://www.iris-network.fr jessie/main armhf Packages
    Ign http://archive.raspberrypi.org jessie/main Translation-en_US
    Ign http://archive.raspberrypi.org jessie/main Translation-en
    Ign http://archive.raspberrypi.org jessie/ui Translation-en_US
    Ign http://archive.raspberrypi.org jessie/ui Translation-en
    Ign http://www.iris-network.fr jessie/main Translation-en_US
    Ign http://www.iris-network.fr jessie/main Translation-en
    Hit http://ftp.fr.debian.org stable/main armhf Packages
    Hit http://ftp.fr.debian.org stable/contrib armhf Packages
    Hit http://ftp.fr.debian.org stable/non-free armhf Packages
    Hit http://mirror.xivo.io xivo-five InRelease
    Hit http://mirrordirector.raspbian.org jessie InRelease
    Hit http://ftp.fr.debian.org stable/contrib Translation-en
    Hit http://ftp.fr.debian.org stable/main Translation-en
    Hit http://ftp.fr.debian.org stable/non-free Translation-en
    Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
    Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
    Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
    Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
    Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_US
    Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
    Ign http://mirrordirector.raspbian.org jessie/main Translation-en_US
    Ign http://mirrordirector.raspbian.org jessie/main Translation-en
    Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_US
    Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
    Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_US
    Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
    W: Failed to fetch http://mirror.xivo.io/debian/dists/xivo-five/InRelease  Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)
    
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    installed version : 16.10
    proposed update : 16.12
    Would you like to upgrade your system (all services will be restarted) [Y/n]?
    Executing pre-stop upgrade action...
    Closing port 5060.
    Waiting for services to stop successfully...
    Disabling XiVO services...
    Executing post-stop upgrade action...
    Upgrading xivo...
    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following packages will be upgraded:
      xivo-config
    1 upgraded, 0 newly installed, 0 to remove and 63 not upgraded.
    Need to get 47.2 kB of archives.
    After this operation, 1,024 B disk space will be freed.
    WARNING: The following packages cannot be authenticated!
      xivo-config
    E: There are problems and -y was used without --force-yes
    Enabling XiVO services...
    Waiting for services to start successfully...
            starting dahdi ... OK
            starting xivo-sysconfd ... OK
            starting xivo-confgend ... OK
            starting xivo-confd ... OK
            starting xivo-auth ... OK
            starting xivo-dxtora ... OK
            starting xivo-provd ... OK
            starting xivo-agid ... OK
            starting asterisk ... OK
            starting xivo-amid ... OK
            starting xivo-call-logs ... OK
            starting xivo-agentd ... OK
            starting xivo-ctid ... OK
            starting xivo-dird ... OK
            starting xivo-dird-phoned ... OK
            starting xivo-ctid-ng ... OK
            starting xivo-websocketd ... OK
    Opening port 5060.
    XiVO fully booted
    root@xivo:~#
    
    
     
  11. wardmundy

    wardmundy
    Expand Collapse
    Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    12,595
    Likes Received:
    1,870
    I apologize. The sed statements (above) all have to point to 16.13, not 16.12. You really only need the first one if you're currently on 16.10. I have fixed it now. Make a backup of your microSD card BEFORE you begin!
     
  12. JFrost

    JFrost
    Expand Collapse
    New Member

    Joined:
    Oct 1, 2016
    Messages:
    8
    Likes Received:
    2
    Thanks Ward. I think it worked as it was though because my irisnetwork.list still ended up at 16.13. And that still doesn't change my apt-get problem, which existed even before I ran through the upgrade above.

    Can you help with that or at least tell me where I should be looking for support on RPi? As I said, I've only found their blog and it's french. No sign of a forum unless I'm missing it.
     
  13. MGD4me

    MGD4me
    Expand Collapse
    Guru

    Joined:
    Feb 3, 2009
    Messages:
    390
    Likes Received:
    47
  14. wardmundy

    wardmundy
    Expand Collapse
    Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    12,595
    Likes Received:
    1,870
  15. MGD4me

    MGD4me
    Expand Collapse
    Guru

    Joined:
    Feb 3, 2009
    Messages:
    390
    Likes Received:
    47
    I was confirming your message with an additional link. Redundant, I guess... just trying to add a link to the repository. :oops:
     
  16. JFrost

    JFrost
    Expand Collapse
    New Member

    Joined:
    Oct 1, 2016
    Messages:
    8
    Likes Received:
    2
    The problem is not 16.13 specific! I have the same issue trying to update to 16.12 and I had the same errors with apt-get even on the 'stock' install at 16.10!
    Please stop pointing to 16.13 as the problem.

    And if you won't/can't help, at least point me to where I CAN get support for xivo on rpi.
     
  17. wardmundy

    wardmundy
    Expand Collapse
    Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    12,595
    Likes Received:
    1,870
    Hey, @JFrost. Chill. I'm not pointing to 16.13 as your problem. What I'm trying to tell you (perhaps inartfully) is the Raspberry Pi 3 XiVO build is not maintained by anyone that I know or that speaks English. You can search the web as well as I can to see if you can get support. The problem is in their build, and it's not something either I or the XiVO developers can fix. If you want a supported product, use a platform that XiVO supports for XiVO problems.
     
    dicko likes this.
  18. JFrost

    JFrost
    Expand Collapse
    New Member

    Joined:
    Oct 1, 2016
    Messages:
    8
    Likes Received:
    2
    If that's what you meant, it's not what you said. Each of your posts only points to 16.13 (first post said 16.13 wasn't released, next post said you fixed the 'sed' statements to point to 16.13, and then you concurred with MGD that 16.13 wasn't released.) If you had said "We don't support xivo on RPi and I don't know who does" I would have understood that but instead, each of your posts pointed back to 16.13 and "inartfully", as you put it, avoided the rest of my posts' asking for where to get support and pointing out that the problem exists on 16.10.

    And frankly, if you're not going to offer support on the RPi then when you write 2 page articles on it with step by step installs, perhpas somewhere in there (preferably somewhere in or around the first paragraph) you should mention that it's an unsupported platform with little to no help from you or anyone else.

    I get that these are free and open sourced projects and I get that no one is indebted to help here but it's maddening when I take the time to lay out my questions and points thoroughly and I get back answers that speak to one and only one point, repeatedly, while ignoring all the other important details in my posts. This stuff can be hard enough when you're learning and groping around in the dark.

    When you pop in somewhere to ask for help of the supposed "experts" it's quite frustrating to get single-point and dismissive answers. Sorry to bother you with my lack of knowledge.
     
  19. wardmundy

    wardmundy
    Expand Collapse
    Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    12,595
    Likes Received:
    1,870
    No bother at all. It's the condescending attitude that gets in the way. By all means go elsewhere if you don't find this forum helpful.

    This thread was on upgrades. I already had noted to @AndyK that upgrades were a problem on the RasPi. Not sure how much more clear that could have been. If you're going to run a PBX, you probably should find a version that works and leave it alone. Upgrades can be problematic, and that goes double on an unsupported platform with foreign repositories, especially if your "linux [knowledge] is not very strong at all."

    The distributed version works well AS IS and doesn't need constant improvement. Over and out.
     
    #19 wardmundy, Oct 13, 2016
    Last edited: Oct 13, 2016
  20. wardmundy

    wardmundy
    Expand Collapse
    Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    12,595
    Likes Received:
    1,870
    Upgrading to XiVO 16.15 Development version

    This upgrade includes Asterisk 14.1.2:

    [​IMG]

    Also features Voicemail and Avatar support in WebRTC:

    [​IMG]

    Code:
    xivo-dist xivo-dev
    /etc/init.d/netfilter-persistent stop
    xivo-upgrade
    iptables-restart
    # restore Incredible PBX module and ODBC configuration
    cp -p /etc/asterisk/modules.conf /etc/asterisk/modules.conf-new
    cp -p /etc/asterisk/res_odbc.conf /etc/asterisk/res_odbc.conf-new
    cp -p /etc/asterisk/modules.conf.dpkg-old /etc/asterisk/modules.conf
    cp -p /etc/asterisk/res_odbc.conf.dpkg-old /etc/asterisk/res_odbc.conf
    # add Google Voice OAuth support for Asterisk 14
    cd /usr/src
    git clone https://github.com/sboily/asterisk-res-xmpp-oauth.git
    cd asterisk*
    make patch
    make
    make install
    xivo-service restart
    # put the Incredible PBX web add-ons back in place
    cd /
    wget http://incrediblepbx.com/incredible-nginx.tar.gz
    tar zxvf incredible-nginx.tar.gz
    rm -f incredible-nginx.tar.gz
    ln -s /etc/nginx/locations/https-available/01_incrediblepbx /etc/nginx/locations/https-enabled/.
    cd /etc/nginx
    wget http://incrediblepbx.com/nginx-config.tar.gz
    tar zxvf nginx-config.tar.gz
    rm -f /etc/nginx/sites-enabled/default
    /etc/init.d/nginx restart
    sed -i 's|13.|14.|' /etc/pbx/.version
    
    This upgrade will also load the terrific CDR CEL viewer from @Bart:

    [​IMG]

    In the XiVO GUI, goto IPX -> Call Management -> Call Logs.

    AsteriDex 4 (yourIP/asteridex4/) and Telephone Reminders (yourIP/reminders/) now use https! Don't forget the trailing slash to access the applications.
     
    #20 wardmundy, Nov 22, 2016
    Last edited: Dec 8, 2016

Share This Page