Author Topic: nextcloud/owncloud  (Read 6173 times)

Offline Willy Gardiol

  • Jr. Member
  • **
  • Posts: 11
nextcloud/owncloud
« 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:
Code: [Select]
$rcmail_config['owncloud_url'] = 'http://cld.domain.com';

but nothing seems to be working...

Then i tried a ProxyPass in apache adding this:
Code: [Select]
ProxyPass /cloud/ http://cld.domain.com/
ProxyPassReverse /cloud/ http://cld.domain.com/

and modified the URL in che config file to:
Code: [Select]
$rcmail_config['owncloud_url'] = 'cloud';

But still nothing... even no errors.

What i am doing wrong?
« Last Edit: December 15, 2016, 03:27:24 AM by Willy Gardiol »

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: nextcloud/owncloud
« Reply #1 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.

Offline Willy Gardiol

  • Jr. Member
  • **
  • Posts: 11
Re: nextcloud/owncloud
« Reply #2 on: December 15, 2016, 05:43:17 AM »

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

Offline Willy Gardiol

  • Jr. Member
  • **
  • Posts: 11
Re: nextcloud/owncloud
« Reply #3 on: December 15, 2016, 07:06:55 AM »

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

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: nextcloud/owncloud
« Reply #4 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.

Offline Willy Gardiol

  • Jr. Member
  • **
  • Posts: 11
Re: nextcloud/owncloud
« Reply #5 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.