Skip to content

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:

  1. Database: Stores the media assets in the MediaHub Database.

    Tip

    This is the recommended option, and it is the default.

  2. S3: option to store the assets in an S3-compatible bucket in the cloud
    You will need to configure the bucket by filling:

    1. Address (default localhost)
    2. Port (default 9000)
    3. SSL: If you are using Secure Sockets Layer in your S3 service you should enable this option.
    4. Bucket (default is mediahub)
    5. Prefix: an optional path prefix inside the bucket, so that several products can share one bucket.
    6. Access Key: Your S3 access key ID
    7. Secret: Your S3 secret key

      Info

      For more information: AWS secret

      backups

  3. File System (Advanced): stores the assets as files on the server's own disk.

    1. Root Folder: the folder the files are written to. The default is the Storage folder inside the MediaHub data folder.

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:

  1. Certificate: the certificate file (.cert, .crt or .pem).
  2. Key: the private key file (.key or .pem). The key must be in PEM format and start with -----BEGIN PRIVATE KEY-----.
  3. 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.

  1. 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

  2. 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.

  3. 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

Backups

The Backup Configuration card controls where backups are written and whether MediaHub creates them on a schedule.

  1. Folder: where the backup files are saved. The default is the Backups folder in the MediaHub data folder (C:\ProgramData\Erizos\MediaHub\Backups on a default installation).
  2. Options: select which properties to include in the backup - Settings and Database. This setting currently has no effect: every backup contains both.
  3. 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.
  4. 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

  5. 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.

backups

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.