This guide will explain what needs to be done Step-by-step to install the LIPI, when you don’t plan to connect it to the internet. If you are, however, considering using internet for the installation and for operational use of the LIPI, kindly refer to https://mazemap.atlassian.net/l/c/xBtcNDmq
Time needed: 30 minutes.
Dependencies
In order to upgrade the LIPI you will need the following:
SSH access to the LIPI server.
Access to CMX GUI (browser) and CLI (terminal).
Pre-installed java in the server openjdk-8-jre-headless
A device that is connected to the WiFi network that is used for positioning purposes. This requires you being on site at the campus and using public wifi network
Access to Map Editor in MazeMap https://admin.mazemap.com/
LIPI 4.x software update tool that can be downloaded from here: https://storage.mazemap.com/lipi/latest/lipi
Optional: FTP software (For example FileZilla), for easier moving files in the server.
Update an existing LIPI configuration:
Download the install script by going to:
https://storage.mazemap.com/lipi/latest/lipiTransfer the installer file to your LIPI server.
Open up a File Transfer Protocol software (for example FileZilla) and connect to your LIPI server.
Upload the file you downloaded. Place the folder in your user’s home folder.
Make the LIPI file executable:
chmod +x lipi
To complete the installation of the install script write the following:
./lipi --setup
You will get the following question, click Enter:Mazemap API key (leave blank and hit <enter> for offline installation):
You are requested to input the installation folder. We recommend you to name the folder lipi-installInstallation folder: lipi-install
You should now get the following message, this means that you ave successfully installed the tool we use to install and set up the LIPI correctly.
Setup complete
Download the newest LIPI version by logging in to Map Editor perform the following steps
Navigate to the Indoor positioning menu.
Click on LIPI Configuration
Expand a LIPI configuration and click on generate.
Click option and then Download ZIP:
Transfer the installer file to your LIPI server.
Open up a File Transfer Protocol software (for example FileZilla) and connect to your LIPI server.
Upload the file you downloaded. Place the folder in your user’s home folder.
In order to update do the following:
./lipi --install 4.0.1 --lipi-path "/$PWD/lipi.zip"
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
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
Test and verify that the LIPI is running.
Open a browser and go to https://debug.mazemap.com/lipi/
Click on “Refresh List” and your LIPI should show up in the list.
Click on the blue “Test”-button associated to your LIPI.
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.
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!