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
  • Brite
  • 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 - Status | 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 1.0k 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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        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