Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 17 Next »

MazeMap has released a new and improved LIPI indoor positioning software called LIPI 4.0.1. The process of updating to the newest LIPI version is simple and straightforward if you have access to the correct services, and your existing LIPI server is connected to the internet. (If your LIPI server is not connected to the internet, you can do please go follow the steps in this installation guide.) You will need to involve someone with access to the LIPI server and that preferably has experience with SSH and linux when performing this update. For more detailed information about the LIPI installer, have a look at the this description.

For this update MazeMap has implemented a new tool that will:

  • download and update the LIPI for you;

  • make sure to use the current configuration running in your LIPI; and,

  • create a copy of the last working version so that you are able to go back to that version if there are any issues during the install.

This guide will explain what needs to be done Step-by-step to install the LIPI.

Time needed: 30 minutes.

Dependencies

In order to upgrade the LIPI you will need the following:


Update an existing LIPI configuration:

  1. SSH into the LIPI server

  2. Download and install the script by typing:

    wget -O lipi 'https://storage.googleapis.com/mm-prod-app-public-sharing/lipi/latest/lipi';chmod +x lipi;./lipi --setup
    


    You will get the following question:

    Mazemap API key (leave blank and hit <enter> for offline installation):

  3. To get your API Key do the following steps:

    1. Go to Map Editor and navigate to the Indoor positioning menu.

    2. Click on Lipi Configuration

    3. Expand a lipi configuration and click on generate. You can then copy this key and past it into your SSH.

  4. When you have pasted in the API key from the question in 3, you will get a new question

    Installation folder:


    We recommend you to name the folder lipi-install

    Installation folder: lipi-install     


    After this is done, it is worth mentioning that the LIPI will send a status report to MazeMap on a regular basis. The information that is sent to the MazeMap is the same information that you get when typeing

    ./lipi --status


    You should get the following message, this means that you ave successfully installed the tool we use to install and set up the LIPI correct.

    Setup complete

  5. To download the LIPI do the following:

    ./lipi --install latest

  6. You will get the following questions. Press Enter for question number 1 and 2. Press y for question 3.

    Enter lipi_port (<enter> to keep "443"):
    Enter lipi server protocol (<enter> to keep "https")
    Ready to activate. Continue (y/n)?


    You should get the message:

    Stopping current lipi version: OK
    Waiting for LIPI to start (up to 30 sec): ....OK
    Saving config: OK

  7. Run the following command to get a status:

    ./lipi --status


    You should get the message:

    Checking lipi installation... OK
    Running shallow health checks... OK
    Running deep health checks... OK
    Status: healthy
    Version: 4.0.1Installed at: 2019-11-06 14:14:19

  8. Test and verify that the LIPI is running.

    1. Open a browser and go to https://debug.mazemap.com/lipi/

    2. Click on “Refresh List” and your LIPI should show up in the list.

    3. Click on the blue “Test”-button associated to your LIPI.

    4. If all tests are green and says “PASSED” it means your LIPI is working as expected without any issues. You can now go to use.mazemap.com and test that the blue dot is working as it did prior to the update.

    5. If one or more of the tests says “FAILED” contact MazeMap support at support@mazemap.com and describe the problem. Please take a screenshot of the tests and attach it to the email. Also click on the blue button on the bottom of the page that says “Send results to MazeMap”.

Assistance:

If you need any help while doing the upgrade, you are welcome to send a mail to support@mazemap.com. If needed we can also schedule a meeting and go through the update together with you.

Good luck!


  • No labels