Internet connection not recognized

A better handling will be implemented in NC 11 (https://github.com/nextcloud/server/issues/1118#issuecomment-243085757) which is currently available as beta version to test:
Two reasons why you should test Nextcloud 11 Beta this weekend!

Can someone test and report if there is still an issue with that. If yes, please open a bug report on github.com/nextcloud/server/issues

I have this problem with nc 11. Upgraded from 9 to 10 to 11. Using php 7.0.14 as FPM module on ubuntu 14.

Not sure about that, FPM configuration on apache is known to be a bit tricky. I haven’t done that so far, often it comes with some managing software and special setups that might cause problems.

To investigate further, it’s probably better to open a new issue on the bugtracker on provide all information about your setup.

I having the same issue on NC11 with Nginx.

We solved the problem because curl_exec was disabled via php.ini …
So no curl, no internet

I just experienced this when Nextcloud 12 came out. I had to append my server’s letsencrypt certificate /etc/letsencrypt/live/cloud.[domain].com/fullchain.pem onto [nextcloud dir]/resources/config/ca-bundle.crt. Then the error message went away and I could see upgrades, etc.

I’m using the official Nextcloud Docker image, if that matters.

Hopefully this helps somebody out there…

1 Like

hi koehn, what do you mean by “append” the letsencrypt certificate? i am experiencing the same issue.
would be thankful for your help!

I haven’t needed this hack for a while, but I just had to cat /etc/letsencrypt/live/[domain]/fullchain.pem >> [nextcloud dir]/resources/config/ca-bundle.crt . I don’t have it in there anymore, but it did fix the problem at the time. I’m sure it was just an old ca-bundle.crt file that was the root cause. The one in my current install is 261889 bytes long; yours should be at least as big; copy the one from the current install if you need to.

2 Likes

mine ca-bundle.crt file is exactly the same size at [nextcloud dir]/resources/config/ca-bundle.crt.
But I do not have this directory: /etc/letsencrypt/live/[domain]/fullchain.pem. I only got /etc/fonts oder /ectc/pki and somer other files like: resolve.conf, group,localtime etc.

Exactly what was needed here as well. Now I wonder if I’ll have to update that every time the local certificate is updated?

Normally, the intermediate certificates shouldn’t change that often, so you don’t have to do it every time (if you analyze your ssl settings on ssllabs.com, you can also see the whole certificate chain and when they expire, or use your browser).

Can you please describe where this php.ini file is located in FreeNAS? and was your error: “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.” ?

what was your fix for this?

hey,
I am not sure anymore how I fixed this. But as far as I know, I had to change some php-settings on the settings page of my webhosting service. There were a setting called “disable functions” and I had to choose the rihe right one to enable it.

Hello,

I have this on logs:
Error internet_connection_check GuzzleHttp\Exception\RequestException: cURL error 60: SSL certificate problem: certificate is not yet valid

Nextcloud 13 installed on Open Media Vault 3.0.97.

Thank you.
Best regards,

Did you check the time on your server? That often happens when the system is restarted and the battery for the internal clock is empty.

1 Like

Than you for your reply.
The time wasn’t good and I didn’t see that OMG :laughing:.

So I configure ntp file /etc/ntp.conf and do this:

sudo service ntp stop # or systemctl stop ntp
sudo echo server 0.fr.pool.ntp.org >> /etc/ntp.conf
sudo echo server 1.fr.pool.ntp.org >> /etc/ntp.conf
sudo echo server 2.fr.pool.ntp.org >> /etc/ntp.conf
sudo echo server 3.fr.pool.ntp.org >> /etc/ntp.conf
sudo ntpd -gq
sudo service ntp start # or systemctl start ntp

It’s looks OK.
Thank you very munch for your reply!

A post was split to a new topic: No internet connection on FreeNAS

Sorry, this was a rather confusion topic with many different reasons for the missing internet connection. There were some issues addressed in the server code. So I’m closing this topic. If you still have such an error, please open a new topic. It’s better to keep a topic to one specific problem.