KB450004 – Getting rid of Nextcloud 10 “No working internet” false error

Last modified: February 25, 2019
You are here:
Estimated reading time: < 1 min

This guide is for getting the following error on the Nextcloud admin page despite having working internet access:

“This server has no working Internet connection. 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. We suggest to enable Internet connection for this server if you want to have all features.”

Make sure nano is installed and issue the following command:

nano /usr/pbi/nextcloud-amd64/www/nextcloud/settings/Controller/CheckSetupController.php

 

Find the isInternetConnectionWorking() function.

Change ā€œcatch (\Exception $eā€) to return true instead of false.

Save the file and restart apache:

service apache24 stop

service apache24 start

Refresh the Nextcloud admin page.

Was this article helpful?
Dislike 0
Views: 22