Raincube plugins

These were fun to learn. I am running Raincube on docker mostly for the experience and webdav abilities. The dav plugins are installed manually. I first mapped a volume to /var/www/html/plugins and ran a git clone for both utilities into that dir.

The plugins in question are carddav and caldav

I cloned into the volumes from the docker host, and then owned them to the same as the rest of the mounted container.

git clone https://github.com/blind-coder/rcmcarddav.git carddav

Once cloned, you need to get it installed. It uses php composer, which I think needs to be built in each plugin. I docker exec'd into the container and ran the rest from inside the container.

docker exec -it cube /bin/bash
cd /var/www/html/plugins/carddav
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('SHA384', 'composer-setup.php') === '93b54496392c062774670ac18b134c3b3a95e5a5e5c8f1a9f115f203b75bf9a129d5daa8ba6a13e2cc8a1da0806388a8') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"

Once installed, execute it.

php composer.phar install

Do this for each, and reboot the container after to load them properly.

Back to top