Admin
Back to gallery
Total albums
–
Total photos
–
Total videos
–
Content contributors
–
Storage used
–

Recent activity

Latest login, upload, and admin events across the platform.

Loading activity...

Loading users...

Loading permissions...

Loading settings...

Loading theme...

Loading content...

Loading health...

Loading trash...

Loading Video Trash...


                        

Loading...

Loading storage breakdown...

Storage cleanup

Find and remove records or files that are no longer linked to anything.

Clean up empty albums

Lists albums that contain zero photos and aren't linked to a trip. Preview, sort by age, and explicitly move selected albums to Trash.

Find orphaned photo records

Photo rows whose gallery was deleted. Review and selectively purge records + files.

Find orphaned files

Files on disk (originals and thumbnails) with no database record. Scans grid / card / list / original buckets.

Review orphan-file cleanup

Choose selected files or explicitly choose every item from the latest frozen scan. Cleanup is queued and rechecks ownership before any file is removed.

Scheduled orphan-file scanner

Runs automatically about once a month. It freezes eligible files, queues bounded cleanup work, and rechecks ownership and active uploads before removal.

Retention window

Only orphan files older than this many days may enter the monthly cleanup queue (1–365).

Loading status…

days

Run scan now

Queues a review-only retention scan. After it finishes, select frozen results and type the exact confirmation; no cleanup is automatic.

Database

Run VACUUM to reclaim space from deleted rows. Safe to run anytime - the result is reported after.

Optimize database

Rewrites the SQLite file to compact free pages. Before/after sizes are shown.

Database snapshot

WAL-consistent SQLite export via db.backup(). Contains every table, including users, galleries, photo metadata, and audit logs.

Media-tree export (ZIP)

Streams the entire uploads/ tree, including photo originals, thumbnails, video posters, and other stored files. It can be multi-GB.

Settings export

JSON export of system_settings and all theme_presets. A legacy theme_settings value is retained when that older table exists. This duplicates a subset of the database export and is captured separately.

Loading error logs...

Loading logs...