Skip to content

System ​

/dashboard/settings/system

Configure system notices, caching, update checks, CDN, maintenance mode and debugging.

Some of these settings can be turned off for the whole installation with an environment variable. When a toggle is set to 0, its settings are hidden from this page and stay disabled, whatever was set before.

SettingsEnvironment variableDefault
Automatic updates check, Display available updates notificationCHEVERETO_ENABLE_UPDATE_CHECK1
Dump update query, Debug errors, Debug level, xrDebugCHEVERETO_ENABLE_DEBUG1
CDN, CDN URLCHEVERETO_ENABLE_CDN1

Silent notices ​

Toggles the automatic display of system notices. System notices are shown only to administrators and warn about things like available updates, an outdated database, maintenance mode or a broken email setup.

When disabled, the notices open in a modal window on every page load. When enabled, the notices aren't shown automatically.

ValueEffect
EnabledDon't show system notices automatically
DisabledShow system notices automatically (default)

Cache time ​

Determines the cache TTL (time to live) in seconds, sent to browsers in the Cache-Control: private, max-age=<seconds> header. Use zero (0) to disable caching.

Pages tied to the user session, such as login, signup, account and JSON requests, are never cached, whatever is set here.

TypeDefault
Integer0

Automatic updates check ​

Toggles the automatic updates check. When enabled, your installation checks for new Chevereto releases.

ValueEffect
EnabledCheck for updates automatically (default)
DisabledDon't check for updates automatically

Display available updates notification ​

Toggles a system notice when a new release is available. The notice links to the dashboard, where you can download and install the update.

See Silent notices to control how system notices are shown.

ValueEffect
EnabledShow a notice when an update is available
DisabledDon't show update notices

Dump update query ​

Toggles dumping the database update query. When enabled, running the update shows the SQL query instead of executing it, so you can run it manually in your database console. The dumped query is also sent to xrDebug when it's configured.

ValueEffect
EnabledShow the update query (you must run it manually)
DisabledRun the update query directly (default)

Large installations

For installations with 1,000,000 (1M) or more images, the query is always dumped when the web updater needs to change the table structure (ADD, ALTER, MODIFY or CHANGE statements). Changing large tables can take a long time and is safer to run directly in the database console. Updates run from the command line aren't affected.

CDN ​

Toggles the use of a CDN (content delivery network) for the application's static files, such as scripts, styles and theme images.

This doesn't affect uploaded files, which are served from their upload storage URL.

ValueEffect
EnabledServe static files from the CDN
DisabledServe static files from your website (default)

CDN URL ​

*Applies only if CDN is set to Enabled.

Determines the CDN (pull zone) URL used for the application's static files. The CDN must mirror your website's public files.

A trailing slash is added if missing. If you don't include a scheme, http:// is added, so prefer to enter the full https:// URL.

TypeExample
Stringhttps://cdn.example.com/

Maintenance ​

Toggles maintenance mode. When enabled, visitors see a maintenance message instead of the website. Administrators aren't affected and can keep using the website and the dashboard.

While in maintenance mode:

  • Only the login, account and social login pages stay available, so administrators can sign in. Other routes, including the dashboard, redirect to the maintenance message or the login page.
  • Cron jobs don't run.
  • Administrators see a system notice reminding them that maintenance mode is on.
ValueEffect
EnabledTurn on maintenance mode
DisabledTurn off maintenance mode (default)

TIP

The updater turns on maintenance mode while it updates the database, and turns it off when done. If maintenance mode was already on, it stays on.

Crypt salt ​

The crypt salt used to encode numeric database IDs into the alphanumeric IDs used in URLs, such as /image/<id>. It's generated on install.

WARNING

This value is shown only for reference and can't be edited here. Changing it would break every existing URL that contains an encoded ID.

TypeExample
Stringbnnnfer9

Debug errors ​

Toggles debug error reporting for administrators. When enabled, errors are displayed on screen to logged-in administrators only. Other users aren't affected.

ValueEffect
EnabledShow errors to administrators
DisabledDon't show errors (default)

Debug level ​

Shows the current debug level for error reporting. This value is read-only here: set it with the CHEVERETO_DEBUG_LEVEL environment variable. See Debug.

ValueLevelEffect
None0No debug output
Error log1Log errors to the error log (default)
Print errors without error log2Display errors on screen without logging them
Print and log errors3Display errors on screen and log them

DANGER

Levels 2 and 3 print errors to every visitor and could expose sensitive information. Use them only while restricting public access, and revert to 1 as soon as possible.

xrDebug ​

Chevereto can send debug messages to an xrDebug server. There's nothing to set on this page: see Debug for setup instructions.

Released under the Apache-2.0 License.