MediaHub Settings: Settings
Under MediaHub → → setting you can change the following:
General
Server Tag: a short label for this server. It is shown in the browser title bar, which makes it easier to tell several MediaHub servers apart.
Requires Login: available from 3.7, on by default. Turn it off and MediaHub stops asking for credentials - anyone who opens it is signed in automatically as the built-in admin user, with that user's permissions.
Warning
With Requires Login off there is no access control in MediaHub: every visitor has the admin user's rights. Only turn it off on a server that is not reachable outside a trusted network.
Storage
Media hub can work in 3 storage configurations, selected under Storage Type:
-
Database: Stores the media assets in the MediaHub Database.
Tip
This is the recommended option, and it is the default.
-
S3: option to store the assets in an S3-compatible bucket in the cloud
You will need to configure the bucket by filling:- Address (default
localhost) - Port (default 9000)
- SSL: If you are using Secure Sockets Layer in your S3 service you should enable this option.
- Bucket (default is
mediahub) - Prefix: an optional path prefix inside the bucket, so that several products can share one bucket.
- Access Key: Your S3 access key ID
-
Secret: Your S3 secret key
Info
For more information: AWS secret
- Address (default
-
File System (Advanced): stores the assets as files on the server's own disk.
- Root Folder: the folder the files are written to. The default is the
Storagefolder inside the MediaHub data folder.
- Root Folder: the folder the files are written to. The default is the
Warning
Changing the storage type does not move the files that are already stored. The settings page shows Files will not be transfered to new storage type as soon as you change the type, and the assets already in the old storage will no longer resolve.
Export Storage: the button next to the Storage Type selector opens the export dialog, which writes a copy of the MediaHub storage out to a chosen location.
HTTPS
Turn the HTTPS switch on to serve MediaHub over TLS. When it is on, three fields appear:
- Certificate: the certificate file (
.cert,.crtor.pem). - Key: the private key file (
.keyor.pem). The key must be in PEM format and start with-----BEGIN PRIVATE KEY-----. - Passphrase: only needed when the key is encrypted.
Maintenance
Maintenance is the scheduled housekeeping run. Turn the Maintenance switch on to enable it; the schedule and the individual clean-up tasks only appear while it is on.
-
Schedule: when the maintenance run happens, as a cron expression. The default is
0 4 * * *, which is 04:00 every day. A plain-language description of the expression you type is shown under the field.Info
The maintenance schedule uses a cron string format. For more information: cron string
-
Jobs - Days to keep: tick the checkbox and set how many days finished jobs are kept in the Jobs list before they are purged. 1 to 365 days, default 30.
-
Trash - Days to keep: tick the Trash checkbox and set how many days items stay in the trash bin before they are permanently deleted. 1 to 365 days, default 30. Deletion happens during the maintenance run.
Warning
With Maintenance switched off, the trash and expiry clean-up only runs when the MediaHub service starts. Nothing is purged on a schedule.
Backups
The Backup Configuration card controls where backups are written and whether MediaHub creates them on a schedule.
- Folder: where the backup files are saved. The default is the
Backupsfolder in the MediaHub data folder (C:\ProgramData\Erizos\MediaHub\Backupson a default installation). - Options: select which properties to include in the backup - Settings and Database. This setting currently has no effect: every backup contains both.
- Auto Backup: turn this on to have MediaHub create backups on a schedule. It is off by default. The two fields below only appear while it is on.
-
Schedule: when the scheduled backup runs, as a cron expression. The default is
0 4 * * *(04:00 daily), and a plain-language description of what you typed is shown under the field.Info
The backup schedule is using a cron string format. For more information: cron string
-
Days to keep backup files: how long a backup file is kept before it is deleted, 1 to 365 days, default 30.
Note
Auto Backup only controls the scheduled backup. Creating, uploading, restoring and deleting backups by hand on the Backups page works whether it is on or off.
Tip
Don’t forget to click on 'Save Settings' in the top right when finished.
Warning
Apart from Auto Ingest and the Server Tag, every setting on this page needs the MediaHub service to be restarted before it takes effect. Saving prompts you with Changes require a restart to take effect.


