Skip to content

Nextcloud 19 compatibility #293

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ntimo opened this issue Jun 3, 2020 · 8 comments
Closed

Nextcloud 19 compatibility #293

ntimo opened this issue Jun 3, 2020 · 8 comments
Labels
enhancement New feature or request

Comments

@ntimo
Copy link

ntimo commented Jun 3, 2020

Steps to reproduce

  1. Update to Nextcloud 19
  2. Go to Settings --> Apps
  3. The app is deactivated because it does not Support Nextcloud 19

Expected behaviour

The app should support Nextcloud 19

Actual behaviour

It only supports Nextcloud 18

Server configuration

Nextcloud version: 19.0.0

Where did you install Nextcloud from:
self build nextcloud 19 docker image

@HLFH
Copy link

HLFH commented Jun 5, 2020

Fixed in this PR: #294

@tufand
Copy link

tufand commented Jun 5, 2020

Error when trying to connect (Host violates local access rules)✖

@y0grt
Copy link

y0grt commented Jun 6, 2020

I'm experiencing the same issue:
Error when trying to connect (Host violates local access rules)

@y0grt
Copy link

y0grt commented Jun 6, 2020

https://github.com/nextcloud/server/blob/dba76c04bba910c3c6f1dec4f3eba6416ec3378d/lib/private/Http/Client/Client.php#L154-158
This was added in 19 update.

Solved adding this to config.php:

'allow_local_remote_servers' => true,

@HLFH
Copy link

HLFH commented Jun 8, 2020

New release compatible with NC 19. https://github.com/ONLYOFFICE/onlyoffice-nextcloud/releases/tag/v4.2.0 Close this issue?

@ntimo ntimo closed this as completed Jun 8, 2020
@tufand
Copy link

tufand commented Jun 9, 2020

https://github.com/nextcloud/server/blob/dba76c04bba910c3c6f1dec4f3eba6416ec3378d/lib/private/Http/Client/Client.php#L154-158
This was added in 19 update.

Solved adding this to config.php:

'allow_local_remote_servers' => true,

Thanks for comment. (y)

@LinneyS LinneyS added the enhancement New feature or request label Jun 11, 2020
@niziak
Copy link

niziak commented Nov 26, 2020

Or using OCC: config:system:set allow_local_remote_servers --value true --type bool

@ant0nwax
Copy link

ant0nwax commented Mar 4, 2022

Thanks for the comment with
'allow_local_remote_servers' => true,

i added this to
/var/www/html/nextcloud/config/config.php
on the nextcolud server

@ShockwaveNN i made it until here and this is the solution for the issue
ONLYOFFICE/DocumentServer#1659

i wonder if the documentation shall be adjusted on the Nextcloud AND on the ONLYOFFICE side
that is just my recommendation because I am not aware about how you guys integrate the two apps together
i would say because my construction is

  • LOCAL nextcloud server subdomain1.domain1.tld1
  • LOCAL onlyoffice server subdomain2.domain2.tld2
  • LOCAL webserver reverse proxy who servers both domain1 and doain2 inside the same webserver :)

please treat me like a unexperienced webservices integrator :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

7 participants