Skip to content

Admin Panel

Everything an administrator can do lives behind the Admin entry of the left menu. How it is presented depends on the use_admin_dashboard setting:

  • on (default) - the entry leads to /admin, a dashboard page with an overview and a grid of tiles.
  • off - the entry expands into a submenu listing the same destinations directly.

Either way, a screen only ever shows up for someone who has the rights to use it, and only when the module behind it is enabled.

The overview at the top reports the number of photos, albums, and users, the storage in use, the number of queued jobs, the failed jobs of the last 24 hours, and when the last job succeeded. A metric that cannot be computed is reported as partially unavailable rather than blocking the page.

Two panels appear above it when they have something to say:

  • Security Advisories - the advisories published for Lychee that apply to the version you are running, with their CVSS score when there is one. Lychee fetches them from ADVISORIES_API_URL (GitHub’s advisory API by default) and also shows a dismissable warning at login. Turn the whole check off with VULNERABILITY_CHECK_ENABLED=false.
  • Update Status - whether a newer release exists, and which one. Turn it off with UPDATE_CHECK_ENABLED=false.

The tiles below are grouped into Admin, Monitoring, and Extensions.

ScreenWhat it does
SettingsEvery setting of the instance. See Settings
UsersCreate, edit, and delete accounts. See Users
User Groups SEGather users into groups. See User Groups
Sharing v8Every album permission on the instance, in one editable table, with propagation and bulk sharing. Reachable from the profile menu in any case
Bulk Album EditTitles, metadata, visibility, sorting, ownership, and deletion for many albums at once
ModerationPhotos held back by the check trust level, awaiting approval or deletion
MaintenanceThe maintenance tasks, listed below
Design System v8The theme’s colours, typography, and components, previewed live. Needs enable_design_system
ScreenWhat it does
DiagnosticsSelf-diagnosis checks, instance info, configuration dump, and storage usage, copyable to the clipboard
JobsThe job history: date, status, user, and job name
LogsThe application log, served by the built-in log viewer. Requires LOG_VIEWER_ENABLED=true
ClockworkThe Clockwork profiler, when developer tools are enabled

Individual diagnostic checks can be skipped with SKIP_DIAGNOSTICS_CHECKS in the .env file, which is how you drop an expensive check such as BasicPermissionCheck on slow storage. See Advanced Setups.

These only appear when the matching module is enabled.

ScreenEnabled by
PurchasablesThe Webshop
Shop SizesThe Webshop
Contact Messages SEThe contact form
WebhooksWEBHOOK_ENABLED=true
Face Quality Review v8Facial Recognition
NSFW Detection & Moderation SENSFW Classification
Watermark Preview v8SEWatermarking
Landing Config v8Always, in v8

The Contact Messages tile also carries a badge with the number of unread messages.

The maintenance page runs one-off housekeeping jobs. Each one reports what it found before you let it act:

  • Cleaning - remove leftover files that no longer belong to any photo.
  • Missing size variants and File sizes missing - regenerate variants that were never produced, and backfill the recorded file sizes.
  • Missing Palettes SE - compute the colour palettes of photos imported before extraction was turned on.
  • Duplicates - find duplicate photos by checksum and/or title, optionally restricted to the same album, and delete the copies you do not keep. Also available as its own page.
  • Tree statistics and Album Precomputed Fields / Album Size Statistics - rebuild the album tree’s nested-set bounds and the counters cached on albums.
  • Statistics integrity Check - verify the stored statistics against the actual data.
  • Optimize Database - run the database engine’s own optimisation.
  • Fixing Jobs History and Flush Queue - clean up the job history and drop what is still queued.
  • Flush Cache - empty the response cache.
  • Updates - check whether the installation is behind, and run the updater when it is.
  • Old Orders and Orders to fulfill - clean stale baskets and re-run auto-fulfilment. See Order Management.
  • Face Quality Review, Destroy Dismissed Faces, Sync Face Embeddings, Reset Face Scan Status, Purge Orphan Face Embeddings, Run Clustering v8 - the facial-recognition housekeeping. See Facial Recognition.
  • Bulk NSFW Scan SE - scan existing photos with the classifier. See NSFW Classification.

Two related pages sit next to it: Fix Tree, which exposes the raw nested-set values of the album tree for manual repair, and the Duplicates Finder.