JodliDev / calendar

GNU Affero General Public License v3.0
16 stars 12 forks source link

Debian 12 + Roundcube 1.6.1 (distro's build) #49

Open sphakka opened 11 months ago

sphakka commented 11 months ago

I'm trying to install with composer on Debian 12 with RC-1.6.1 -- just copied the original tree in /usr/share/roundcubeto a sandbox. I had to patch composer.json to use packagist instead of old PEAR repo: pear-pear.php.net → pear. But got stuck on:

$ composer -vvv require kolab/calendar

with error:

In rcube_config.php line 233:

  [ErrorException]               
  Undefined array key "log_dir"

Exception trace:
  at /home/prfth0s/sandbox/roundcube/program/lib/Roundcube/rcube_config.php:233
 Composer\Util\ErrorHandler::handle() at /home/prfth0s/sandbox/roundcube/program/lib/Roundcube/rcube_config.php:233
 rcube_config->load() at /home/prfth0s/sandbox/roundcube/program/lib/Roundcube/rcube_config.php:97
 rcube_config->__construct() at /home/prfth0s/sandbox/roundcube/program/lib/Roundcube/rcube.php:117
 rcube->__construct() at /home/prfth0s/sandbox/roundcube/program/include/rcmail.php:91
 rcmail::get_instance() at /home/prfth0s/sandbox/roundcube/program/include/clisetup.php:30
 include_once() at /home/prfth0s/sandbox/roundcube/vendor/roundcube/plugin-installer/src/Roundcube/Composer/ExtensionInstaller.php:49
 Roundcube\Composer\ExtensionInstaller->install() at /usr/share/php/Composer/Installer/InstallationManager.php:463
 Composer\Installer\InstallationManager->install() at /usr/share/php/Composer/Installer/InstallationManager.php:378
 Composer\Installer\InstallationManager->Composer\Installer\{closure}() at /usr/share/php/React/Promise/FulfilledPromise.php:28
 React\Promise\FulfilledPromise->then() at /usr/share/php/Composer/Installer/InstallationManager.php:377
 Composer\Installer\InstallationManager->executeBatch() at /usr/share/php/Composer/Installer/InstallationManager.php:319
 Composer\Installer\InstallationManager->downloadAndExecuteBatch() at /usr/share/php/Composer/Installer/InstallationManager.php:218
 Composer\Installer\InstallationManager->execute() at /usr/share/php/Composer/Installer.php:797
 Composer\Installer->doInstall() at /usr/share/php/Composer/Installer.php:622
 Composer\Installer->doUpdate() at /usr/share/php/Composer/Installer.php:287
 Composer\Installer->run() at /usr/share/php/Composer/Command/RequireCommand.php:490
 Composer\Command\RequireCommand->doUpdate() at /usr/share/php/Composer/Command/RequireCommand.php:339
 Composer\Command\RequireCommand->execute() at /usr/share/php/Symfony/Component/Console/Command/Command.php:298
 Symfony\Component\Console\Command\Command->run() at /usr/share/php/Symfony/Component/Console/Application.php:1040
 Symfony\Component\Console\Application->doRunCommand() at /usr/share/php/Symfony/Component/Console/Application.php:301
 Symfony\Component\Console\Application->doRun() at /usr/share/php/Composer/Console/Application.php:377
 Composer\Console\Application->doRun() at /usr/share/php/Symfony/Component/Console/Application.php:171
 Symfony\Component\Console\Application->run() at /usr/share/php/Composer/Console/Application.php:141
 Composer\Console\Application->run() at /usr/bin/composer:89

require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] [<packages>...]

Before I dig further, has anybody tried this on Debian 12 + their RC release? Otherwise, how hard would it be to build a plugin release tarball? I can contribute a bit of dev & testing :-)

damnms commented 9 months ago

just looking for some sort of solution to get calendar and contacts working in roundcube. i dont want to install composer on my production server, would be awesome to have some kind of plugin!