Skip to content
This repository was archived by the owner on Oct 13, 2025. It is now read-only.
This repository was archived by the owner on Oct 13, 2025. It is now read-only.

MediaDC fails to install #29

@GewoonYorick

Description

@GewoonYorick

Describe the bug
MediaDC fails to install and throws the error down below.

To Reproduce
Steps to reproduce the behavior:

  1. Run the install command / install through the store. (occ app:install mediadc)
  2. Get an error:
Illegal instruction (core dumped)
An unhandled exception has been thrown:
TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/html/custom_apps/mediadc/lib/Service/PythonService.php:357
Stack trace:
#0 /var/www/html/custom_apps/mediadc/lib/Service/PythonService.php(357): count(NULL)
#1 /var/www/html/custom_apps/mediadc/lib/Service/PythonService.php(153): OCA\MediaDC\Service\PythonService->parsePythonOutput(Array)
#2 /var/www/html/custom_apps/mediadc/lib/Migration/AppUpdateStep.php(72): OCA\MediaDC\Service\PythonService->installDependencies('required option...')
#3 /var/www/html/lib/private/Repair.php(123): OCA\MediaDC\Migration\AppUpdateStep->run(Object(OC\Repair))
#4 /var/www/html/lib/private/legacy/OC_App.php(1059): OC\Repair->run()
#5 /var/www/html/lib/private/Installer.php(149): OC_App::executeRepairSteps('mediadc', Array)
#6 /var/www/html/core/Command/App/Install.php(75): OC\Installer->installApp('mediadc', false)
#7 /var/www/html/3rdparty/symfony/console/Command/Command.php(255): OC\Core\Command\App\Install->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/3rdparty/symfony/console/Application.php(1009): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/3rdparty/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand(Object(OC\Core\Command\App\Install), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/3rdparty/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/lib/private/Console/Application.php(209): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/console.php(99): OC\Console\Application->run()
#13 /var/www/html/occ(11): require_once('/var/www/html/c...')
#14 {main}

Expected behavior
I expect the app to install without problems.

Server:

  • Docker: nextcloud:22.2.0
  • CPU x64
  • Nextcloud version: 22.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfix in progressfix in progress

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions