Skip to content

Site storage ​

/dashboard/settings/site-storage

Site storage is where Chevereto keeps website and user assets, such as the logo, homepage covers, avatars and profile backgrounds. It works like Upload storage, but for the files that make up your website instead of the files uploaded by users.

Upload storage

Check the Upload storage documentation to control where user-uploaded files are stored.

How it works ​

Site storage sends website assets to a single storage server. That server exposes the files over HTTP, so visitors load these assets from the storage URL instead of from your website.

Unlike Upload storage, which can use several storage servers at once, Site storage uses one storage server. For this reason the form doesn't have the Name, Storage capacity and Enabled types options found in Upload storage.

When you save, Chevereto uploads and then deletes a test file to check the connection. If the test fails, the error is shown under API and nothing is saved.

Existing files are not moved

Changing the Site storage only affects assets uploaded from then on. Files already stored stay where they are, so copy them to the new storage yourself to keep them working.

Stored assets ​

AssetPath in storage
Logo, homepage logo, favicon, watermark, homepage covers, consent screen covercontent/images/system/
User avatars and profile backgroundscontent/images/users/<user_id>/

The default images that ship with Chevereto are always loaded from your website.

Default storage ​

When CHEVERETO_ENABLE_LOCAL_STORAGE is enabled, Site storage uses the Local API by default:

  • New installations store assets at images/_assets/ under the public path, mapped to https://your-website/images/_assets/.
  • Installations upgraded from older versions store assets relative to the public path, mapped to the website URL.

Storage URL ​

Site storage uses the URL as a base URL to map stored assets to their public location, exactly as described in Upload storage. You can also put a CDN in front of it.

Providers ​

Site storage supports Alibaba Cloud OSS, Amazon S3, Backblaze B2 (legacy API), FTP, Google Cloud, Local, Microsoft Azure, OpenStack, S3 compatible and SFTP. Check Storage providers for setup instructions for each one.

Chevereto Free and Lite can use Local, Amazon S3 and S3 compatible. All providers are available in Chevereto Pro. Providers not available in your edition are listed with a * and can't be selected.

  • If CHEVERETO_ENABLE_EXTERNAL_STORAGE_PROVIDERS is set to 0, only Local can be selected.
  • If CHEVERETO_ENABLE_LOCAL_STORAGE is set to 0, Local isn't offered.

Storage values (common) ​

API ​

The storage provider.

TypeExample
SelectAmazon S3

Bucket ​

The bucket where the files will be stored. Used by Alibaba Cloud OSS, Amazon S3, Backblaze B2, Google Cloud, Microsoft Azure and S3 compatible.

TypeDescription
StringThe bucket name

Key ​

The API key to access storage.

TypeDescription
StringPublic key

Secret ​

The API secret to access storage.

TypeDescription
StringSecret key

URL ​

The URL where the files in this storage are publicly available.

TypeExample
Stringhttps://storage1.demo.chevereto.com/bucket/

WARNING

For the example above, a file at https://storage1.demo.chevereto.com/bucket/example.jpg should be resolving.

Alibaba Cloud OSS ​

Storage type: oss

Uses Bucket, Key, Secret and URL, plus the endpoint.

ValueDescription
EndpointAlibaba Cloud OSS endpoint

Amazon S3 ​

Storage type: s3

Uses Bucket, Key, Secret and URL, plus the region. If your S3 provider isn't AWS, use S3 compatible.

ValueDescription
RegionAmazon S3 region, selected from a list
Use path style endpointUse endpoint/bucket instead of bucket.endpoint

Backblaze B2 (legacy) ​

Storage type: b2

This is for the deprecated B2 API. For new buckets, use S3 compatible as described in Storage providers.

Uses Bucket and URL. Key and Secret take the B2 credentials:

ValueDescription
KeykeyID
SecretMaster Application Key

FTP ​

Storage type: ftp

ValueDescriptionExample
ServerIP address or hostname127.0.0.1 ftp.chevereto.com
PathAbsolute path in the context of the FTP login (/ for root)/path/in/server/
UserFTP userusername
PasswordFTP passwordpassword
URLSee URL

Google Cloud ​

Storage type: gcloud

Uses Bucket and URL, plus a service account key in JSON format.

ValueDescription
Private keyGoogle Cloud JSON key

Local ​

Storage type: local

Stores the files on the server running Chevereto.

ValueDescription
PathLocal path where files will be stored
URLSee URL

Microsoft Azure ​

Storage type: azure

Uses Bucket (the container) and URL, plus:

ValueDescription
AccountMicrosoft Azure AccountName
KeyMicrosoft Azure AccountKey
EndpointMicrosoft Azure endpoint (optional)

OpenStack ​

Storage type: openstack

ValueDescription
Service nameFor example, swift
Identity URLIdentity API endpoint
UsernameThe username
PasswordThe password
RegionStorage region
ContainerStorage container
Tenant idTenant id (account id), optional
Tenant nameTenant name (account name), optional
URLSee URL

S3 compatible ​

Storage type: s3compatible

Uses Bucket, Key, Secret and URL, plus:

ValueDescription
RegionStorage region
EndpointStorage endpoint, starting with http:// or https://
Use path style endpointUse endpoint/bucket instead of bucket.endpoint

SFTP ​

Storage type: sftp

Same as FTP, but using the SSH File Transfer Protocol.

Released under the Apache-2.0 License.