Unable to update Nextcloud or to install apps

Nextcloud version: 18.0.0
Operating system and version : ? running NC on a Synology DiscStation
Apache or nginx version : ?
PHP version : 7.2

The issue you are facing:
Nextcloud ist working fine, I can access data via webdav from inside WLAN and from outside via DNS too. (Sorry for my english)
But my NC ist still von version 18.0.0 and I don’t see any update and I get the following error message:

"
Dieser Server hat keine funktionierende Internetverbindung: Mehrere Ziele konnten nicht erreicht werden. Dies bedeutet, dass einige Funktionen, wie das Einhängen externen Speicher, Benachrichtigungen über Updates oder die Installation von Drittanbieter-Apps nicht funktionieren. Der Zugriff auf entfernte Dateien und das Senden von E-Mail-Benachrichtigungen wird wahrscheinlich ebenfalls nicht funktionieren. Um alle Funktionen nutzen zu können, stelle eine Internet-Verbindung für diesen Server her."

And in the apps menu I can’t install any apps.

Is this the first time you’ve seen this error?: Yes, beacuse I looked at it various time without knowing what to do. At first it didn’t bother me, because webdav-acces is working, but now I would like to install some other apps.

The output of your Nextcloud log in Admin > Logging:
I don’t know how to do that.

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):
I don’t know how to access /path… on my synology

The output of your Apache/nginx/system log in /var/log/____:
?

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

?

Your Synology DiscStation needs access to the internet.
Do you have shell access to the DiscStation?
Test e.g. Google server:

traceroute 8.8.8.8
ping 8.8.8.8

You need a lot of upgrades. Perhaps you can better re-install the newest Nextcloud version.

Traceroute:
$ traceroute 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets
1 o2.box (192.168.1.1) 0.414 ms 0.530 ms 0.659 ms
2 loopback1.0001.acln.02.dus.de.net.telefonica. de (62.52.200.184) 26.159 ms 27.366 ms 28.369 ms
3 ae14-0.0001.dbrx.02.dus.de.net.telefonica. de (62.53.5.36) 31.904 ms ae14-0.0002.dbrx.02.dus.de.net.telefonica. de (62.53.5.38) 29.952 ms 30.941 ms
4 ae3-0.0002.corx.01.dus.de.net.telefonica. de (62.53.0.12) 41.058 ms ae1-0.0002.corx.01.dus.de.net.telefonica. de (62.53.0.10) 45.633 ms ae3-0.0002.corx.02.dus.de.net.telefonica. de (62.53.0.28) 36.491 ms
5 ae11-0.0001.corx.04.muc.de.net.telefonica. de (62.53.5.111) 56.012 ms ae12-0.0001.corx.06.ham.de.net.telefonica. de (62.53.0.16) 44.894 ms ae12-0.0002.corx.01.ham.de.net.telefonica. de (62.53.0.0) 45.527 ms
6 bundle-ether2.0002.dbrx.06.ham.de.net.telefonica. de (62.53.14.67) 46.161 ms bundle-ether24.0005.dbrx.01.muc.de.net.telefonica. de (62.53.2.131) 42.772 ms bundle-ether5.0002.dbrx.04.muc.de.net.telefonica. de (62.53.5.67) 42.825 ms
7 bundle-ether1.0001.prrx.06.ham.de.net.telefonica. de (62.53.2.91) 43.847 ms ae1-0.0001.prrx.01.muc.de.net.telefonica. de (62.53.13.85) 42.231 ms bundle-ether1.0004.prrx.02.fra.de.net.telefonica. de (62.53.8.187) 33.815 ms
8 74.125.48.102 (74.125.48.102) 35.649 ms 72.14.219.226 (72.14.219.226) 46.703 ms 74.125.48.102 (74.125.48.102) 37.610 ms
9 * * *
10 216.239.63.96 (216.239.63.96) 51.984 ms dns.google (8.8.8.8) 44.651 ms 49.769 ms

ping:
$ ping 8.8.8.8
ping: socket: Operation not permitted
ping: socket: Operation not permitted

Might be a good idea, but I need it for work and it was quite tricky setting it up and I don’t remember where I got the instructions from, so that will have to wait till my next holidays…

Although that probably wouldn’t solve the problem that I can’t do any updates at all. I can’t reinstall everytime there is an update :slight_smile:

traceroute to Google works.

You server uses php-curl and outgoing port 443 e.g. to https://apps.nextcloud.com. Do you use a firewall? Is php-curl installed?

You find e.g. in this link needed packages. The can differ from your installation.

curl ist activated in the php7.2 profile which the apache HTTP server uses.
When I get it right port forwarding for Port 443 ist permitted too.

Can you find some information in your webserver logs?

Sorry, I don’t know how to find my webserver logs. I’m kind of a newbie…

Because it is a Synology DiscStation i do not know it.
But normally under /var/log/apache2 for an apache2 webserver.
Search unter /var and /var/log.

You should improve your linux knowledge a lot. You may otherwise lose highly important data forever in the event of an error. Make backups of all data.

It seems there was a problem with an expired certificate. The error message is gone. I can install apps now.

The second problem persists: My Nextcloud tells me that version 18.0.0. is the current, which is obviously wrong.

Maybe I should, but I don’t have the time for that: two kids, two jobs… That’s what I have the DiscStation and the nextcloud for: Important data is backuped on PC, NC, USB and external HDD (although the last one isn’t done as regularly as it should…)

The advantage of Synology DiscStation is, that you normally don’t have to do anything via shell etc. Nice click and point GUI. And it worked. Until the certificate expired.

Retried ping with su:

ash-4.3# ping 8.8.8.8 -c 5
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=114 time=34.6 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=114 time=35.2 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=114 time=34.6 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=114 time=35.3 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=114 time=34.9 ms

— 8.8.8.8 ping statistics —
5 packets transmitted, 5 received, 0% packet loss, time 4006ms
rtt min/avg/max/mdev = 34.664/34.974/35.376/0.327 ms

Internet works and with the certificate you can install apps.

Unfortunately I do not have a solution for this. What is certain is that Nextcloud 18 has not been supported for more than a year. Nextcloud should have offered you an update more than a year ago.

Perhaps you can change the “channel” from “stable” to “beta” and then you get the possibilty for an update. Bu i do not know if it works with Nextcloud 19. Also you will probably get more problems towards Nextcloud 23. Make a backup.

Dieser Server hat keine funktionierende Internetverbindung: Mehrere Ziele konnten nicht erreicht werden.

Dies bedeutet, dass einige Funktionen, wie das Einhängen externen Speicher, Benachrichtigungen über Updates oder die Installation von Drittanbieter-Apps nicht funktionieren.

Der Zugriff auf entfernte Dateien und das Senden von E-Mail-Benachrichtigungen wird wahrscheinlich ebenfalls nicht funktionieren. Um alle Funktionen nutzen zu können, stelle eine Internet-Verbindung für diesen Server her.

English:
this server has no working internet connection: several targets could not be reached.

this means that some features such as hanging external storage, notifications about updates or installing third-party apps do not work.

the access to remote files and sending email alerts will probably also not work. to use all functions, create an Internet connection for this server.

I have this same issue. Can’t find a solution to it… :frowning_face: