Includes advanced configurations that don’t belong to any other category.
API Access
This configuration controls access to the MediaCP API. The API allows remote commands to be securely communicated through the platform, it is often used for integration into external systems such as Billing Systems or to enhance a Workflow.
Some examples of API usage:
- An administrator uses the API to integrate with WHMCS Billing System
- An administrator or reseller uses the API to automatically provision new Customers and Services when their customers complete payment
- A customer automatically creates an automatic workflow to create DJ accounts
There are three levels of control, by default new Customers are not provided access to the API unless manually enabled by an Administrator:
- Enabled – new users will not be provided API access until enabled
- Enabled – new users will be provided API access by default
- Disabled – No API Access, billing integrations will not work
Listener/Viewer Maps
ReCAPTCHA
Google ReCAPTCHA adds a layer of security to the login page. When enabled, the Google ReCAPTCHA will be displayed after an unsuccessful login to the control panel.
You must provide a valid ReCAPTCHA v2 Site Key and Secret to use this feature.
For those using our WHMCS Integration, ReCAPTCHA will interrupt the WHMCS plugin sign in function, which will cause the login to not work and will require ReCAPTCHA completion to continue.
If an invalid Site Key or Secret is provided, you may be locked out of the control panel.
Disable Google ReCAPTCHA
If Google Recaptcha is configured incorrectly it may restrict users from logging into the MediaCP. You can solve this issue by disabling the captcha.
- Login to SSH as root user
- Run the following command in SSH to disable ReCAPTCHA
echo "UPDATE settings SET value = 'disabled' WHERE setting = 'captcha';" | /usr/local/mediacp/mysql/bin/mysql --protocol=SOCKET --socket=/usr/local/mediacp/mysql/data/mysql.sock --user=root --password= mediacp >/dev/null 2>&1
FTP
- FTP Server Prefix – FTP usernames are configured with a default prefix of “ftp_” before the users id. You can adjust the prefix by updating this value however please note it may be required to reset FTP accounts by running the following.
/root/init --reset-ftp
Other
- Debugging – Debugging output will provide additional information for MediaCP Support Team when an error is displayed in the control panel. It should be disabled unless there is a problem.
- RESET Reporting Statistics – This will permanently delete the Historical Reporting data. If the database is quite large, then this may take some time to complete.
- RESET Data Transfer – Permanently delete all bandwidth and data transfer information, effectively resetting all limits and destroying past data.
- Refresh System Cache – Clears system caches such as Station Pages, HTML Player Configurations, Templates, Thumbnails, and Cover Art. If you have changed a setting in the control panel and it is not reflected, or there are broken thumbnails, then refreshing the system cache is recommended.