Roundcube Community Forum

Third Party Contributions => API Based Plugins => Topic started by: Willy Gardiol on December 15, 2016, 03:14:14 AM

Title: nextcloud/owncloud
Post by: Willy Gardiol on December 15, 2016, 03:14:14 AM
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?
Title: Re: nextcloud/owncloud
Post by: SKaero on December 15, 2016, 04:38:59 AM
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.
Title: Re: nextcloud/owncloud
Post by: Willy Gardiol on December 15, 2016, 05:43:17 AM

Yes i am usong the old format...
How do i upgrade?
Title: Re: nextcloud/owncloud
Post by: Willy Gardiol on December 15, 2016, 07:06:55 AM

I correct myself... my config ALREADY uses the $config just the plugin uses $rcmail_config ...
Title: Re: nextcloud/owncloud
Post by: SKaero on December 15, 2016, 10:46:45 AM
Try using $config, if the plugin is using the Roundcube config functions it will no longer read $rcmail_config.
Title: Re: nextcloud/owncloud
Post by: Willy Gardiol on December 16, 2016, 01:43:01 AM
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.