Skip to content

Installation

Andrey Borysenko edited this page Dec 2, 2024 · 8 revisions

To install the MediaDC application download and enable it from the Nextcloud Apps store. After that, you need to press the install button for auto-install python module dependencies on the Configuration page, that appears on the first installation (only for administrators).

On some systems, additional steps are needed, they are described here: Auto Install FAQ. If you are using Nextcloud Alpine Docker - check out mediadc docker example configuration.

Also, there is a Docker Mod for linuxserver/docker-nextcloud that installing all dependencies for MediaDC. It can be used simply by adding the following environment variable to the docker run command/docker-compose file: DOCKER_MODS=linuxserver/mods:nextcloud-mediadc (thanks to JonathanTreffler).

Requirements:

Name Version
OS 64bit
PHP ^7.3
Python ^3.6.8
Nextcloud ^21
Database MySQL, MariaDB, PostgreSQL

Configuring PHP on Plesk

If you are using Nextcloud installed via Plesk, you must configure the correct PHP interpreter path in the MediaDC settings. Follow these steps:

  1. After enabling MediaDC, navigate to the Admin Settings in Nextcloud.
  2. In the MediaDC configuration section:
    • Enable the "Use path to PHP interpreter for Python" option.
    • Set the Full path to PHP interpreter for Python to:
      /opt/plesk/php/8.x/bin/php
      
      Replace 8.x with your specific PHP version (e.g., 8.2).
  3. Save your settings and verify that MediaDC functions as expected.

This will ensure that MediaDC can correctly execute PHP-related tasks on a Plesk-managed system.

Clone this wiki locally