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:
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.