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
Access the License File:
- Open the
license.datfile using a text editor like nano. You can do this with the following command:bashnano /opt/ipmonitor/license.datnano /opt/ipmonitor/license.dat - Alternatively, if you have a new license file ready, simply copy it to the
/opt/ipmonitor/folder.
- Open the
Understand the Mapping:
- The
.envandlicense.datfiles are mapped from the application folder (/opt/ipmonitor/) to thefpm-phpcontainer. This means that any changes made to these files in the/opt/ipmonitor/folder will automatically reflect across all containers where they are mapped.
- The
Apply Changes:
- After updating or replacing the
license.datfile, you need to clear the application cache to apply the new license. Execute the following command to clear the cache:bashsudo -E docker compose exec workspace php artisan cache:clearsudo -E docker compose exec workspace php artisan cache:clear
- After updating or replacing the
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.