Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Roundcube
  3. Installing plugin with dependencies fails

Installing plugin with dependencies fails

Scheduled Pinned Locked Moved Roundcube
3 Posts 2 Posters 583 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jk
    wrote on last edited by
    #1

    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!

    girishG 1 Reply Last reply
    0
    • J jk

      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!

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @jk Thanks, I have put the note at https://docs.cloudron.io/apps/roundcube/#plugins.

      J 1 Reply Last reply
      0
      • girishG girish

        @jk Thanks, I have put the note at https://docs.cloudron.io/apps/roundcube/#plugins.

        J Offline
        J Offline
        jk
        wrote on last edited by
        #3

        Wow, that was fast! Thank you.

        One small nit: I would add that the composer command needs to be run from within the plugin installation directory.

        I also forgot one step:

        chown -R www-data: ., also in the plugin installation directory.

        1 Reply Last reply
        1
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Bookmarks
        • Search