An Administrator can set up a Task Scheduler/Cron Job for a multi-tenancy site with a SPLA license, so that license renewal and reporting will occur automatically.
If a Task Scheduler/Cron Job is not setup for a multi-tenancy site with a SPLA license, license renewal/reporting will not happen automatically.
The site will not acquire license automatically after every month and can only be acquired by the admin logging in. If the monthly report is not completed, then users will get a license error when they login.
Name resolution and HTTPS:
- The URLs of all tenants must be resolvable on the FileCloud server. A workaround is to enter the tenant URLs in the local hosts file.
- If HTTPS is used, the SSL certificates must be installed in Apache even if the SSL termination is done in an external load balancer.
If site licensing expires every month and doesn't get renewed automatically when using the SPLA license, please follow the following steps to troubleshoot.
- Open the Admin Portal for the specific site ; click on "checks" and verify that the cron job was run recently
If the cron job was not run recently, it is critical that a Task Scheduler or Cron Job is setup to run properly when running a multi-tenant system. See instructions on how to set this up. When running cron jobs with multi-tenant scenarios, make sure all sites are accessible by their domain names from the local system that is running the cron job.
The cron job uses the Server URL setting specified in the Admin->Settings page to access the site. Make sure the Server URL works on the local system correctly.
If you are using a HTTPS site, ensure that the Server URL has the correct prefix (https instead of http). After making the Server URL change, you can wait for some time to see if the cron job is now reported as working correctly.Note: If your DNS doesn't resolve the site URL inside the FileCloud server, you can work around it by adding an entry to the domain name to the local Windows HOSTS file in the server.