Skip to content
Lenarys Analytics Docs
Back to website
Get started Installation

Installation

Install the plugin, complete the Moodle upgrade, and verify the services it relies on.

Before you start

Confirm that the Moodle site meets the version requirements, has a working cron process, and can reach the configured license API when automatic API mode will be used.

Back up first. Follow your normal Moodle change process and back up the database and application files before installing or upgrading any production plugin.

Install the plugin

Download the plugin from one of the Lenarys Analytics sources above and select the release identified for your Moodle version.

  1. Place the files

    Copy the plugin directory to local/la in the Moodle application.

  2. Run the Moodle upgrade

    Visit Site administration → Notifications, or run the CLI command below from the Moodle root.

Shell
php admin/cli/upgrade.php
  1. Allow Moodle to create the tables

    The install process creates report, app, schedule, audience, AI history, audit, and learning-time storage.

  2. Purge caches if required

    Use Site administration → Development → Purge caches when new navigation or JavaScript is not visible.

Initial configuration

Open Site administration → Plugins → Local plugins → Lenarys Analytics and set the following first:

SettingRecommended first valueWhy it matters
AppearanceSystemMatches the user’s Moodle/browser preference.
Billing AdminA named site administratorOwns catalogue approvals, audiences, licensing, and subscription review.
API modeAutomatic API syncUses the configured endpoint for license and report/app catalogue updates.
DebugDisabledAvoids exposing or persisting technical detail in production.
Learning-time trackingDisabled until reviewedTracking stores personal activity signals and should follow local policy.

Verify the installation

  • Open Reports → Lenarys Analytics → Get started.
  • Confirm the Preferences page shows the intended API mode and license state.
  • Open the Library and confirm Reports and Apps load.
  • As the Billing Admin, confirm the Library’s Marketplace tab is available.
  • Run cron and confirm scheduled tasks complete without Lenarys Analytics errors.
Shell
php admin/cli/cron.php

Upgrade safely

Replace the plugin files with the new release, run Moodle’s upgrade process, purge caches, and smoke-test one report, one app, one schedule, and license refresh. Do not overwrite config.php customizations without reconciling them against the new release.

Was this page helpful?

Your feedback is stored in this browser.