Dismiss Notice
We would like to remind you that we’re updating our login process for all 3CX forums whereby you will be able to login with the same credentials you use for the Partner or Customer Portal. Click here to read more.

Upgrading from Debian 8 to Debian 9

Discussion in '3CX Phone System - General' started by nb, Nov 15, 2017.

Thread Status:
Not open for further replies.
  1. nb

    nb Support Team
    Staff Member 3CX Support

    Joined:
    Jun 7, 2007
    Messages:
    2,153
    Likes Received:
    172
    Continue reading the Original Blog Post.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    complex1 and eddv123 like this.
  2. Konstantinos Arch

    Joined:
    Nov 15, 2017
    Messages:
    1
    Likes Received:
    0
    Great news! And thanks for the detailed video. I have some questions.
    1. When you remove 3CX, the configuring of the PBX is also reseting? I will take a back up before try to upgrate just in case. But, if I understood it right, when you reinstall 3CX the configuring has been kept as it was and you can connect to the Dashboard. Am I right?
    2. After the upgrade and after the cleaning up, the command line keeps starting with root@debianjessie8:~# . Why is that? Is something that the cleaning didn't remove? Shouldn't it be something like root@debianstretch9:~# ?
     
  3. jvivona

    Joined:
    May 18, 2014
    Messages:
    26
    Likes Received:
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cobaltit

    cobaltit Well-Known Member

    Joined:
    Mar 22, 2012
    Messages:
    1,609
    Likes Received:
    243
    @Konstantinos Arch

    The debianjessie8 part of the prompt is the hostname so you'd have to change that manually.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. techsitters

    Joined:
    Sep 29, 2014
    Messages:
    16
    Likes Received:
    6
    During the unattended script install, you are prompted to update ntp.conf. I assume updating is fine and will not cause any issues? (screenshot attached)
     

    Attached Files:

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. OCWI

    OCWI New Member

    Joined:
    Jan 17, 2017
    Messages:
    161
    Likes Received:
    46
    will this script work with a ovh installation? If not, is there a guide for people hosting their pbx on ovh?
     
  7. jvivona

    Joined:
    May 18, 2014
    Messages:
    26
    Likes Received:
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. sip.bg

    sip.bg Active Member

    Joined:
    Nov 7, 2016
    Messages:
    704
    Likes Received:
    220
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #8 sip.bg, Nov 16, 2017
    Last edited: Nov 16, 2017
  9. A. Post

    Joined:
    Nov 16, 2017
    Messages:
    4
    Likes Received:
    1
    I did the upgrade based on the video. I started with the 3CX ISO (Debian 8) a few weeks ago as the base for this upgrade. Not too much problems, but here are some notes:

    1) PGSQL upgrade might hang on LOCALE issues. If the problem is that LC_ALL is (unset), this might help:
    > export LC_CTYPE=en_US.UTF-8 export LC_ALL=en_US.UTF-8 (or adjust to your personal situation)
    > restart pg_upgradecluster

    2) after reinstall of the 3cxpbx package there might be some problems (i think related to changes in locale settings) where logging in the webinterface is not possible and language prompts are not translated to the set language.
    > Reboot and check status again, things might work and you can continue housekeeping tasks
     
  10. Phone systems NZ

    Joined:
    Feb 15, 2017
    Messages:
    53
    Likes Received:
    15
    this command did not work for me
    apt -y --force-yes install libcurl3=7.38.0-4+deb8u5

    i get
    E: Version '7.38.0-4+deb8u5' for 'libcurl3' was not found
    and now I can't finish the upgrade so my 3cx is now not working. what do i do to fix it?
     
  11. Phone systems NZ

    Joined:
    Feb 15, 2017
    Messages:
    53
    Likes Received:
    15
    Never mind i'm re-installing from scratch with the new ISO and using my backup to restore. Seems to be easier than the upgrade option described in the post.
     
  12. network51

    Joined:
    Mar 10, 2014
    Messages:
    6
    Likes Received:
    8
    does this script work for the hosted google instances of debian?
     
  13. Igor Vitorac

    Joined:
    Nov 27, 2017
    Messages:
    10
    Likes Received:
    0
    What about PBX Express? Are the mentioned guidelines applicable for PBX Express which was deployed (I assume) with Debian 8?

    Thanks,
    Igor
     
  14. StefanW

    StefanW Head of Customer Support and Training
    Staff Member 3CX Support

    Joined:
    Jun 2, 2009
    Messages:
    1,222
    Likes Received:
    93
    Yes, you can use it in PBXexpress GC instances

    Have a look as we made a new version of the script and I have used it on my Google Deb8 15.5 Sp1 and all was fine.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. Imaxinar DM

    Joined:
    Mar 4, 2017
    Messages:
    9
    Likes Received:
    1
    I wanted to check what version / service pack I have running already on the Linux box.. but the Dashboard does not say anywhere. What is the best way to check? Even the License tab is vague as it does not list the SP and the system says it is "up to date".

    I don't want to run something without knowing what the system is at now.
     
  16. YiannisH_3CX

    YiannisH_3CX Support Team
    Staff Member 3CX Support

    Joined:
    May 10, 2016
    Messages:
    7,395
    Likes Received:
    535
    @Imaxinar DM

    You can see the exact build number of the PBX on the Dashboard under the Information column next to the licence. The current version is 15.5.6354.2 (SP2). If you are on an earlier version you can what service pack that is by comparing it with the change log.
     
  17. complex1

    complex1 Active Member

    Joined:
    Jan 25, 2010
    Messages:
    814
    Likes Received:
    49
    Hi,

    Today I upgrade Debian 8.10 to Debian 9.3 using the script as describe in the blog post and all went well.
    The blog post was very helpful and I am very happy now.
    This is what I want to let you know.
    Thanks.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    YiannisH_3CX likes this.
  18. network51

    Joined:
    Mar 10, 2014
    Messages:
    6
    Likes Received:
    8
    this script appears to kill the linux guest environment rending ssh connections on GC console dead. i'm following the instructions but must be doing something wrong.

    3cx can you address this in your script?

    Capture.JPG
     
  19. Nam Tran

    Joined:
    Aug 8, 2017
    Messages:
    6
    Likes Received:
    0
    The script failed at the first time. I had to roll back to a pre-upgrading snapshot.
    The second time it worked. But issuing commands "apt-get update && apt-get dist-upgrade --yes" would then uninstall 3cxpbx package. Is there anything wrong?
     
  20. Camsder

    Joined:
    Jan 30, 2018
    Messages:
    2
    Likes Received:
    0
    The pre-upgrading doesn't seem to work to me
     
Thread Status:
Not open for further replies.