← AMS Home

🔧 Troubleshooting Guide

Common problems and their solutions for the Woven Model Asset Management System.

Table of Contents

App Won't Start

CRITICAL
Application launches but immediately closes, or nothing happens when you double-click the EXE.

Possible Causes & Fixes

Fix 1: Kill Lingering Processes

Sometimes a previous instance didn't fully close. Kill all Electron and AMS processes:

taskkill /f /im "Woven Model AMS.exe"
taskkill /f /im electron.exe

Then try launching again.

Fix 2: Check the Logs

Open the app log file to see what went wrong:

notepad "%APPDATA%\woven-model-ams\Logs\app.log"

Look for lines with "level":"error". Common startup errors include missing database files, permission issues, or native module failures.

Fix 3: Database Locked

If the log shows "SQLITE_BUSY" or "database is locked", a previous instance may still be holding the lock. Follow the Database Locked section below.

Fix 4: Corrupted Database

If the log mentions database corruption, rename the database and restart. The app will create a fresh one:

cd "%APPDATA%\woven-model-ams\Data"
ren AssetManagement.db AssetManagement.db.corrupt

You can try restoring from a backup afterward.

Fix 5: Reinstall

Download a fresh copy of the installer or portable EXE and reinstall. Your data is stored in %APPDATA%\woven-model-ams and won't be affected by a reinstall.

Login Issues

WARNING
Can't log in — "Invalid credentials", no admin account, or Setup page won't appear.
Fix 1: Reset Your Password

If you forgot the admin password, you can reset it directly in the database:

sqlite3 "%APPDATA%\woven-model-ams\Data\AssetManagement.db"
SELECT * FROM users;                         -- see all users
UPDATE users SET password_hash = NULL WHERE username = 'admin';  -- clear password
.quit

Then restart the app. You'll be prompted to create a new password via the Setup page.

If you don't have sqlite3 installed, use the bootstrap script instead.

Fix 2: No Admin Account Exists

If the database was reset or this is a fresh deployment and the Setup page isn't appearing, create an admin user manually:

node scripts/create-test-user.cjs

This creates: admin / admin123. Log in and change the password immediately.

Fix 3: Session Expired

If you were kicked out mid-session, your session token expired. Default timeout is 8 hours. Log in again. You can adjust the timeout in Settings → Session Timeout.

White / Unstyled Screen

CRITICAL
The app window opens but the UI is completely white, or text is unstyled / hard to read.

Symptom

The Tailwind CSS was not included in the production build. The bundled CSS file is only ~15KB (fonts only) instead of ~41KB (full utility classes).

Fix (For Developers Building from Source)

This is a known build issue. After npm run build, you must generate and inject Tailwind CSS manually:

npm run build
node /tmp/build-tailwind.cjs

Then copy the generated CSS over the Vite output:

$assetsDir = "out\renderer\assets"
$viteCss = Get-ChildItem $assetsDir -Filter "index-*.css" | Select-Object -First 1
Copy-Item "$assetsDir\index.css" $viteCss.FullName -Force
Fix (For End Users)

If you downloaded a pre-built installer or zip and see a white screen, contact support — the build is missing the CSS step. Download a corrected build.

Database Locked Errors

WARNING
Error messages about "SQLITE_BUSY", "database is locked", or operations hanging indefinitely.
Fix 1: Kill All Processes
taskkill /f /im electron.exe
taskkill /f /im "Woven Model AMS.exe"

Wait 5 seconds, then relaunch.

Fix 2: Clear WAL Files Manually

The database uses WAL (Write-Ahead Log) mode. Stale WAL files can sometimes cause lock contention. Close the app, then:

cd "%APPDATA%\woven-model-ams\Data"
del AssetManagement.db-wal
del AssetManagement.db-shm

These files will be recreated automatically on next launch.

Fix 3: Restart Your Computer

If taskkill doesn't work or processes are stuck, a full reboot will clear all file locks.

Corrupted Database

CRITICAL
App crashes on startup with database errors, or data appears inconsistent / missing.
Fix 1: Restore from Backup

If you have a recent backup, restore it:

# Stop the app first
cd "%APPDATA%\woven-model-ams\Data"
copy AssetManagement.db AssetManagement.db.pre-restore   # safety copy
copy ..\Backups\AssetManagement_Backup_YYYY-MM-DD.db AssetManagement.db

Replace YYYY-MM-DD with the actual backup date.

You can also restore via the app UI: Settings → Backup → select a backup → Restore.

Fix 2: Repair with SQLite
sqlite3 "%APPDATA%\woven-model-ams\Data\AssetManagement.db"
PRAGMA integrity_check;
-- If errors found:
.mode insert
.output dump.sql
.dump
.output stdout
.quit
-- Then create a fresh DB from the dump:
sqlite3 new.db < dump.sql
Fix 3: Start Fresh (Last Resort)

Rename the corrupted database so the app creates a new one:

ren AssetManagement.db AssetManagement.db.corrupt_2026

Restart the app. You'll need to recreate your admin account and re-import data. If you have a backup, restore it after creating the admin account.

Slow Performance

INFO
App feels sluggish — pages take seconds to load, tables are slow to scroll, search is unresponsive.
Fix 1: Check Database Size
$db = "$env:APPDATA\woven-model-ams\Data\AssetManagement.db"
(Get-Item $db).Length / 1MB

If the database is >500MB, consider archiving old audit logs:

sqlite3 "$env:APPDATA\woven-model-ams\Data\AssetManagement.db"
DELETE FROM audit_logs WHERE created_at < date('now', '-1 year');
PRAGMA wal_checkpoint(TRUNCATE);
VACUUM;
Fix 2: Rebuild Indexes
sqlite3 "$env:APPDATA\woven-model-ams\Data\AssetManagement.db"
REINDEX;
Fix 3: Close Other Applications

AMS uses ~200-500MB RAM. If you're running many applications simultaneously, close some to free up memory.

Fix 4: Reduce Page Size

In the Assets table, reduce the "Items per page" setting. Smaller pages load faster.

Import Fails or Shows Errors

WARNING
When importing data, you see error messages, no rows are imported, or the preview shows garbled data.
Fix 1: Check File Format

Supported formats:

  • Excel: .xlsx or .xls
  • CSV: .csv

Make sure your file is not password-protected or in an unsupported format (e.g., OpenDocument .ods).

Fix 2: Map Columns Correctly

After selecting your file, you must map your spreadsheet columns to AMS fields. Make sure:

  • Every required AMS field has a column mapped to it
  • Column names in the dropdowns match your spreadsheet headers
Fix 3: Clean Your Data
  • Remove empty rows at the top of the spreadsheet
  • Make sure dates are in a recognizable format (YYYY-MM-DD recommended)
  • Ensure numbers are formatted as numbers, not text
  • Remove any merged cells
Fix 4: Community Edition Limit

If you're on the Community Edition, you can only import up to 10 total assets. If you already have assets in the system, you won't be able to import more without upgrading or deleting existing assets.

Barcode Generation Fails

INFO
Error "ReferenceError: document is not defined" when generating barcodes, or nothing happens.
Fix 1: Use the Settings UI Workaround

Barcode generation in the main process has a known issue with jsbarcode requiring a DOM. Use the barcode generation option from the Settings page, which runs through the renderer.

Fix 2: Check Your Edition

Barcode and QR code generation is only available in Professional and Enterprise editions. Community Edition users cannot generate barcodes.

Backup Not Working

WARNING
Auto backups aren't being created, manual backup fails, or backup files are empty.
Fix 1: Check Your Edition

Auto backups are only available in Professional and Enterprise editions. Community Edition users must back up manually by copying the database file.

copy "%APPDATA%\woven-model-ams\Data\AssetManagement.db" "%APPDATA%\woven-model-ams\Backups\manual_backup.db"
Fix 2: Check Disk Space

Make sure you have enough free disk space. Each backup is roughly the same size as your database.

Fix 3: Check Backup Settings

Go to Settings and verify:

  • Auto backup is enabled
  • Backup interval is set (default: 24 hours)
  • Max backups is > 0 (default: 10)
Fix 4: Permissions

The app may not have write permission in the Backups folder. Verify:

dir "%APPDATA%\woven-model-ams\Backups\"

If you see permission errors, run the app as Administrator once to create the folder, then return to normal user mode.

License Activation Problems

WARNING
License key won't activate, shows "Invalid license key", or features remain locked after activation.
Fix 1: Activation Applies Immediately

Feature gates are re-evaluated on every call — unlocked features take effect as soon as the license is activated; no restart is required. If a locked feature still seems unavailable after activating, check the License page to confirm the edition was applied.

Fix 2: Check Internet Connection

License activation requires a one-time internet connection to validate the key against the licensing server. Make sure you're online during activation. After activation, the app works offline.

Fix 3: Check License Key Format

The key should be a long alphanumeric string. Make sure you're copying the entire key without extra spaces. Paste it exactly as provided.

Fix 4: Clear and Retry

If a previous activation attempt failed, clear the stored license and try again:

del "%APPDATA%\woven-model-ams\license.dat"

Restart the app and re-enter your license key.

Fix 5: Check License Status

Go to the License page (shield icon). If it shows "Expired", your subscription may have ended. Contact support to renew.

Hit the 10-Asset Limit (Community)

INFO
Can't add more assets — getting an error about reaching the maximum.
Fix 1: Upgrade Your License

The Community Edition is limited to 10 assets. Upgrade to Professional or Enterprise for unlimited assets.

Visit the Woven Model Licensing Portal or book a meeting to purchase a license.

Fix 2: Delete Unused Assets

If you need to stay on Community Edition, delete some existing assets to make room for new ones. Each deletion permanently removes the asset and its history — back up first.

Features Greyed Out / Missing

INFO
Buttons like "Generate Barcode", "Check Out", "Attachments", or "Audit History" are missing or greyed out.
Fix: Check Your Edition

Many features are edition-gated. Check your license on the License page:

FeatureAvailable In
Assets (up to 10)All editions
Unlimited AssetsProfessional, Enterprise
Barcode & QRProfessional, Enterprise
Check-In/OutProfessional, Enterprise
AttachmentsProfessional, Enterprise
Audit HistoryProfessional, Enterprise
Auto BackupsProfessional, Enterprise
PDF ExportEnterprise
Unlimited UsersEnterprise

Missing Window Controls

INFO
No minimize, maximize, or close buttons in the top-right corner of the window.
Fix 1: Use Keyboard Shortcuts
  • Minimize: Windows Key + Down Arrow
  • Maximize: Windows Key + Up Arrow
  • Close: Alt + F4
Fix 2: Check Build Version

Window controls were added in a recent update. Make sure you're running the latest build. Download the latest version from the AMS page.

Lost Data / Accidental Deletion

CRITICAL
Accidentally deleted assets, employees, or other data — need to recover it.
Fix 1: Restore from Backup

This is exactly what backups are for. Restore the most recent backup from before the deletion:

# Stop the app
cd "%APPDATA%\woven-model-ams\Data"
copy AssetManagement.db AssetManagement.db.safety   # safety copy first
copy ..\Backups\AssetManagement_Backup_BEFORE_DELETION.db AssetManagement.db

Or use the restore function in Settings → Backup.

Fix 2: Check Audit Logs (If You Can)

If you have Professional or Enterprise and can still access the History page, you can see exactly what was deleted and when. This helps you choose the right backup to restore.

Prevention
  • Enable auto-backups in Settings
  • Create a manual backup before bulk operations
  • Use the role system — give delete permissions only to trusted admins

Complete Reset

WARNING
You want to start completely fresh — remove all data, settings, and start over.
Step-by-Step Reset
  1. Close the app completely
  2. Delete the database:
    del "%APPDATA%\woven-model-ams\Data\AssetManagement.db"
  3. Optionally, delete backups and license too:
    rmdir /s /q "%APPDATA%\woven-model-ams\Backups"
    del "%APPDATA%\woven-model-ams\license.dat"
  4. Optionally, clear logs:
    del "%APPDATA%\woven-model-ams\Logs\app.log"
  5. Restart the app — the Setup page will appear for a fresh admin account
Nuclear Option (Delete Everything)
rmdir /s /q "%APPDATA%\woven-model-ams"

This removes the entire app data folder. Next launch creates everything from scratch.

Reading the Logs

INFO
How to find and read the application logs for diagnosing any issue.

Log Location

%APPDATA%\woven-model-ams\Logs\app.log

Viewing Logs (PowerShell)

# Last 50 lines
Get-Content "$env:APPDATA\woven-model-ams\Logs\app.log" -Tail 50

# Errors only
Get-Content "$env:APPDATA\woven-model-ams\Logs\app.log" | Select-String '"level":"error"'

# Warnings and errors
Get-Content "$env:APPDATA\woven-model-ams\Logs\app.log" | Select-String '"level":"warn"|"level":"error"'

Log Format

Each line is a JSON object with timestamp, level, and message fields. Example:

{"timestamp":"2026-07-21T04:50:00.000Z","level":"info","message":"Asset created: LAPTOP-001"}

Log Rotation

  • Max 5MB per log file
  • Max 5 files retained (app.log, app.log.1 through app.log.5)
  • Oldest file is auto-deleted when rotation limit is reached

Getting Support

INFO
You've tried everything and still need help.

Before Contacting Support

  1. Grab your logs: notepad "%APPDATA%\woven-model-ams\Logs\app.log"
  2. Note your edition: Check the License page
  3. Describe the steps: What were you doing when the problem occurred?
  4. Screenshot the error: If an error message appeared, capture it

Contact Options

Quick Reference

ItemPath
Database%APPDATA%\woven-model-ams\Data\AssetManagement.db
Backups%APPDATA%\woven-model-ams\Backups\
Logs%APPDATA%\woven-model-ams\Logs\app.log
License%APPDATA%\woven-model-ams\license.dat
Kill all processestaskkill /f /im "Woven Model AMS.exe"
Reset admin passwordnode scripts/create-test-user.cjs