Skip to content

Questions and Answers

How do I update the license.dat file after installation in IPMonitor?

Updating the license.dat file in IPMonitor is a straightforward process that does not require accessing the container directly. Here's how you can do it:

Steps to Update the license.dat File

  1. Access the License File:

    • Open the license.dat file using a text editor like nano. You can do this with the following command:
      bash
      nano /opt/ipmonitor/license.dat
      nano /opt/ipmonitor/license.dat
    • Alternatively, if you have a new license file ready, simply copy it to the /opt/ipmonitor/ folder.
  2. Understand the Mapping:

    • The .env and license.dat files are mapped from the application folder (/opt/ipmonitor/) to the fpm-php container. This means that any changes made to these files in the /opt/ipmonitor/ folder will automatically reflect across all containers where they are mapped.
  3. Apply Changes:

    • After updating or replacing the license.dat file, you need to clear the application cache to apply the new license. Execute the following command to clear the cache:
      bash
      sudo -E docker compose exec workspace php artisan cache:clear
      sudo -E docker compose exec workspace php artisan cache:clear

Important Notes

  • No Container Access Needed: You don't need to go inside any Docker container to make these changes. The update is done directly in the application folder on your host machine.

  • Cache Clearing: Clearing the cache is an essential step to ensure that your application starts using the new license immediately.

By following these steps, you can easily update the license.dat file in your IPMonitor application without the need to delve into complex container configurations.