Roundcube Community Forum

 

nextcloud/owncloud

Started by Willy Gardiol, December 15, 2016, 03:14:14 AM

Previous topic - Next topic

Willy Gardiol

Hi!
i am trying to play with the melanie2/owncloud plugin.... i have addeed the proper DES key both to owncloud and roundcube... but i am a bit at a loss on how to setup the cloud URL in the config file...

My URLs are:
https://wm.domain.com (roundcube)
and:
http(s)://cld.domain.com (nextcloud, i mean it is both on http AND https)

Same domain, just different 3rd level domain.

In the config file i tried:

$rcmail_config['owncloud_url'] = 'http://cld.domain.com';


but nothing seems to be working...

Then i tried a ProxyPass in apache adding this:

ProxyPass /cloud/ http://cld.domain.com/
ProxyPassReverse /cloud/ http://cld.domain.com/


and modified the URL in che config file to:

$rcmail_config['owncloud_url'] = 'cloud';


But still nothing... even no errors.

What i am doing wrong?

SKaero

I don't know about the nextcloud/owncloud plugin but one thing I can suggest is that you check the Roundcube version, in current versions of Roundcube the config file uses the variable $config not $rcmail_config. If you are using a old version that is still using $rcmail_config I'd suggest upgrading.

Willy Gardiol


Yes i am usong the old format...
How do i upgrade?

Willy Gardiol


I correct myself... my config ALREADY uses the $config just the plugin uses $rcmail_config ...

SKaero

Try using $config, if the plugin is using the Roundcube config functions it will no longer read $rcmail_config.

Willy Gardiol

I believe the plugin is still using the old format, since it can read the variables. But i am giving up anyway, since it seems to be broken beside my efforts due to the nature of the task.