Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To update the Link using Docker you must: 

  1. Check the current version of the server (in the left low corner of the Login page in the Link web interface). 
  2. In the repository check if there are no update peculiarities for the version you want to install. If there is, read the attached manual and complete the instructions.
  3. Login to the VirtualBox Ubuntu.

  4. Login as a superuser: sudo su, and enter the same password one more time.

  5. Follow the directory where your Link is:

    Code Block
    cd/home/link/


  6. Choose the correct type of Link server. If you use the Link:
    1. with sip, but not using the domain (e.g. http://176.215.90.19, http://3.111.25.45) perform:

      Code Block
      cd with-sip


    2. with sip, and with domain (e.g. https://preview.intercom.


    Image RemovedIf there are no update peculiarities or when the instructions are done, go to the script folder and run the command to download new data.
    Code Block
    docker-compose pull
     When all data be be downloaded, stop the Link server with the help of the command: 
    1. team) perform: 

      Code Block
      cd with-sip/with-web-proxy


    2. without sip telephony, and without domain (simply management features) perform:

      Code Block
      cd without-sip


    3. without sip telephony, but with domain (management+ssl) perform:

      Code Block
      cd without-sip/with-web-proxy


      Aura panel
      tab1
      styles{"body":{"text":{"color":"#02070e","textAlign":"left","fontWeight":"lighter","fontSize":14}},"header":{"backgroundColor":{"color":"#ffffff"}},"headline":{"alignment":{"horizontal":"start"}},"base":{"border":{"bottom":false,"left":true,"right":false,"top":false,"color":"#ffab0096","width":10,"style":"solid"},"backgroundColor":{"color":"#ffffff"},"borderRadius":{"radius":4},"boxShadow":{"shadows":[{"color":"rgba(0, 0, 0, 0.08)","x":0,"y":1,"blur":1,"spread":0},{"color":"rgba(0, 0, 0, 0.16)","x":0,"y":1,"blur":3,"spread":1}]}}}
      body

      If you use the Link with-web-proxy, make sure, that the .env file in the current directory still contains your changes: vi .env
      HTTPS_DOMAIN='your domain'
      HTTPS_MODE=production
      IMAGE=latest
      Image Added

      If there are no changes, please, write down your data.

      2. In case of updating from the Link version lower than 1.2.126, please, copy the .env file (as described in Step 4) and make changes after that: cp .env.example .env


  7. Stop the current Link server with the command:

    Code Block
     docker-compose down

     It should be run in the directory with the corresponding type that you are use.

  8.  Update installation images from which the new Link version will be deployed:


    Code Block
    docker-compose down
     In some seconds run the Link again with the command: 
    pull


  9. Start your updated Link server in some seconds: docker-compose up -d


    Code Block
    docker-compose up -d


  10. As a result new version will start functioning. Make sure that all of your containers are started and running properly:

    Code Block
    docker ps


  11. Login to the Link using the previous IP/domain.
Aura panel
tab1
styles{"header":{"backgroundColor":{"color":"#c5e9fb"},"icon":{"size":18,"name":"faInfoCircle","color":"#000"}},"headline":{"text":{"fontSize":14,"fontWeight":"bold","color":"#111111","textAlign":"left","text":"Info"},"alignment":{"horizontal":"start"}},"base":{"size":{"height":150},"backgroundColor":{"color":"#cee9ffcc"},"boxShadow":{"shadows":[{"color":"rgba(0, 0, 0, 0.2)","x":0,"y":1,"blur":6,"spread":0},{"color":"rgba(0, 0, 0, 0.4)","x":0,"y":12,"blur":4,"spread":-10}]}},"body":{"text":{"color":"rgba(0, 0, 0, 0.75)","fontSize":14,"fontWeight":"lighter","textAlign":"left"}}}
body

If you have trouble running the Pull command because of the file on the machine with modifications that are not in Git, it is necessary to remove these changes and only then pull the update.

Image Added

Try the following options:

  • in this directory, run the following command with a dot at the end followed by a space. This will clean up any changes

    Code Block
    git checkout.


  • for force reset perform: 

    Code Block
    git reset --hard