Tools
/dashboard/settings/tools
Utilities for administrators to inspect IDs, test email delivery, export user data and maintain upload storage records.
Decode ID
Converts an encoded ID, as shown in URLs, into its numeric database ID.
Use this to find a database record from a URL, such as the <id> part of /image/<id> or /album/<id>.
| Example | Result |
|---|---|
v5ZO | 1234 |
TIP
Encoded IDs are derived from your website's Crypt salt, so the same numeric ID encodes to a different value on each installation. The examples on this page won't match your website.
Encode ID
Converts a numeric database ID into the encoded ID used in URLs.
| Example | Result |
|---|---|
1234 | v5ZO |
Send test email
Sends a test email to the given address using the current Email settings.
Use this after changing email settings to confirm that emails are delivered. Send it to a service like mail-tester to check whether your emails are likely to land in spam.
The email subject reads Test email from <website name> @ <date time> and its body reads This is just a test.
| Example | Result |
|---|---|
test-ihmi89xct@srv1.mail-tester.com | Test email sent successfully |
If sending fails, the error returned by the mail server or email provider is shown instead.
Export a user
Downloads a user's standard personal information as a <username>.json file.
Use this to answer a user's request for a copy of their data.
| Example | Result |
|---|---|
admin | Downloads the admin.json file |
{
"bio": null,
"email": "admin@example.com",
"file_meta_tag_camera_model": 1,
"image_expiration": null,
"image_keep_exif": 1,
"is_admin": 1,
"is_manager": 0,
"is_private": 0,
"language": "en",
"name": "Biggie Smalls",
"newsletter_subscribe": 1,
"palette_handle": "system",
"show_nsfw_listings": 0,
"status": "valid",
"timezone": "America/Santiago",
"username": "admin",
"website": "https://example.com"
}WARNING
The export includes the user's email address. Handle the file as personal data.
Rebuild upload storage stats
Recalculates the space used by an upload storage. The result is the combined size of the original, medium and thumbnail of every file assigned to the storage.
Use this when the space used shown for a storage is wrong, for example after deleting files directly at the storage provider or after editing the database. Chevereto compares the space used against the storage's capacity to decide when to switch uploads to another storage, so the value needs to be accurate.
| Example | Result |
|---|---|
1 | Storage stats rebuilt successfully |
TIP
The storage ID is shown in the ID column of the Upload storage list.
Migrate upload storage records
Reassigns every file record from one storage to another in the database.
Use this when you move files to a different storage and need the database to point to the new location.
| Values | Example |
|---|---|
| Source storage ID | 1 |
| Target storage ID | 2 |
Use 0 (zero) to refer to files stored on your website's own server, which aren't assigned to any upload storage.
After the migration, the stats of both storages are rebuilt. The source and target must be different, both storages must exist, and the source must have at least one file assigned, otherwise an error is shown.
Files aren't moved
This tool only updates the database. You must transfer the actual files to the target storage on your own, keeping the same paths. Do the transfer before migrating the records, or files will show as broken until the transfer completes.
Setting up URL rewriting from the old storage URL to the new one is strongly recommended, so links already shared keep working.
