Calibration Software — User Manual

Complete Software Overview

Purpose of the software

The Calibration Management Application (Factovize Calibration Software) is a browser-based system for managing the tools, gauges, instruments and equipment that a plant must keep calibrated. It keeps one register of every asset, tells you what is due or overdue, controls how a calibration is carried out and approved, records the certificate, and tracks which tool is issued to which machine, part and person.

It is installed on your own server (on-premises). All data stays in your own MySQL or Microsoft SQL Server database and on your own disk. No cloud connection is needed.

What you can do with it

  • Register assets – instruments, gauges, accessories and equipment, each with an automatically generated, read-only IMA number, range, least count, calibration frequency, acceptance criteria and fitness.
  • Watch due dates – a colour-coded due list and a dashboard show what is due in 30 days and what is already overdue; an optional daily e-mail alert tells your team.
  • Run calibration as a controlled workflow – send an asset for Internal or External calibration, have an assigned Executor record the readings, submit them, and have an Approver approve or reject them. Submitted and approved records are locked.
  • Keep the certificate trail – certificate number, provider, validity, uploaded certificate PDF, signatures, and downloadable calibration-history and dispatch PDFs.
  • Issue and return tools – issue an asset against a part, work order, machine and person; reschedule the return date; record the return; see overdue issues at a glance.
  • Control who can do what – four roles with a fixed permission matrix and separation of duties (nobody approves their own work).
  • Audit everything – every create, update and delete is written to an audit log with before and after values.
  • Load data in bulk – Excel import and export for assets and for every master list.

Key concepts and terms

Term Meaning
Asset Any item that must be calibrated: Instrument, Gauge, Accessory or Equipment (these four are the default Asset Types; your Admin can add more).
IMA Number The unique identification number of an asset. It is generated automatically when you choose the Asset Type while adding an asset; the field is read-only. (The number is built from codes such as the asset type and a running number; its exact pattern follows your installation.)
Department (Location) Where an asset lives (for example Machine Shop, Quality Lab). Each department can have an Incharge.
Calibration Provider An external calibration laboratory. To be chosen for External calibration it must be Active and its accreditation certificate must not have expired.
Internal / External calibration Internal is done in-house and needs no provider. External is done by a provider and needs a provider and an expected return date.
Personnel Employees who take part in issue and return (Requesters and Incharges). They are not login accounts.
Users People who can sign in. Each user has exactly one of four roles.
Part A component or product you make for a customer. Only assets linked to a part can be issued for that part.
Work Center (Machine) A machine or station belonging to a department. Chosen when an asset is issued.
Fitness Yes/No – whether the asset is fit for use.
Validation / Calibration frequency How many days between calibrations (and validation checks). The next due date is derived from the last calibration and the frequency.

Asset status lifecycle

Every asset has one current status. The status changes as the asset moves through calibration and issue.

Status Meaning How it is set
Active In service and within its calibration period. Set when an approved calibration is dispositioned (Approve return), when a tool is returned, or manually by an Admin/Asset Manager.
Calibration Needed Due or overdue; must be sent for calibration. Shown for assets that need calibration (for example when due). An Admin or Asset Manager can also select it manually.
Out for Calibration Sent for Internal or External calibration. Only through Send to calibration on the asset page.
Waiting for Approval Calibration has been performed and recorded; the asset waits for approval before it can be Active again. Set automatically when the calibration return is recorded.
Issued Currently issued to a machine/person. Set by Issue & Return; cleared on return.
Not In Use Retired temporarily; excluded from due lists and from calibration. Set manually; listed under Not in Use.
Scrap Permanently withdrawn. Set manually; listed under Scrap List.

Calibration record workflow

Each calibration produces a record in the asset’s Calibration History. The record has its own workflow status that is separate from the asset status:

Record status Meaning Who moves it on
SCHEDULED A calibration has been planned. Asset Manager / Admin
ASSIGNED An Asset Executor has been assigned to carry it out. Asset Manager / Admin
IN_PROGRESS Readings are being entered. Assigned Asset Executor
PENDING_APPROVAL Submitted. The record is locked until an Approver decides. Asset Executor or Asset Manager submits
APPROVED Approved. The record is immutable; only an Admin can revise it through a controlled revision with mandatory remarks. Asset Approver / Admin
REJECTED Sent back with mandatory rejection remarks. The executor can correct and resubmit. Asset Approver / Admin
NOTE A technical Pass/Fail result is separate from approval. An Approver may approve a record whose technical result is Fail if that matches your process rules. Approval alone does not change the asset’s fitness or scrap disposition.

Architecture and deployment (for administrators)

  • Application: one Java (Spring Boot) service, calibration-backend.jar, which also serves the web interface. Requires Java 21.
  • Database: MySQL 8+ (via MariaDB driver) or Microsoft SQL Server. The installation wizard creates the schema; existing databases are never dropped.
  • Files: uploaded certificates and signatures are stored under data/media.
  • Web address: http://<server>:8080/calibration/ (port set by CAL_SERVER_PORT).
  • Package folders: app/ (the jar), config/ and env.example (settings template), scripts/ (start, stop, backup, health), systemd/ (service unit), data/, logs/, licenses/.
  • Browsers: any current desktop or tablet browser. The interface adapts to narrow screens with a collapsible menu.
IMPORTANT The package you received is a test/evaluation build (“NoLicense – NoRuntime”): no licence file is required (CAL_LICENSE_ENFORCEMENT=false) and it uses the Java 21 already installed on the server. It is marked not for production. Production builds require a signed licence file at licenses/license.lic.

How this manual is organised

Part Content
1 Module-wise user instructions – what each menu does and how to use it.
2 Step-by-step operating procedures – numbered procedures for every routine task.
3 Screen-by-screen explanations – every field, button and column.
4 Screenshots with explanations – the actual screens, annotated.
5 User roles and permissions – the full permission matrix.
6 Reports and configuration guides – PDFs, Excel, alerts, SMTP, server settings, backup.
7 Troubleshooting and FAQs.
NOTE About the screenshots. The screens in this manual are the application’s real user interface, captured from this exact build and filled with sample data for an imaginary company (“Acme Precision Components”). Names, IMA numbers and dates are examples only. Menu items you cannot see on your own screen are not available to your role (see Part 5).

Part 1 – Module-wise User Instructions

The left-hand menu has up to six main modules plus Settings. Which ones you see depends on your role. The top bar shows the page title, your plan name (hover to see user and asset counts against the licence limits), your name, a Notifications bell (Admin only) and Log out. The menu icon at the top left expands the side menu to show labels; on a phone it opens as a drawer.

1.1 Dashboard

Who sees it: everyone. Executors see only their own records.

The dashboard opens after sign-in (Figure 7). A coloured banner states what your role can do and links to the Calibration page. Below it:

  • Five KPI tiles – Total Assets, Due (30 days), Overdue, Not in Use, Scrap.
  • Last 5 issues and Last 5 returns – recent movements in the Issue register.
  • Out for calibration – assets currently at a lab, with the expected return date.
  • Promised return (issued) – open issues with their promised return date.

Each panel has a link (for example “Issue register ↗”) that jumps to the full page.

1.2 Assets

Who sees it: everyone (create/edit: Admin and Asset Manager; Admin only can delete).

The Assets page lists every asset that is in service. Use the Show … rows selector, the measurement category filter and the search box to find an asset. Two links at the top lead to Not in Use and Scrap List. Buttons: + adds an asset, Import loads assets from Excel, Export downloads them.

On each row: More opens the full details; the pencil opens the asset’s Calibration history page; the first document icon downloads the asset details PDF; the second downloads the calibration history PDF; the bin deletes the asset (blocked if the asset has history – mark it Not In Use or Scrap instead). Approvers also see Review & Approve on assets whose calibration is waiting for a decision.

1.3 Part Asset Relation

Links parts to the assets that may be issued for them. An asset can only be issued for a part it is linked to. Use + (Link assets), choose a part, tick one or more assets and press Link. Use the bin to remove a link.

1.4 Calibration

The menu item is named Calibration for Admin and Asset Manager, My Calibrations for an Asset Executor and Calibration Approvals for an Asset Approver.

The page shows the calibration due list: assets due within the next 30 days plus overdue assets (Not in Use and Scrap are excluded). Rows are coloured by urgency (Figure 16). Click the pencil on a row to open the asset’s calibration history page, where the real work is done:

  • Asset Details – the asset’s data; the pencil edits it.
  • Asset Status – current status, last calibrated date, due date and the action buttons: Send to calibration, Download dispatch PDF, Update Calibration, Approve return.
  • Calibration History – every past and open calibration, filterable by Internal/External, searchable, with Generate PDF. The Workflow column shows each record’s status and the Actions column the buttons you may use (edit, download, submit, approve, reject, delete).

1.5 Issue & Return

The register of tools that are currently issued. + issues an asset; View More opens an issue to see its details and history, change its return date or record its return; Download exports the register to Excel. Rows past their return date are shaded red.

1.6 Audit

Who sees it: Admin only. Filter by date range, user, tool (IMA), part, action, module or free text, then Apply filters. Click View in the Changes column to see each changed field with its previous and new value. Times are stored in UTC.

1.7 Settings

Press Settings at the bottom of the left menu. The settings menu is grouped into People, Assets and System; Back to Calibration returns to the main menu.

Group Item Purpose Who
People Users Create, edit, delete users; import/export; invitations. Admin
People Personnel Requesters and Incharges for issue & return (no login). Admin, Asset Manager (create/edit); others view
People Departments (Location) Locations with an optional Incharge. Admin, Asset Manager
People Calibration Providers External calibration laboratories and accreditation validity. Admin, Asset Manager
Assets Asset Types The categories of asset and their codes. Admin, Asset Manager
Assets Parts Parts and customers. Admin, Asset Manager
Assets Manufacturers Makes used when adding assets. Admin, Asset Manager
Assets Work Centers (Machines) Machines used in Issue & Return. Admin, Asset Manager
System Measurement Category / Units Categories (Length, Torque …) and their units. Admin, Asset Manager
System General Documents Document number and revision printed on PDFs. Admin, Asset Manager
System Notifications Daily due-alert e-mail. Admin
System Configuration SMTP e-mail server and read-only SQL status. Admin

Every master-data page works the same way: a table with Show … rows, search, + to add, Import and Export, a pencil to edit and a bin to delete. Deleting is refused if the record is in use – for example an asset type that already has assets, or a manufacturer linked to assets.

1.8 Sign-in, password and account pages

  • Sign in with your e-mail and password (Figure 3).
  • Forgot Password sends a reset link (valid 30 minutes, single use). It works only if your Admin has configured SMTP.
  • Accept Invitation – opened from the invitation e-mail; you choose your own password.
  • Admin Access Recovery – lets a locked-out organisation submit a recovery request (organisation code, e-mail, reason).

Part 2 – Step-by-Step Operating Procedures

Each procedure states who performs it, what you need first, and numbered steps. Buttons and fields are shown in bold exactly as they appear on screen.

2.1 Install and start the application

Who: System administrator on the server. Needs: Linux x86_64, Java 21, MySQL 8+ or SQL Server, the installation zip.

  1. Copy the zip to the server and run unzip Calibration-OnPremise-Linux-Test-NoLicense-NoRuntime.zip, then cd Calibration-OnPremise-Linux.
  2. Make sure Java 21 is available: run java -version, or set JAVA_HOME, for example export JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64.
  3. Start the application with ./Calibration (the default action is start). The launcher creates the data/, data/media, data/install and logs/ folders and a first-time .env file, runs a pre-flight check, and starts the service in the background.
  4. Wait about a minute, then open http://127.0.0.1:8080/calibration/ in a browser (use the server’s address from other computers, and open port 8080 in the firewall).
  5. Because no database has been configured yet, you are taken to the installation wizard (next procedure).

Other launcher commands: ./Calibration status shows whether the service is running and which configuration file is used; ./Calibration stop shuts it down gracefully. Logs are written to logs/app.log.

NOTE ./Calibration status may print “Bundled Java: MISSING” and “License file: missing”. In this build that is expected – it uses the system Java and needs no licence file.

2.2 Complete the first-time installation wizard

Who: The person who will be the first administrator. Needs: database server address and an account that may create a database; the organisation details.

  1. On the On-Premises Installation screen (Figure 1) read the introduction and press Start Installation. The progress strip shows seven stages: Welcome, Database, Create DB, Preparing, Organisation, Verify, Complete.
  2. On Database Configuration choose the Database Type (MySQL or Microsoft SQL Server), enter Server IP / Hostname, Port (3306 for MySQL), Database Administrator Username and Database Administrator Password.
  3. Press Test Connection. A green “Connection successful” message with the server product and version appears (Figure 2). Fix any error before continuing. Next is enabled only after a successful test.
  4. On Database Creation type the Application Database Name and press Create Database & Schema. Existing databases are inspected and never dropped.
  5. On Preparing Calibration wait while the schema is created and the database connection is activated. The application restarts itself; the page waits and retries automatically. If it reports that activation is taking longer than expected, confirm the restart happened and press Retry / Continue.
  6. On Organisation and Administrator enter the Organisation Name, optional Organisation Code, Organisation Email, and the first administrator’s name, e-mail and password. The password must be 8–128 characters with at least one letter and one number.
  7. Press Complete Installation. When Installation Complete appears, press Go to Sign In. E-mail verification is not required on-premises.
IMPORTANT Do not point the application at a shared or development database. The start-up pre-flight check refuses database names such as calibration and calibration_cloud_staging, and SQL Server system databases (master, model, msdb, tempdb). Create a dedicated database for this installation.

2.3 Run the application as a Linux service

  1. Copy the product folder to /opt/calibration/onpremise (the path used by the supplied unit file).
  2. Edit systemd/calibration-onpremise.service: replace REPLACE_APP_USER and REPLACE_APP_GROUP with the account that should own the service.
  3. Place the settings file at /etc/calibration/onpremise.env (mode 600) or keep /opt/calibration/onpremise/.env.
  4. Install the unit: sudo cp systemd/calibration-onpremise.service /etc/systemd/system/, then sudo systemctl daemon-reload and sudo systemctl enable --now calibration-onpremise.
  5. Check with systemctl status calibration-onpremise and scripts/health-check.sh.
NOTE The unit allows the service to write only to logs, data and licenses and restarts it automatically on failure after 10 seconds.

2.4 Sign in, sign out and recover a password

  1. Open the application address. Enter Email and Password (Figure 3) and press Sign In.
  2. To sign out, press the logout icon at the top right.
  3. If you forget your password, press Forgot Password?, enter your registered e-mail and press Send Reset Link (Figure 4). Open the link in the e-mail within 30 minutes, enter and confirm a new password (8+ characters, at least one letter and one number) and press Reset Password.
  4. If no e-mail arrives, ask your Admin to reset your password from Settings → Users (procedure 2.6). Password-reset e-mail works only when SMTP is configured.

2.5 Set up master data (recommended order)

Who: Admin or Asset Manager. Set up the lists in this order, because later lists depend on earlier ones.

  1. Settings → People → Personnel. Add the people who will receive tools. Use Personnel Type = Incharge for supervisors and Requester for people who take tools. Personnel records are not login accounts – do not enter a username or password.
  2. Settings → People → Departments (Location). Add each department with a code, name, description and, optionally, an Incharge (only active Incharge personnel can be chosen).
  3. Settings → Assets → Asset Types. Check the default types (Instrument, Gauge, Accessory, Equipment) or add your own with a code and name.
  4. Settings → Assets → Manufacturers. Add makes with code, name, country of origin and whether locally available.
  5. Settings → System → Measurement Category, then Measurement Units. Add categories (for example Length, Torque) and then units with symbols (mm, Nm) assigned to a category. Units must belong to the selected category.
  6. Settings → People → Calibration Providers. Add each external laboratory with code, name, details, Provider Accreditation Certificate No. and Certificate Validity date, and set the status to Active.
  7. Settings → Assets → Parts. Add parts with part name, customer name, description and status (Active/Inactive). The same part cannot be added twice for the same customer.
  8. Settings → Assets → Work Centers (Machines). Add machines with code, name, department and details.
  9. Settings → System → General Documents. Enter the document number and revision number that must appear on calibration PDFs.

To add many records at once: on any list press Import, download the Template File, fill it in Excel (.xlsx), then choose the file and press Upload. Rows that duplicate existing data are skipped, and the page tells you so. Export downloads the current list.

TIP Enter an Incharge in Personnel before you create departments, and enter departments before you import work centers – the work-center template needs a Department Code.

2.6 Create users and assign roles

Who: Admin only.

Method A – create the account directly

  1. Go to Settings → Users and press + (Add user).
  2. Enter Name, Email, optional Employee ID, choose the Role (Admin, Asset Manager, Asset Executor, Asset Approver) and Status (Active/Inactive), and a Password of at least 8 characters with a letter and a number.
  3. Press Save. A Send these login details box shows the username and password once. Use Copy both and send them to the user securely, then Close.

Method B – invite the user by e-mail

  1. Go to Settings → Users → Invitations and press + (Invite user).
  2. Enter Name, Email and Role. No password is entered – the invitee sets it from the e-mail link (Figure 5).
  3. Press Send invitation. Use Resend if the e-mail was lost or Revoke to cancel a pending invitation. Invitations expire; the Expires column shows when.

Edit, disable or delete a user

  • Press the pencil to change name, e-mail, employee ID, role or status.
  • If a user forgets their password and e-mail is not configured, an Admin can set a new password for them from the Users screen; the new password is shown once so that it can be copied and passed on.
  • To stop someone signing in, set Status = Inactive rather than deleting.
  • A user who is linked to calibration or issue records cannot be deleted. The last enabled Admin cannot be disabled or demoted.

2.7 Add an asset

Who: Admin or Asset Manager.

  1. Go to Assets and press +. The Add Asset wizard has three steps (Figure 11).
  2. Step 1 – Asset Details: enter Asset Name, MFG. SL No, choose Asset Type (the read-only IMA Number is generated), choose Make, and optionally Purchase Date. Press Next.
  3. Step 2 – Calibration Details: choose Measurement Category and Unit of Measurement (required for measuring assets), enter Range, Least Count, Next Calibration Date and Calibration Freq. (Days). Press Next.
  4. Step 3 – Validation Details: enter Validation Frequency (Days), Acceptance Criteria, choose Fitness (Yes/No) and Status, and add Remarks. Press Add.
  5. The asset appears in the list. A message “Asset details already exists!” means the same asset (or IMA number) was already registered.

To import assets from Excel: press Import → Template File, complete the template (columns include Description of Item, Asset Status, Range, Least Count, Calibration Frequency (Days), Calibration Lab, Calibration Certificate Number, Last Calibration Date, Part Number, Validation Frequency (Days), Acceptance Criteria, Unit of Measurement), then Upload. Rows with an unknown asset type, make, unit or status, or an IMA number that already exists, are skipped and reported; valid rows are kept.

2.8 Edit an asset, retire it, or delete it

  1. To edit, press the pencil on the asset row. On the calibration history page press the pencil beside Asset Details, change the fields and press Update.
  2. To take an asset out of service, change Status to Not In Use (temporary) or Scrap (permanent). It moves to the Not in Use or Scrap List page and leaves the due list and KPI due counts.
  3. To delete (Admin only), press the bin and confirm. Deletion is refused if the asset has calibration history, Issue & Return history or other references – the message tells you to mark it Not In Use or Scrap instead.
IMPORTANT You cannot set Out for Calibration or Waiting for Approval by editing the asset. Use Send to calibration and the calibration workflow. An asset cannot become Active again from Waiting for Approval until the return is approved.

2.9 Link parts to assets

  1. Go to Part Asset Relation and press +.
  2. Choose a Part, search the Assets list, tick every asset that may be issued for that part, and press Link (Figure 26).
  3. To undo, press the bin on a link row and confirm Remove.

2.10 Perform an Internal calibration (complete cycle)

Roles involved: Asset Manager (send and dispose), Asset Executor (execute and submit), Asset Approver (decide), Asset Manager (dispose). An Admin can do any step but cannot approve work they executed.

  1. Manager: open Calibration, click the pencil on the due asset, and press Send to calibration (Figure 17).
  2. Manager: in the Send to calibration dialog choose Calibration Type = Internal and press Save (Figure 18). Internal calibration needs no provider. The asset status becomes Out for Calibration.
  3. Task ownership: if your Admin has assigned an Asset Executor to the calibration task, only that person can enter its readings; if no executor is assigned, any Asset Executor can take it. Only enabled users with the Asset Executor role can be assigned.
  4. Executor: open My Calibrations, click the pencil on the asset and press Update Calibration (Figure 19).
  5. Executor: complete the form (see 2.12) and press Save, then Submit the record from the history table.
  6. Approver: review and approve or reject (see 2.14).
  7. Manager: when the asset shows Waiting for Approval, press Approve return (see 2.15). The asset becomes Active and its next due date is set.

2.11 Send an asset for External calibration

  1. Open the asset’s calibration history page and press Send to calibration.
  2. Choose Calibration Type = External. Choose Calibration Provider from the list of eligible providers (Active, accreditation certificate valid today or later) and enter the Expected Return Date. Both are mandatory for External.
  3. Press Save. The asset becomes Out for Calibration and appears under Out for calibration on the dashboard.
  4. Press Download dispatch PDF to print the dispatch note that goes with the asset to the laboratory.
  5. When the asset returns with its certificate, continue with 2.12.
TIP If a provider is missing from the list, open Settings → Calibration Providers and check that it is Active and that the Certificate Validity date is today or later.

2.12 Record the calibration result (Asset Executor)

Only the assigned executor (or an Asset Manager/Admin) can enter readings, and only while the task is open or after a rejection.

  1. On the asset’s calibration history page press Update Calibration (Figure 20).
  2. Check the read-only Calibration type & measurement panel (type, range/size, least count, measurement category).
  3. Enter Calibration Date, Instrument Calibration Certificate No., choose Validation Result (Pass, Fail or Pending), and enter Permissible Error and Calibration Result (the reading).
  4. If the result is Fail, explain in Remarks/Reason for Failure.
  5. Reviewed by shows your name. For an external calibration, press Choose File and attach the certificate (Upload PDF File (.PDF format)).
  6. Press Save. Use Reset to clear the form or Cancel to close it.
  7. In the Calibration History table press Submit on the new row (an Asset Manager can also submit). The Workflow column changes to PENDING_APPROVAL and the record is locked.
NOTE A Validation Result is required before you can submit, and a Calibration Date is required to save.

2.13 Correct and resubmit a rejected record

  1. The record shows REJECTED and the Approver’s remarks. The asset’s calibration page shows the prior rejection remarks.
  2. The assigned executor presses Update Calibration, corrects the data, and presses Save.
  3. Press Submit again.

2.14 Approve or reject a calibration (Asset Approver)

  1. Open Calibration Approvals or the Assets page. Assets awaiting a decision show a Review & Approve button (Figure 10).
  2. Read the Review & Approve Calibration dialog (Figure 15): asset information, calibration information (date, technical result, provider/lab, certificate number, permissible error, reading, acceptance criteria, submitted by, remarks) and the certificate PDF link.
  3. To approve, enter optional Approval remarks, press Approve, then Confirm approve. The record becomes APPROVED and is locked permanently.
  4. To reject, press Reject, enter Rejection remarks explaining what must be corrected (mandatory), then Confirm reject. The executor can correct and resubmit.
IMPORTANT You cannot approve or reject a calibration you executed yourself. Approvers can read readings but cannot edit them.

2.15 Approve the return and put the asset back into service (Asset Manager / Admin)

  1. When the asset status is Waiting for Approval and the latest submitted calibration has been approved, open its calibration history page (Figure 21).
  2. Press Approve return. The asset becomes Active and the new due date applies.
  3. If the asset should not return to service (for example it failed beyond repair), set its status to Not In Use or Scrap instead.

2.16 Controlled revision of an approved record (Admin only)

  1. Approved records cannot be edited. If an error must be corrected, an Admin performs a controlled revision of the approved record.
  2. A revision remark is mandatory. The revision is written to the audit log with the reason.
NOTE Admins can also delete a calibration record, but never one that is submitted or approved.

2.17 Issue a tool to a machine and person

Who: Admin or Asset Manager. Needs: the asset is Active and linked to the part (2.9); the person and incharge exist in Personnel; the machine exists in Work Centers.

  1. Go to Issue & Return and press + (Add Issue). The Issue Register Details form opens (Figure 23).
  2. Check Issue Date. Choose the Part; only assets linked to that part appear under Asset IMA Number. The Asset Name fills in automatically.
  3. Enter Work Order No and Work Order Quantity.
  4. Choose Machine No; the Department fills in automatically.
  5. Choose Issued To (Name) (active Requesters only); Emp No fills in. Choose Dept Incharge – it must be the active Incharge assigned to the machine’s department.
  6. Enter the Return Date. It cannot be later than the asset’s Next Calibration Date, which is shown read-only.
  7. Issued By defaults to you (it must be an Admin or Asset Manager). Add Remarks and press Issue Asset. The asset status becomes Issued.

An asset that is already issued cannot be issued again.

2.18 Reschedule a return date, or record the return

  1. On Issue & Return press View More on the issue (Figure 24).
  2. To change the promised date, open Reschedule Return Date, enter the new date (not after the next calibration date), add remarks and press Save return date.
  3. To book the tool back in, open Update Return, choose Received By (an Admin or Asset Manager), set the Received Date, add remarks and press Update return. The tool status becomes Active and the issue moves to the history.
  4. Press Download PDF to print the issue slip.

2.19 Produce the calibration-history PDF

  1. On the asset’s calibration history page press Generate PDF.
  2. Select the Approver and the Prepared user whose signatures will appear. Both must have a signature image on file; otherwise the message “Please select the Approver and Prepared user!” appears.
  3. The PDF uses the document number and revision from General Documents and includes a signature line for authorised sign-off.

2.20 Set up the daily due-alert e-mail

Who: Admin. Alerts need SMTP – configure it first (see 6.4).

  1. Go to Settings → System → Notifications (or the bell icon) (Figure 41).
  2. Tick Enable due-alert emails.
  3. Enter To recipients (one e-mail per line) and optional Bcc recipients.
  4. Set the Schedule as a Spring six-field cron expression in UTC. The default 0 0 8 * means 08:00 UTC every day.
  5. Press Save settings, then Check now to send immediately and confirm delivery.

No e-mail is sent when alerts are disabled, when no recipients are set, or when no asset is due. The e-mail summarises due status, due and overdue counts by asset type, and lists each asset with its IMA number, last calibration date, next due date, remaining days and urgency colour.

2.21 Review the audit log

  1. Go to Audit (Admin only).
  2. Set From and To dates (the default is the last 30 days), and optionally narrow by User, Tool (IMA), Part, Action (for example CREATE, UPDATE), Module or Search.
  3. Press Apply filters. Press View in Changes to see each field’s previous and new value (Figure 43).

2.22 Back up and restore

Who: System administrator. The supplied scripts support MySQL.

  1. Export the settings (CAL_MYSQL_*, CAL_MEDIA_ROOT) and set CAL_BACKUP_ROOT to the folder that will hold backups.
  2. Run scripts/backup-all.sh. It writes a time-stamped folder onpremise_<UTC time> containing database.sql.gz, media.tar.gz, SHA-256 checksum files and a manifest.txt. It never prints passwords. Schedule it with cron.
  3. To restore, set CAL_RESTORE_CONFIRM=YES, CAL_RESTORE_DATABASE (a new database name), CAL_RESTORE_MEDIA_ROOT and CAL_BACKUP_DIR, then run scripts/restore-all-isolated.sh. It verifies checksums and restores only into an isolated database and folder.
  4. Start a second instance pointing at the restored database to verify, then switch over under your change control.
IMPORTANT The restore script deliberately refuses to restore over the live database. Keep the CAL_SECRETS_ENCRYPTION_KEY value from your settings file safe offline – stored SMTP credentials cannot be decrypted without it.

Part 3 – Screen-by-Screen Explanations

This part explains every field, column and button on each screen. The matching pictures are in Part 4; the figure number is given for each screen.

3.1 Installation wizard (Figure 1, Figure 2)

Element Explanation
Progress strip Seven stages: Welcome, Database, Create DB, Preparing, Organisation, Verify, Complete.
Database Type MySQL or Microsoft SQL Server.
Server IP / Hostname, Port Where the database server listens (MySQL default 3306, SQL Server default 1433).
Database Administrator Username / Password An account allowed to create the application database.
Test Connection Checks the credentials and shows server product and version. Required before Next.
Application Database Name Name of the new database. Existing databases are inspected, never dropped.
Organisation Name / Code / Email Your organisation’s details. The code is optional.
Administrator Name / Email / Password The first Admin account.

3.2 Sign-in and account screens (Figure 3 to Figure 6)

Screen Elements and purpose
Sign In Email, Password, Forgot Password?, Sign In. If the system is not yet installed you are redirected to the wizard. A licence problem redirects to the License required page (Plan, Expires and machine-binding information, Recheck license, Back to login).
Forgot Password Registered email address, Send Reset Link, Back to Login. The reply is deliberately generic so that account existence is not revealed.
Reset Password New Password, Confirm Password, Reset Password. Rules: 8+ characters, at least one letter and one number; link valid 30 minutes, single use.
Accept Invitation New password, Confirm password, Accept invitation; then Go to sign in.
Admin Access Recovery Organization code, Your email, Describe why you need admin recovery, Submit request.
Verify Email / Resend Verification Used only for self-registered accounts; not needed for on-premises users.

3.3 Dashboard (Figure 7 to Figure 9)

Element Explanation
Role banner Names your role and what it allows. Go to calibration → opens the Calibration page.
Total Assets All assets: active plus Not in Use plus Scrap.
Due (30 days) Assets due for calibration within 30 days.
Overdue Assets past their due date.
Not in Use / Scrap Counts of retired assets.
Last 5 issues Issue date, IMA, description, issued to, status.
Last 5 returns Received date, IMA, description, received by.
Out for calibration IMA, description, lab, expected return.
Promised return (issued) IMA, description, issued to, promised return date.

3.4 Assets (Figure 10, Figure 11, Figure 12, Figure 13, Figure 14)

Element Explanation
Show … rows Rows per page: 10, 25, 50 or 100.
Not in Use / Scrap List Links to the retired-asset lists.
Measurement-category filter Shows only assets of the chosen category.
Search here… Searches the table.
+ / Import / Export Add an asset; import from Excel; export to Excel.
Columns Asset Name, MFG. Sl No, IMA Number, Status, Actions. Click a heading to sort.
Review & Approve Shown to Approvers/Admins when a calibration awaits a decision.
More Pop-up with Asset, Calibration and Validation details (read-only).
Pencil Opens the calibration history page.
Document icons Download the asset details PDF and the calibration history PDF.
Bin Delete (Admin; refused when the asset has history).
Not in Use / Scrap list columns MFG. Sl No, Asset Name, Asset Type, Range, Least Count, Calibration Frequency, IMA Number, Calibration lab, Make, Location, Certificate Number, Calibration Status, Part Number, Remarks, Remaining Days, Fitness, Valid Period, Action. A download button exports the list.

3.5 Calibration due list (Figure 16)

Element Explanation
Legend Row colours: 21–30 days (yellow), 11–20 days (orange), 0–10 days (light red), Overdue (dark red). Assets Out for Calibration are shown plain.
Columns MFG. Sl No, Asset Name, Asset Type, IMA Number, Status, Due Date, Days Left (negative = overdue), Location, Calibration Lab, Actions.
Pencil Opens the calibration history page for that asset.

3.6 Calibration history page (Figure 17, Figure 18, Figure 19, Figure 20, Figure 21)

Area Explanation
Back to calibration list Returns to the due list.
Asset Details Name, MFG. Sl No, type, IMA number, make, purchase date, measurement category, unit, range, least count, calibration and validation frequencies, acceptance criteria, fitness, remarks.
Asset Status Current Status badge; for Out for Calibration also Calibration Type, Provider and Expected Return Date; Last Calibrated Date and Due Date.
Send to calibration Opens the dialog with Calibration Type (Internal/External), Calibration Provider (External) and Expected Return Date (External).
Download dispatch PDF Dispatch note for an External calibration.
Update Calibration Form: Calibration Date, Instrument Calibration Certificate No., Validation Result (Pass/Fail/Pending), Permissible Error, Calibration Result, Remarks/Reason for Failure, Reviewed by, Upload PDF File.
Approve return Puts the asset back in service after approval (Admin/Asset Manager).
Calibration History table Calibration Date, Calibration Type, Calibration Provider, Instrument Calibration Certificate No., Validation Result, Remarks/Reason for Failure, Workflow, Actions.
Actions icons Edit calibration record, download PDF/certificate, Submit, Approve, Reject, Delete (Admin only). Hover text explains why an action is unavailable, for example “Submitted calibrations are locked until an Approver decides”.
Calibration Type filter / search / Generate PDF Filter All, Internal or External; search the table; create the signed calibration-history PDF.

3.7 Review & Approve Calibration dialog (Figure 15)

Sections: Asset information (name, type, manufacturer, serial, IMA number, frequency, next due date, current status); Calibration information (date, technical result, provider/lab, certificate number, permissible error, reading, acceptance criteria, submitted by, remarks, prior rejection remarks); Calibration certificate (link to the uploaded PDF); Approval remarks (optional). Buttons: Approve, Reject, Cancel, then a confirmation step.

3.8 Issue & Return (Figure 22, Figure 23, Figure 24)

Element Explanation
Register columns Part, IMA Number, Asset Name, Work Order, Issued To, Return Date, Actions. Overdue rows are red.
Issue form fields Issue Date, Part, Asset IMA Number, Asset Name, Work Order No, Work Order Quantity, Machine No, Department, Issued To (Name), Emp No, Dept Incharge, Return Date, Next Calibration Date, Issued By, Remarks.
Details tab Issue date, part, IMA, asset name, tool status, work order no/qty, machine, department, issued to, emp no, dept incharge, return date, next calibration date, over due, issued by, remarks; Download PDF; Issue history table of earlier returns.
Reschedule Return Date tab New return date, remarks, Save return date.
Update Return tab Received By, Received Date, remarks, Update return.

3.9 Part Asset Relation (Figure 25, Figure 26)

Columns: Part Name, Customer, IMA Number, Asset Type, Asset Name, Action (remove). The Link Assets dialog has a Part selector, a search box and a checklist of assets showing IMA number, type, name and current status.

3.10 Settings screens (Figure 27 to Figure 42)

Screen Columns / fields
Users Name, Email, Employee ID, Role, Status, Action. Tabs Users and Invitations. Add User: Name*, Email*, Employee ID, Role*, Status*, Password*.
Invitations Name, Email, Role, Status (PENDING / ACCEPTED …), Created, Expires, Actions (Resend, Revoke).
Personnel Management Filters (type, department, status) and search; Employee ID, Employee Name, Personnel Type (Requester/Incharge), Department, Designation, Email, Contact Number, Status, Actions (edit, Activate/Deactivate).
Departments (Location) Department Code, Department Name, Description, Incharge (shows “Not Assigned” until set), Action.
Calibration Providers Code, Name, Details, Provider Accreditation Certificate No., Certificate Validity, Status, Action.
Manufacturers Manufacturer Code, Manufacturer Name, Country of Origin, Locally Available, Details, Action.
Asset Types Type Code, Type Name, Description, Action.
Parts Part Name, Customer Name, Part Description, Status, Action.
Work Centers (Machines) Machine Code, Machine Name, Department / Location, Action.
Measurement Category Code, Name, Status, Actions.
Measurement Units Measurement category filter; Code, Name, Symbol, Category, Status, Actions.
General Documents Document Number and Revision Number used on PDFs.
Notifications Enable due-alert emails, To recipients, Bcc recipients, Schedule (Spring 6-field cron, UTC), Save settings, Check now. Shows whether central SMTP is configured.
Configuration SMTP Configuration (host, port, username, password, sender e-mail, sender name, security mode None/STARTTLS/SSL-TLS, Enabled, Test SMTP / Send Test Email) and SQL Configuration (engine, host, port, database, runtime username, connection status, database product; Test Connection, Refresh Status).

Common to all master lists: required fields are marked with a red asterisk; codes and names must be unique and have length limits (codes up to 25 characters, names up to 100, descriptions up to 250). Duplicates are rejected with a clear message.

3.11 Audit (Figure 43)

Filters: From, To, User, Tool (IMA), Part, Action, Module, Search; Apply filters; Rows per page. Columns: When (UTC stored), User / Role, Action, Module, Tool (IMA), Summary, Changes (View shows changed field, previous value, new value).

3.12 Access restricted (Figure 44)

If you open a page your role is not allowed to use – for example a Manager opening Users – the screen explains the restriction and offers Back to Dashboard.

Part 4 – Screenshots with Explanations

NOTE All screenshots are taken from the real application interface with sample data. Positions are described as “top bar” (page title, plan, user, logout), “left menu” (icons; expand with the ☰ button to see names) and “work area” (the rest).

4.1 Installation and sign-in

Installation wizard
  • Centre card: product name, version (v1.0.0 in the sample) and the numbered progress strip.
  • Start Installation begins the wizard; no internet connection is needed.
Installation wizard
  • The green banner confirms a successful Test Connection and the footer line shows the server product and version.
  • Enter an account that can create databases; the application never drops an existing database.
Sign-in screen
  • Enter the e-mail and password supplied by your Admin.
  • Forgot Password? is under the password box.
Forgot Password screen
  • Enter the registered e-mail; you always receive the same generic confirmation message.
Accept Invitation screen
  • Opened from an invitation e-mail link; choose and confirm your password to activate your account.
Admin Access Recovery request screen
  • Use only when no Admin can sign in: enter the organisation code, your e-mail and the reason, then Submit request.

4.2 Dashboard

Admin Dashboard
  • Green banner – your role and what it allows.
  • Five coloured tiles – Total Assets 12, Due (30 days) 6, Overdue 2, Not in Use 1, Scrap 1 in this sample.
  • Four panels – recent issues, recent returns, assets out for calibration and promised returns; each links to its full page.
  • Left menu – Dashboard, Assets, Part Asset Relation, Calibration, Issue & Return, Audit; Settings is at the bottom.
Dashboard as seen by an Asset Executor
  • Same dashboard, different banner: the Executor is directed to My Calibrations.
  • The Audit icon is absent – this role cannot see it.
Dashboard as seen by an Asset Approver
  • The Approver’s banner explains that approving and rejecting are allowed, while editing readings and disposition are not.

4.3 Assets

Assets list (Admin view)
  • Show … rows, Not in Use, Scrap List links at the top left.
  • Filter by measurement category, search, then + (add), Import (green) and Export (blue).
  • The row TR-4471 shows Waiting for Approval and the blue Review & Approve button for an Approver/Admin.
  • Per row: More, pencil (history page), two PDF icons, bin (delete).
Add Asset wizard
  • Tabs show the three steps: Asset Details, Calibration Details, Validation Details.
  • The grey IMA Number box is read-only and fills in after you choose the Asset Type.
  • Required fields carry a red asterisk; Close abandons, Next moves on.
Asset Details pop-up
  • Read-only summary of the asset in three blocks: Asset Details, Calibration Details, Validation Details.
Not in Use list
  • Assets retired temporarily. They do not appear in the due list. The delete icon is available to Admin only.
Scrap List
  • Permanently withdrawn assets are kept for history and traceability.
Review & Approve Calibration dialog
  • The Approver sees asset data, the calibration data submitted (date, technical result Pass, provider, certificate, permissible error, reading, acceptance criteria, submitted by) and a link to the certificate PDF.
  • The blue note reminds that technical Pass/Fail is separate from approval.
  • Approve (green), Reject (red) or Cancel.

4.4 Calibration

Calibration due list
  • The legend explains the colours: yellow 21–30 days, orange 11–20, pink 0–10, dark red overdue.
  • Rows are sorted soonest first; Days Left is negative for overdue assets (-12 and -4 here).
  • The pencil opens the asset’s calibration history page.
Calibration history page
  • Three cards: Asset Details, Asset Status and Calibration History.
  • For an Active asset the Send to calibration button appears under Asset Status.
Send to calibration dialog
  • Choose Internal or External. For External the dialog adds the eligible-provider list and the expected return date.
Asset page while Out for Calibration
  • The grey Out for Calibration badge, the calibration type, provider and expected return date.
  • Update Calibration and (for External) Download dispatch PDF appear.
Update Calibration dialog
  • Top panel: type and measurement context. Below: date, certificate number, result, permissible error, reading and remarks.
  • Reviewed by is filled from your login; the certificate PDF is attached with Choose File.
Asset page
  • The yellow Waiting for Approval badge and Approve return button (Admin/Asset Manager).
  • In the history table the newest row shows PENDING_APPROVAL; older rows show APPROVED with approver and remarks.

4.5 Issue & Return and Part Asset Relation

Issue & Return register
  • Open issues only. The red row is past its return date. + issues a tool, Download exports to Excel.
Issue Register Details form
  • Grey fields fill automatically (Asset Name, Department, Emp No, Next Calibration Date, Issued By).
  • Only assets linked to the chosen part appear in Asset IMA Number.
Issue details
  • Three tabs: Details, Reschedule Return Date, Update Return.
  • The Issue history table at the bottom lists earlier returns of the same asset.
Part Asset Relation list
  • Each row links one part to one asset. The bin removes the link.
Link Assets dialog
  • Pick a part, search and tick assets, press Link. Each asset shows IMA number, type, description and status.

4.6 Settings

Users list (Admin only)
  • Tabs Users and Invitations. The settings menu groups appear on the left (People, Assets, System) with Back to Calibration at the bottom.
Add User dialog
  • Role offers the four roles; Status Active/Inactive. After Save the credentials are shown once for copying.
Invitations tab
  • Resend and Revoke act on pending invitations; accepted invitations remain for the record.
Personnel Management
  • Filters for type, department and status; Activate/Deactivate replaces deletion for people who have history.
Departments
  • “Not Assigned” in the Incharge column means no incharge has been chosen yet.
Calibration Providers
  • The Certificate Validity and Status columns decide whether a provider can be chosen for External calibration.
Manufacturers
  • Makes available in the Add Asset form. Deletion is refused when assets use the make.
Asset Types
  • The four default asset types with their codes.
Add Asset Type dialog
  • Typical add/edit dialog: required fields marked, Close and Add.
Parts
  • Parts with customer and status (Active/Inactive).
Work Centers
  • Machines mapped to departments; used in the issue form.
Measurement Category
  • Categories that group the units. A category assigned to assets cannot be deactivated or deleted.
Measurement Units
  • Each unit belongs to one category and has a symbol shown on asset screens (mm, Nm, HRC).
General Documents
  • The document and revision numbers printed on calibration PDFs.
Notifications
  • Tick Enable due-alert emails, list recipients, set the cron schedule and press Save settings or Check now.
  • The hint text states that SMTP must be enabled under Configuration.
Configuration – SMTP and SQL settings
  • SMTP Configuration form with security mode (None, STARTTLS, SSL-TLS), the Enabled tick and a test-mail button; the SQL Configuration tab shows connection status.
  • A saved SMTP password is never displayed; leave the box empty to keep it.

4.7 Audit and restricted access

Audit log with filters
  • Filter bar on top; table of events below with user and role, action, module, IMA and summary.
  • View in the Changes column opens the previous/new values.
Access restricted message
  • A role without permission sees this message instead of the page.

Part 5 – User Roles and Permissions

The application has four roles. Each user has exactly one. Permissions are fixed in the application (they are not edited on screen) and are enforced both in the menu and on the server, so a hidden page cannot be reached by typing its address.

5.1 The four roles

Role Purpose In one sentence
Admin System owner Full access, including users, settings, configuration and audit. Cannot approve work they executed themselves.
Asset Manager Runs the asset register Maintains master data and assets, sends assets for calibration, issues and returns tools and puts approved assets back into service. Cannot approve or reject calibrations, and cannot manage users.
Asset Executor Performs calibration Executes and submits assigned calibrations and records returns of tools. Sees only their own calibration records.
Asset Approver Quality sign-off Reviews submitted calibrations and approves or rejects them. Read-only elsewhere; cannot edit readings.

5.2 Permission matrix

Letters: C create, R read, U update, D delete, A assign, E execute, S submit, Ap approve, Rj reject, X export, Cf configure. “All” means every one of these. “(own)” means only the user’s own records.

Module (menu area) Admin Asset Manager Asset Executor Asset Approver
Dashboard All R R (own) R
Master data (Settings lists) All C R U R R
Asset register (Assets) All C R U R R
Calibration schedule All C R U R R
Calibration assignment All C R U A R (own) R
Calibration execution All C R U E S C R U E S (own) R
Calibration approval All R — R Ap Rj
Issue & Return All C R U R U R
Calibration history All R R R
Reports / exports All R X R (own) R X
User management All — — —
Role management All — — —
Settings (Notifications, Configuration) All — — —
Audit All — — —

5.3 What each role sees in the menu

Menu item Admin Manager Executor Approver
Dashboard Yes Yes Yes Yes
Assets Yes Yes Yes Yes
Part Asset Relation Yes Yes Yes Yes
Calibration (named “My Calibrations” / “Calibration Approvals” for Executor / Approver) Yes Yes Yes Yes
Issue & Return Yes Yes Yes Yes
Audit Yes No No No
Settings → Users, Notifications, Configuration Yes No No No
Settings → other lists Yes Edit View View

5.4 Separation of duties – rules the system enforces

  • You cannot approve or reject a calibration you executed, even as Admin.
  • Only an Asset Approver or Admin can approve or reject; only a pending (submitted) record can be decided; rejection remarks are mandatory.
  • Only an Asset Manager or Asset Executor can submit a calibration for approval; a Validation Result is required first.
  • When an executor is assigned, only that executor can edit the readings.
  • A submitted record is locked; an approved record is immutable; neither can be deleted. Only an Admin can perform a controlled revision (remarks mandatory) of an approved record, and only an Admin can delete an unsubmitted record.
  • Only an Admin or Asset Manager can approve a calibration return and put the asset back to Active; the asset’s latest submitted calibration must be approved first.
  • The last enabled Admin cannot be disabled or demoted.
  • Every change is written to the audit log; passwords are never stored in it.

Part 6 – Reports and Configuration Guides

6.1 Reports and outputs available

Output Where to get it Format Who
Dashboard KPIs and panels Dashboard On screen All
Calibration due list (30 days + overdue) Calibration On screen, colour-coded; search and sort All
Asset list Assets → Export Excel (.xlsx) Roles with export
Asset details Assets → document icon (asset row) PDF All
Calibration history of one asset Assets → second document icon, or history page → Generate PDF PDF with document number, revision and signatures All
Calibration dispatch note History page → Download dispatch PDF (External) PDF Manager/Admin
Calibration certificate History table → download icon Uploaded PDF All with access
Issue register Issue & Return → Download Excel (.xlsx) Admin, Manager, Executor, Approver (view)
Issue slip Issue details → Download PDF PDF Same
Master-data lists and users Settings → each list → Export Excel (.xlsx) Per role
Due-alert e-mail Settings → Notifications HTML e-mail Configured recipients
Audit trail Audit On screen with before/after values Admin
NOTE The menu route labelled Reports and the Weekly Dashboard tile are present in this build but show “This module is not implemented yet.” Use the Dashboard, due list and exports above for reporting.

6.2 Settings file (environment variables)

Settings live in a plain text file. The launcher looks for, in order: the path in CAL_ENV_FILE, then .env in the product folder, then config/app.env. On first start .env is created automatically from env.example with absolute paths and a generated encryption key filled in. Edit it with the application stopped and restart afterwards.

Setting Meaning / typical value
APP_DEPLOYMENT_MODE Always ON_PREMISE.
CAL_DATABASE_TYPE, SPRING_PROFILES_ACTIVE mysql or mssql (both set the same).
CAL_SERVER_PORT Web port, default 8080.
CAL_MEDIA_ROOT Folder for uploaded certificates and signatures (default data/media). Must exist.
CAL_INSTALL_HOME Folder where the wizard stores the database connection (data/install/datasource.env). Its values override the settings file after the wizard completes.
CAL_MYSQL_HOST / PORT / USER / PASSWORD / DATABASE MySQL connection. Leave the REPLACE_* placeholders for first-time setup; the wizard fills them in.
CAL_MSSQL_HOST / PORT / USER / PASSWORD / DATABASE SQL Server connection (use with mssql).
CAL_SECRETS_ENCRYPTION_KEY Base64 32-byte key that encrypts stored SMTP credentials. Generate with scripts/generate-secrets.sh or openssl rand -base64 32; store a copy offline.
CAL_SECRETS_ALLOW_DEV_FALLBACK true allows first boot without a key; set false once real secrets are stored.
CAL_CORS_ORIGINS Browser addresses allowed to call the API, e.g. http://calibration.mycompany.local:8080. Add the address users type.
CAL_EMAIL_PROVIDER logging (no mail sent) or smtp.
CAL_EMAIL_VERIFICATION_BASE_URL Public base address used in e-mailed links, e.g. http://server:8080/calibration.
MAIL_* Optional legacy mail settings; SMTP is normally set on screen under Settings → Configuration.
CAL_DEMO_SEED_TEST_DATA Must be false (pre-flight refuses otherwise).
CAL_ADMIN_*, CAL_PLATFORM_ADMIN_* Leave empty on-premises; the wizard creates the Admin.
LOGGING_FILE_NAME Log file path (logs/application.log by default; the launcher also writes logs/app.log).
CAL_LICENSE_ENFORCEMENT, CAL_LICENSE_FILE false for this test build. Production: true and a signed licenses/license.lic (or a path in CAL_LICENSE_FILE).
IMPORTANT Keep the settings file readable only by the service account (mode 600). It can contain database and mail passwords.

6.3 Database and data folders

  • The database is chosen in the installation wizard. After installation the SQL Configuration tab is read-only: it shows engine, host, port, database name, user, connection status and product, with Test Connection and Refresh Status. Changing to a different database later needs a controlled migration and is not available on that screen.
  • Uploaded files are in CAL_MEDIA_ROOT; include this folder in every backup.
  • Verify the application file before installing: compare sha256sum app/calibration-backend.jar with the value in app/calibration-backend.jar.sha256.

6.4 Configure SMTP e-mail (Admin)

  1. Go to Settings → System → Configuration → SMTP Configuration (Figure 42).
  2. Enter SMTP Host, SMTP Port (587 for STARTTLS, 465 for SSL-TLS, 25 for none), SMTP Username and SMTP Password.
  3. Choose Security Mode: None, STARTTLS or SSL-TLS.
  4. Enter Sender Email and Sender Name, tick Enabled, and save.
  5. Press Test SMTP / Send Test Email and enter a recipient to prove delivery.

SMTP is optional: core calibration work does not need e-mail. It is required only for due-alert e-mails, forgot-password links and e-mailed invitations. Without it, use Method A in 2.6 to create users.

6.5 Configure notifications (summary)

See procedure 2.20. The alert looks 30 days ahead, includes overdue assets, and is sent by the schedule you set (UTC). Use Check now after any change.

6.6 Licensing (production builds)

  • A production licence is a file named license.lic in licenses/ (or the path in CAL_LICENSE_FILE), with CAL_LICENSE_ENFORCEMENT=true.
  • The top bar shows your plan name; hover over it to see users and asset counts against the plan’s limits.
  • If the licence is missing, expired, for another product, or bound to another machine, users see a License required page with the product, plan, expiry and machine-binding state. Install the correct licence, restart, and press Recheck license.
  • This test build does not require a licence and must not be used in production.

6.7 Routine administration checklist

When Task
Daily Review the dashboard (due and overdue), confirm the alert e-mail arrived, check ./Calibration status.
Weekly Review pending approvals; check logs/app.log for errors; run scripts/health-check.sh.
Monthly Check provider accreditation expiry dates; review the audit log; disable users who left.
Per schedule Run scripts/backup-all.sh; test a restore into an isolated database at least quarterly.
On change Back up before upgrading; keep the encryption key; re-run the health check afterwards.

Part 7 – Troubleshooting and FAQs

7.1 Installation and start-up

Symptom / message Likely cause What to do
“INSTALLATION ERROR: Java 21 is required” Java is missing or a different version. Install OpenJDK 21 or set JAVA_HOME to a Java 21 JDK/JRE; check with java -version.
“Missing JAR under app/” or “Missing env file” Incomplete unzip, or wrong folder. Re-extract the package; run ./Calibration from inside the product folder; or set CAL_JAR / CAL_ENV_FILE.
“ON_PREMISE PREFLIGHT REFUSED: …” The settings file breaks a safety rule (demo data on, platform-admin values set, media folder missing, shared database name). Read the reason after “REFUSED”, fix the setting named, and start again.
“Already running pid=…” The service is already up or a stale logs/app.pid exists. ./Calibration status; if it is really stopped, delete logs/app.pid; otherwise ./Calibration stop first.
Browser cannot reach the page Service not started, firewall, wrong address. Use http://<server>:8080/calibration/ (note the /calibration/ path); check ./Calibration status, logs/app.log, and the firewall for port 8080.
Wizard stays on “Waiting for Calibration to restart…” or “Datasource activation is taking longer than expected” The managed restart did not complete. Check logs/restart-managed.log and logs/app.log; run ./Calibration status and, if stopped, ./Calibration start; then press Retry / Continue.
“Unable to initialize database” or “SQL connection test failed” Wrong host, port or credentials; account cannot create databases; server unreachable. Re-test with the same details using the database client; fix permissions; try again.
./Calibration status shows “Bundled Java: MISSING” Normal in the NoRuntime build. No action – the system Java is used.

7.2 Signing in and accounts

Symptom / message Likely cause What to do
“Invalid email or password” Typing error, user inactive, or wrong account. Retry; ask the Admin to check the user’s Status is Active.
“Password reset is currently unavailable because email service is not configured” SMTP is not set up. Ask the Admin to set a new password for you, or configure SMTP (6.4).
“Choose a stronger password” / “Password must contain at least one letter and one number” Password policy. Use 8–128 characters with at least one letter and one number.
“A user with this email already exists” / “Employee ID already exists” Duplicate. Use a different value or edit the existing user.
“Cannot disable or demote the last enabled Admin” Protection rule. Create or enable another Admin first.
“Access restricted – Only an Admin can open this page” Your role lacks permission. Ask an Admin if you need a different role (Part 5).
Invitation “no longer valid” or “has expired” Used, revoked or expired. Ask the Admin to press Resend or send a new invitation.
No Admin can sign in All Admin credentials lost. Use Admin Access Recovery on the sign-in page and contact your Factovize support representative.

7.3 Assets and master data

Symptom / message Likely cause What to do
“Asset details already exists!” Same asset or IMA number already registered. Search the list; edit the existing asset.
“Cannot delete asset because it has calibration history / Issue & Return history …” Assets with history are protected. Set the status to Not In Use or Scrap.
“Cannot delete manufacturer / asset type / calibration provider / part / department …” Still used by other records. Remove the dependency first, or leave the record and make it inactive where possible.
IMA Number does not appear (“Not Generate the IMA Number”) Asset type not selected, or the type has no code. Select the Asset Type; make sure the type has a code in Settings.
“Measurement category and unit of measurement are required for measuring assets” Required for measuring assets. Choose a category and a unit that belongs to it.
“Unit of measurement does not belong to the selected measurement category” Mismatch. Pick the category first, then a unit from that category.
“Excel format incorrect. Please refer template file” Wrong columns or sheet layout. Download the template from the Import dialog and copy your data into it.
Import finished with “Some rows were skipped” Duplicates, unknown asset type/make/department/unit, or unknown status. Read the message (it names rows and reasons), correct, upload the failed rows again.
“IMA Number … already exists with status …” Duplicate IMA in the file. Remove the existing asset or change the IMA in the file.

7.4 Calibration workflow

Symptom / message Likely cause What to do
Provider not listed for External Provider inactive or accreditation expired. Edit the provider (Status = Active, Certificate Validity today or later).
“Calibration provider is required for External Calibration” / “Expected return date is required …” Mandatory for External. Select a provider and enter the expected return date.
“This asset is already out for calibration or awaiting approval” Status prevents a second send. Complete the open calibration first.
“Cannot send a scrap or not-in-use asset to calibration” Retired asset. Change the status first if the asset should return to service.
Cannot edit readings: “Only the assigned Asset Executor can edit this task” Another executor is assigned. Ask the Admin to reassign, or work as the assigned executor.
“Calibration readings can be edited only while execution is open or after formal rejection” Record is submitted or approved. Wait for the Approver’s decision; if rejected, correct and resubmit.
“Validation Result is required before submission” Result left empty. Choose Pass, Fail or Pending… then submit. Use Pass/Fail for the final record.
“You cannot approve or reject your own calibration execution” Separation of duties. Ask a different Approver.
“Rejection remarks are mandatory” Reject without a reason. Explain what must be corrected.
“This tool must be approved before it can be Active” / “Asset disposition requires the latest submitted calibration to be approved” The calibration has not been approved yet. Get the Approver to approve it, then press Approve return.
“Submitted/Approved calibrations cannot be deleted” Locked records. Not possible; Admin can only perform a controlled revision of an approved record.

7.5 Issue and return

Symptom / message Likely cause What to do
Asset missing from the IMA list Not linked to the part, or not Active. Link it in Part Asset Relation (2.9); check its status.
“Asset already issued” It is still out. Record its return first.
“Return date cannot be after the next calibration date” Promised date is too late. Choose a date on or before the next calibration date.
“Department incharge is not configured for this machine” / “Dept incharge must be the incharge assigned to the machine department” The machine’s department has no Incharge, or the wrong person was chosen. Assign an active Incharge to the department in Settings → Departments.
“Issued to must be an active Requester” Person is an Incharge or inactive. Fix the person’s type/status in Personnel.
“No incharge personnel are available” No active Incharge exists. Add one in Settings → Personnel.

7.6 E-mail and alerts

Symptom / message Likely cause What to do
“SMTP is not configured or disabled …” Central SMTP missing or not enabled. Complete 6.4 and tick Enabled.
No alert e-mail arrives Alerts disabled, no recipients, nothing due, wrong schedule (UTC), or mail blocked. Check Notifications settings, press Check now, review spam filters and logs/app.log.
“Invalid Spring cron expression” Cron must have six fields (second minute hour day month weekday). Use the default 0 0 8 * or fix the pattern.
“Invalid recipient list / Invalid email address / Too many recipients” Bad addresses or too many. One address per line; remove invalid ones.

7.7 Frequently asked questions

Question Answer
Does the software need the internet? No. Installation, use and licence checks work offline. Internet or a mail relay is needed only if you want e-mail.
Where is my data kept? In the database you chose and in the data/media folder on the server.
Can Personnel (Requesters/Incharges) sign in? No. Personnel are only names for issue and return. Create a User for anyone who must sign in.
How do I stop an asset from being calibrated? Set its status to Not In Use or Scrap. It leaves the due list.
Can an approved calibration be changed? Not by ordinary users. An Admin can perform a controlled revision with mandatory remarks; the audit log records it.
Can I delete a calibration record? Only an Admin, and only if it is not submitted or approved.
Why do I not see the Audit or Users menu? Those are Admin-only (Part 5).
Which time zone is used? Audit times and the alert schedule are UTC; dates in tables are shown as day-month-year.
How do I move to a bigger server? Back up with scripts/backup-all.sh, install the same package on the new server, restore into an isolated database (2.22), and point the settings at it. Keep the same encryption key.
What browsers are supported? Current desktop and tablet browsers; the layout adapts to narrow screens.
Where do I get help? Contact your Factovize support representative with the contents of logs/app.log (it never contains database passwords) and the time of the problem.

7.8 Items to confirm with Factovize

This manual was prepared from the contents of the installation package (the application’s screens, messages, permission tables and scripts). A few points could not be proven without a running production server and are worth confirming:

  • The exact IMA number pattern and the day on which an asset is automatically flagged Calibration Needed.
  • Where an Admin uploads user signature images, and whether a separate Assign executor button is enabled for the Asset Manager in your release.
  • The invitation expiry period (shown per invitation in the Expires column).
  • The Reports and Weekly Dashboard modules, which display “not implemented yet” in this build.
  • Whether TLS (HTTPS) is provided by your deployment; the package itself serves HTTP on port 8080, so use a reverse proxy for HTTPS.