1

Topic: Roundcube plugins

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
iRedMail     v0.9.7
iRedAdmin     v0.8
====

Quick question: I notice roundcube has a plugin system. The composer.json file seems to be present in the installation folder. However, the steps outlined by roundcube do not work to install plugins.

Are Roundcube plugins supported in an iRedMail installation? If so, how is this handled? I cannot find documentation about this.

Thanks

Marco

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Roundcube plugins

Marco2G wrote:

However, the steps outlined by roundcube do not work to install plugins.

What did you do? any error message you got?

iRedMail does "standard" installation for Roundcube, if something works for Roundcube, it should work for the Roundcube deployed by iRedMail.

3

Re: Roundcube plugins

I tried using "composer require".

The program 'composer' is currently not installed. You can install it by typing:
sudo apt install composer

I then went with:

$curl -s https://getcomposer.org/installer | php
PHP Warning:  phpinfo() has been disabled for security reasons in - on line 371
All settings correct for using Composer
The installation directory "/opt/www/roundcubemail-1.3.0" is not writable

Another howto says to rename composer.json-dist and then run
$php composer.phar install
but composer.phar is nowhere to be found.

4

Re: Roundcube plugins

You can try to do this as root user. Also, the error message is clear:

Marco2G wrote:

PHP Warning:  phpinfo() has been disabled for security reasons in - on line 371
...
The installation directory "/opt/www/roundcubemail-1.3.0" is not writable

5 (edited by Marco2G 2018-10-10 16:03:24)

Re: Roundcube plugins

Well, after lot's of access and ownership manipulation, I got the plugin installer to do something.

Of course now the roundcube web frontend is no longer working so yay.

What's the best way to get roundcube back to the way it was from the installation?

6

Re: Roundcube plugins

It depends on what changes you have made.

You can set ownership of roundcube to root and inside of it logs and temp folder rights to nginx / apache.

config.inc.php file should also need permission to nginx / apache only 0600.

Provide more logs or errors that you are facing.

7

Re: Roundcube plugins

Thank you, that did it!

I'll take a snapshot of the machine before I screw it up the next time, promise! big_smile