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.
| Settings | Environment variable | Default |
|---|---|---|
| Automatic updates check, Display available updates notification | CHEVERETO_ENABLE_UPDATE_CHECK | 1 |
| Dump update query, Debug errors, Debug level, xrDebug | CHEVERETO_ENABLE_DEBUG | 1 |
| CDN, CDN URL | CHEVERETO_ENABLE_CDN | 1 |
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.
| Value | Effect |
|---|---|
| Enabled | Don't show system notices automatically |
| Disabled | Show 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.
| Type | Default |
|---|---|
| Integer | 0 |
Automatic updates check
Toggles the automatic updates check. When enabled, your installation checks for new Chevereto releases.
| Value | Effect |
|---|---|
| Enabled | Check for updates automatically (default) |
| Disabled | Don'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.
| Value | Effect |
|---|---|
| Enabled | Show a notice when an update is available |
| Disabled | Don'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.
| Value | Effect |
|---|---|
| Enabled | Show the update query (you must run it manually) |
| Disabled | Run 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.
| Value | Effect |
|---|---|
| Enabled | Serve static files from the CDN |
| Disabled | Serve 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.
| Type | Example |
|---|---|
| String | https://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.
| Value | Effect |
|---|---|
| Enabled | Turn on maintenance mode |
| Disabled | Turn 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.
| Type | Example |
|---|---|
| String | bnnnfer9 |
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.
| Value | Effect |
|---|---|
| Enabled | Show errors to administrators |
| Disabled | Don'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.
| Value | Level | Effect |
|---|---|---|
| None | 0 | No debug output |
| Error log | 1 | Log errors to the error log (default) |
| Print errors without error log | 2 | Display errors on screen without logging them |
| Print and log errors | 3 | Display 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.
