Skip to content

Upgrading Your IPMonitor Application to the Latest Version

Keeping your IPMonitor application updated is crucial for maintaining its performance, security, and accessing new features. This guide will walk you through the process of updating your IPMonitor application to the latest version.

Step-by-Step Upgrade Guide

1. Navigate to the Application Directory

First, you need to access the IPMonitor application directory on your server.

  • Open your terminal and navigate to the IPMonitor directory using this command:

    bash
    cd /opt/ipmonitor/
    cd /opt/ipmonitor/

2. Fetch the Latest Images

The next step involves pulling the latest image versions of the application.

  • Execute the following command to retrieve the latest images:

    bash
    sudo -E make dc-pull
    sudo -E make dc-pull

    This command fetches the most recent updates available for IPMonitor.

3. Restart the Application

Finally, you need to apply the updates and restart the IPMonitor application.

  • Run these commands in sequence to restart the application:

    bash
    sudo -E make dc-up
    sudo -E make dc-migrate
    sudo -E make dc-up
    sudo -E make dc-migrate

    The dc-up command starts the application with the new updates, while dc-migrate ensures that any necessary database migrations are applied.

Important Notes

  • Permissions: Ensure that you have the necessary permissions to execute these commands. This might require you to have administrative or superuser access to your server.

  • Data Backup: Although not mentioned in the steps, it's always a good practice to back up your application data before performing an update.

Following these steps will update your IPMonitor application to the latest version, ensuring that you have access to all the latest features and improvements.