Installing plugin with dependencies fails
-
Hello!
I am trying to install the carddav plugin for Roundcube, but this fails because the plugin requires separate dependencies.
I got it working by manually installing these dependencies in the plugin directory. This at first also failed, because composer requires a lot of RAM for its dependency resolutions mechanism.
So the full steps to do this in full were:
- Increase memory in app settings (I tried with 2GB)
- Open the terminal and run:
cd /app/data/plugins/carddav && composer install --no-dev --optimize
- Update the
/app/data/customconfig.php
file (as listed in de docs) - Decrease memory
Afterwards, this worked fine.
So I suggest adding a little bit of documentation to the Roundcube documentation page listing this.
I had the benefit of having year of professional experience in PHP development to figure this out, but not every user might.
Thank you for your great work. I've been a happy user of Cloudron for years now!
-
@jk Thanks, I have put the note at https://docs.cloudron.io/apps/roundcube/#plugins.