Nothing bad should happen.
Tell us what happens instead
Operating system:
Ubuntu 16.04.3-32bit
Web server:
Apache/2.4.18 (Ubuntu)
Database:
mysql Ver 14.14 Distrib 5.7.20
PHP version:
PHP 7.0.22-0ubuntu0.16.04.1
Nextcloud version: (see Nextcloud admin page)
v12
Updated from an older Nextcloud/ownCloud or fresh install:
Yes
I think the other information is not necessary because my server is in data surveillance which can't visit google.com or nextcloud.com.
Error | internet_connection_check | GuzzleHttp\Exception\ConnectException:聽cURL error 7: Failed to connect to www.google.com port 80: Connection timed out | 2017-11-06T14:20:02+0800
-- | -- | -- | --
Error | internet_connection_check | GuzzleHttp\Exception\RequestException:聽cURL error 56: Recv failure: Connection timed out | 2017-11-06T14:17:51+0800
Error | internet_connection_check | GuzzleHttp\Exception\ConnectException:聽cURL error 7: Failed to connect to www.google.com port 80: Connection timed out | 2017-11-06T14:15:52+0800
Error | internet_connection_check | GuzzleHttp\Exception\RequestException:聽cURL error 18: transfer closed with 26715 bytes remaining to read | 2017-11-06T14:13:41+0800
Error | internet_connection_check | GuzzleHttp\Exception\ConnectException:聽cURL error 7: Failed to connect to www.google.com port 80: Connection timed out | 2017-11-06T14:11:10+0800
Error | internet_connection_check | GuzzleHttp\Exception\ConnectException:聽cURL error 7: Failed to connect to www.nextcloud.com port 80: Connection timed out | 2017-11-06T14:08:52+0800
-- | -- | -- | --
Error | internet_connection_check | GuzzleHttp\Exception\ConnectException:聽cURL error 7: Failed to connect to www.nextcloud.com port 80: Connection timed out | 2017-11-06T14:08:52+0800
Error | internet_connection_check | GuzzleHttp\Exception\ConnectException:聽cURL error 7: Failed to connect to www.nextcloud.com port 80: Connection timed out | 2017-11-06T14:08:50+0800
Are there any ways to turn this off? My server doesn't need to check whether the internet is avaliable or not because it is used for only LAN user.
Add 'has_internet_connection' => false, to your config/config.php and see if the problem persists.
For more config.php-foo check the manual:
https://docs.nextcloud.com/server/12/admin_manual/configuration_server/config_sample_php_parameters.html
Thank you @sf-janz
Most helpful comment
Add
'has_internet_connection' => false,to your config/config.php and see if the problem persists.For more config.php-foo check the manual:
https://docs.nextcloud.com/server/12/admin_manual/configuration_server/config_sample_php_parameters.html