Skip to content
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

[NC22]occ circles:check fails to determine loopback address #725

Closed
aleadco opened this issue Jul 21, 2021 · 7 comments
Closed

[NC22]occ circles:check fails to determine loopback address #725

aleadco opened this issue Jul 21, 2021 · 7 comments

Comments

@aleadco
Copy link

aleadco commented Jul 21, 2021

How to use GitHub

After upgrading to NC22 occ circles:check fails to determine loopback address

Steps to reproduce

sudo -u www-data php /var/www/nextcloud/occ circles:check
Post method check failed

### Checking loopback address.
. The loopback setting is mandatory and can be checked locally.
. The address you need to define here must be a reachable url of your Nextcloud from the hosting server itself.
. By default, the App will use the entry 'overwrite.cli.url' from 'config/config.php'.

* testing current address: https://example.com
- GET request on https://example.com/index.php/csrftoken: 200
- POST request on https://example.com/index.php/apps/circles/async/test-dummy-token/: fail

- You do not have a valid loopback address setup right now.

Server configuration

Operating system: Ubuntu 18.04

Web server: Apache2

Database: Mariadb 10.6.3

PHP version: 7.4.20

Nextcloud version: NC22

Where did you install Nextcloud from: tar

@szaimen szaimen transferred this issue from nextcloud/server Jul 21, 2021
@Henk57
Copy link

Henk57 commented Jul 31, 2021

Same issue with my NC22 install.
Could this be related to the login 'server error' when activating Deck?

@smyds
Copy link

smyds commented Aug 24, 2021

Having the same problem. After some debugging I found that the request failed with a timeout at 5 seconds. However I did a tcpdump capture and the response seems to arrive but always a bit later than 5 seconds.

@smyds
Copy link

smyds commented Aug 24, 2021

Yep, changing the sleep on this line to something smaller than 5 will cause occ circles:check to succeed.

@SitalexUniversel
Copy link

SitalexUniversel commented Oct 5, 2021

circles не работают
circles not work
Deleting circles fail

occ circles:check fails

Два шага.

Шаг первый:
мой вариант:
'overwrite.cli.url' => 'https://your-server.ru/nextcloud/',

Шаг второй:
проверьте как отзывается ваш сервер
ping your-server.ru

ответ должен быть:
your-server.ru (ваш ip) , если это не так, тогда изменить /etc/hosts
127.0.0.1 localhost
xxx.xxx.xxx.xxx your-server.ru

xxx.xxx.xxx.xxx --- это ваш ip.

Если не появились опубликованные ресурсы, то необходимо, удалить и ввести вновь участников в круг.

@patzm
Copy link

patzm commented Oct 6, 2021

??? English please?

@SitalexUniversel
Copy link

SitalexUniversel commented Oct 8, 2021 via email

@joshtrichards
Copy link
Member

Fixed in #811

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

No branches or pull requests

6 participants