Nextcloud version : 15.0.4
Operating system and version : Debian 9 (vhost Gandi)
Apache or nginx version : nginx 1.10.3
php version : 7.2.15
Install via docker-compose with wonderfall image (using redis, mariadb)
In Administration > Overview i get
This server has no working Internet connection: Multiple endpoints could not be reached. This means that some of the features like mounting external storage, notifications about updates or installation of third-party apps will not work. Accessing files remotely and sending of notification emails might not work, either. Establish a connection from this server to the Internet to enjoy all features.
I think itās since nextcloud 15 update, but iām not sure.
The output of my Nextcloud log in Admin > Logging:
[internet_connection_check] Error: GuzzleHttp\Exception\ConnectException: cURL error 6: Could not resolve host: www.nextcloud.com (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) at <<closure>>
0. /nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php line 149
createRejection(GuzzleHttp\Handl ... l}, {errno: 6,error: ... 0})
1. /nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php line 102
finishError(GuzzleHttp\Handler\CurlHandler {}, GuzzleHttp\Handl ... l}, GuzzleHttp\Handler\CurlFactory {})
2. /nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlHandler.php line 43
finish(GuzzleHttp\Handler\CurlHandler {}, GuzzleHttp\Handl ... l}, GuzzleHttp\Handler\CurlFactory {})
3. /nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/Proxy.php line 28
__invoke("*** sensitive parameter replaced ***", "*** sensitive parameter replaced ***")
4. /nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/Proxy.php line 51
GuzzleHttp\Handler\{closure}("*** sensitive parameters replaced ***")
5. /nextcloud/3rdparty/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php line 37
GuzzleHttp\Handler\{closure}("*** sensitive parameters replaced ***")
6. /nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php line 30
__invoke("*** sensitive parameter replaced ***", "*** sensitive parameter replaced ***")
7. /nextcloud/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php line 70
GuzzleHttp\{closure}("*** sensitive parameters replaced ***")
8. /nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php line 60
__invoke("*** sensitive parameter replaced ***", "*** sensitive parameter replaced ***")
9. /nextcloud/3rdparty/guzzlehttp/guzzle/src/HandlerStack.php line 67
GuzzleHttp\{closure}("*** sensitive parameters replaced ***")
10. /nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php line 277
__invoke("*** sensitive parameter replaced ***", "*** sensitive parameter replaced ***")
11. /nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php line 125
transfer("*** sensitive parameter replaced ***", "*** sensitive parameter replaced ***")
12. /nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php line 131
requestAsync("get", GuzzleHttp\Psr7\Uri {}, {verify: "/data/ ... }})
13. /nextcloud/lib/private/Http/Client/Client.php line 161
request("get", "http://www.nextcloud.com/", {verify: "/data/ ... e})
14. /nextcloud/settings/Controller/CheckSetupController.php line 157
get("http://www.nextcloud.com/")
15. /nextcloud/settings/Controller/CheckSetupController.php line 140
isSiteReachable("www.nextcloud.com")
16. /nextcloud/settings/Controller/CheckSetupController.php line 656
isInternetConnectionWorking()
17. /nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 166
check()
18. /nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 99
executeController(OC\Settings\Cont ... {}, "check")
19. /nextcloud/lib/private/AppFramework/App.php line 118
dispatch(OC\Settings\Cont ... {}, "check")
20. /nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php line 47
main("OC\\Settings\\C ... r", "check", OC\AppFramework\ ... {}, {_route: "settings.CheckSetup.check"})
21. <<closure>>
__invoke({_route: "settings.CheckSetup.check"})
22. /nextcloud/lib/private/Route/Router.php line 297
call_user_func(OC\AppFramework\ ... {}, {_route: "settings.CheckSetup.check"})
23. /nextcloud/lib/base.php line 987
match("/settings/ajax/checksetup")
24. /nextcloud/index.php line 42
handleRequest()
GET /settings/ajax/checksetup
The output of my config.php file in /path/to/nextcloud
/ # cat nextcloud/config/config.php
<?php
$CONFIG = array (
'datadirectory' => '/data',
'apps_paths' =>
array (
0 =>
array (
'path' => '/nextcloud/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/apps2',
'url' => '/apps2',
'writable' => true,
),
),
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'memcache.local' => '\\OC\\Memcache\\APCu',
'redis' =>
array (
'host' => 'redisnext',
'port' => 6379,
),
'instanceid' => 'an_id',
'mail_from_address' => 'contact',
'logtimezone' => 'Etc/UTC',
'logdateformat' => 'Y-m-d H:i:s',
'passwordsalt' => 'a_salt',
'secret' => 'a_secret',
'trusted_domains' =>
array (
0 => 'nextcloud.mydomain.end',
1 => 'othersoft.mydomain.end',
),
'overwrite.cli.url' => 'https://nextcloud.mydomain.end',
'dbtype' => 'mysql',
'version' => '15.0.4.0',
'dbname' => 'dbnext',
'dbhost' => 'databasenext',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextclouduser',
'dbpassword' => 'a_password',
'installed' => true,
'maintenance' => false,
'mail_smtpmode' => 'smtp',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpsecure' => 'ssl',
'mail_smtpauth' => 1,
'mail_smtphost' => 'mail.mymail.net',
'mail_domain' => 'mydomain.end',
'mail_smtpname' => 'contact@mydomain.end',
'mail_smtppassword' => 'a_password',
'theme' => '',
'loglevel' => 0,
'user_backends' =>
array (
0 =>
array (
'class' => 'OC_User_IMAP',
'arguments' =>
array (
0 => '{mail.mymail.net:143/imap}',
1 => 'mydomain.end',
),
),
),
'mail_smtpport' => '465',
'trusted_proxies' =>
array (
0 => '172.19.0.1',
),
);
There is nothing in nginx log.
My vhost.conf for nginx"s sites-enabled is
upstream nextcloud {
server 127.0.0.1:8888;
}
server {
listen 80;
server_name nextcloud.mydomain.end;
location /.well-known {
alias /var/www/nextcloud.mydomain.end/.well-known;
}
location / {
rewrite ^/(.*)$ https://$host/$1 permanent;
}
}
server {
listen 443 ssl;
server_name nextcloud.mydomain.end;
proxy_read_timeout 720s;
proxy_connect_timeout 720s;
proxy_send_timeout 720s;
# Add Headers for odoo proxy mode
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
# Upload limit and security
client_max_body_size 10000m;
server_tokens off;
# SSL parameters
ssl on;
ssl_certificate /etc/letsencrypt/live/nextcloud.mydomain.end/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/nextcloud.mydomain.end/privkey.pem;
ssl_session_timeout 30m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers 'CIP-HERS';
ssl_prefer_server_ciphers on;
# log
access_log /var/log/nginx/nextcloud.access.log;
error_log /var/log/nginx/nextcloud.error.log;
# Redirect requests to nextcloud backend server
location / {
proxy_redirect off;
proxy_pass http://nextcloud;
}
rewrite ^/.well-known/webfinger /public.php?service=webfinger last;
location /.well-known/carddav {
return 301 $scheme://$host/remote.php/dav;
}
location /.well-known/caldav {
return 301 $scheme://$host/remote.php/dav;
}
# common gzip
gzip_types text/css text/less text/plain text/xml application/xml application/json application/javascript;
gzip on;
}
Hope itās something obvious for you peopleā¦
thanks a lot