Solved Install on OVH vps failing

Discussion in '3CX Phone System - General' started by Michael1600, Jun 23, 2017.

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

    Joined:
    Jun 23, 2017
    Messages:
    25
    Likes Received:
    1
    Unable to install on new OVH vps server. Able to log in with Putty and loaded the following commands with success:
    wget -O- http://downloads.3cx.com/downloads/3cxpbx/public.key | apt-key add -

    echo "deb http://downloads.3cx.com/downloads/3cxpbx/ /" | tee /etc/apt/sources.list.d/3cxpbx.list

    apt-get update

    This command failed:

    apt-get install 3cxpbx

    Error message is: E: Unable to locate package 3cxpbx.

    Also ran:
    apt-get upgrade
    followed by:
    apt-get install 3cxpbx

    Still got error:
    E: Unable to locate package 3cxpbx.

    Would appreciate some help-Thanks!
     
  2. cobaltit

    cobaltit Active Member

    Joined:
    Mar 22, 2012
    Messages:
    833
    Likes Received:
    127
    That error would indicate the 2nd line of commands didn't work or you've somehow mangled your apt configuration. I would try running the second line again:

    echo "deb http://downloads.3cx.com/downloads/3cxpbx/ /" | tee /etc/apt/sources.list.d/3cxpbx.list

    And read carefully to make sure it worked. When you run the 3rd command "apt-get update" you should see the 3CX repo listed in the output there. If not, then the 4th command isn't going to work.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Michael1600

    Joined:
    Jun 23, 2017
    Messages:
    25
    Likes Received:
    1
    Thank you for your help. Re-ran the commands for the third time and it worked. Now up and running. Any tips on managing the OVH Vps and best practices for managing backups?
     
  4. Bret Gordon

    Joined:
    Jun 16, 2017
    Messages:
    24
    Likes Received:
    3
    Michael1600 likes this.
  5. Michael1600

    Joined:
    Jun 23, 2017
    Messages:
    25
    Likes Received:
    1
    Thanks, can you recommend a place to learn about setting up cron jobs to send backup off site?
     
  6. Bret Gordon

    Joined:
    Jun 16, 2017
    Messages:
    24
    Likes Received:
    3
    not really, sorry, but:

    1) you need an sftp site to send it to (another linux server that you run)
    2) you need to know where the backup files are (see link in previous post)
    3) you need to add a cron rule to run the command to send those files to the sftp site nightly or however often

    you can google all of this, it's standard linux sysadmin stuff. not trying to be a D
     
  7. Michael1600

    Joined:
    Jun 23, 2017
    Messages:
    25
    Likes Received:
    1
    Got it. Thanks again.
     
  8. Bret Gordon

    Joined:
    Jun 16, 2017
    Messages:
    24
    Likes Received:
    3
  9. Bret Gordon

    Joined:
    Jun 16, 2017
    Messages:
    24
    Likes Received:
    3
    Maybe I should feature-request that backups get sent off-site automatically with user credentials/location...shouldn't be hard to implement...
     
  10. cobaltit

    cobaltit Active Member

    Joined:
    Mar 22, 2012
    Messages:
    833
    Likes Received:
    127
    Offsite backups is already available with v15 SP5 and later with Google Drive integration
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. Bret Gordon

    Joined:
    Jun 16, 2017
    Messages:
    24
    Likes Received:
    3
    cool, ty. i'll implement :)
     
Thread Status:
Not open for further replies.