This site can’t be reached how to fix?

Nextcloud version (eg, 18.0.2): 19.0.0.12
Operating system and version (eg, Ubuntu 20.04): Ubuntu Server 20.04 LTS
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.41 (Ubuntu)
PHP version (eg, 7.1): PHP 7.4.3 (cli)

The issue you are facing:
My site just crashed and now shows

This site can’t be reached

The webpage at https://cloud.sturtz.ml/ might be temporarily down or it may have moved permanently to a new web address.

ERR_TUNNEL_CONNECTION_FAILED

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Goto https://cloud.sturtz.ml

The output of your Nextcloud log in Admin > Logging:

{"reqId":"rAIBn7AQy0eor11w3X18","level":3,"time":"2020-07-13T00:01:59+00:00","remoteAddr":"2604:99c0:8:2f60:7d54:86cb:e27c:557f","user":"nsturtz","app":"index","method":"GET","url":"/index.php/apps/theming/img/core/filetypes/folder.svg?v=0","message":{"Exception":"OCP\\Files\\NotPermittedException","Message":"Could not create folder","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Files/AppData/AppData.php","line":157,"function":"newFolder","class":"OC\\Files\\Node\\Folder","type":"->"},{"file":"/var/www/nextcloud/apps/theming/lib/ImageManager.php","line":159,"function":"newFolder","class":"OC\\Files\\AppData\\AppData","type":"->"},{"file":"/var/www/nextcloud/apps/theming/lib/ImageManager.php","line":174,"function":"getCacheFolder","class":"OCA\\Theming\\ImageManager","type":"->"},{"file":"/var/www/nextcloud/apps/theming/lib/Controller/IconController.php","line":91,"function":"getCachedImage","class":"OCA\\Theming\\ImageManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":170,"function":"getThemedIcon","class":"OCA\\Theming\\Controller\\IconController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":100,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":137,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":297,"function":"call_user_func"},{"file":"/var/www/nextcloud/lib/base.php","line":1007,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":37,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/Files/Node/Folder.php","Line":165,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36","version":"19.0.0.12"}

Full text
https://static.sturtz.ml/nextcloud.log

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => '__REMOVED__',
  'passwordsalt' => '__REMOVED__',
  'secret' => '__REMOVED__',
  'trusted_domains' => 
  array (
    0 => 'cloud.sturtz.ml',
  ),
  'datadirectory' => '__REMOVED__',
  'dbtype' => 'mysql',
  'version' => '19.0.0.12',
  'overwrite.cli.url' => 'https://cloud.sturtz.ml',
  'dbname' => '__REMOVED__',
  'dbhost' => '__REMOVED__',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => '__REMOVED__',
  'dbpassword' => '__REMOVED__',
  'installed' => true,
  'app_install_overwrite' => 
  array (
    0 => 'socialsharing_twitter',
    1 => 'socialsharing_email',
    2 => 'registration',
    3 => 'twofactor_email',
  ),
  'mail_smtpmode' => 'smtp',
  'mail_smtpsecure' => 'ssl',
  'mail_sendmailmode' => 'smtp',
  'mail_from_address' => '__REMOVED__',
  'mail_domain' => '__REMOVED__',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtphost' => '__REMOVED__',
  'mail_smtpport' => '465',
  'mail_smtpname' => '__REMOVED__',
  'mail_smtppassword' => '__REMOVED__',
);



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

[Mon Jul 13 00:00:11.207076 2020] [mpm_prefork:notice] [pid 92135] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Mon Jul 13 00:00:11.207116 2020] [core:notice] [pid 92135] AH00094: Command line: '/usr/sbin/apache2'
cat: /sys/class/net/docker0/speed: Invalid argument
cat: /sys/class/net/docker0/duplex: Invalid argument
[Mon Jul 13 00:32:38.191755 2020] [mpm_prefork:notice] [pid 92135] AH00171: Graceful restart requested, doing restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[Mon Jul 13 00:32:38.428026 2020] [mpm_prefork:notice] [pid 92135] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Mon Jul 13 00:32:38.428050 2020] [core:notice] [pid 92135] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jul 13 00:35:39.438576 2020] [mpm_prefork:notice] [pid 92135] AH00171: Graceful restart requested, doing restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[Mon Jul 13 00:35:39.515179 2020] [mpm_prefork:notice] [pid 92135] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Mon Jul 13 00:35:39.515203 2020] [core:notice] [pid 92135] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jul 13 00:35:55.057236 2020] [mpm_prefork:notice] [pid 92135] AH00171: Graceful restart requested, doing restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[Mon Jul 13 00:35:55.111489 2020] [mpm_prefork:notice] [pid 92135] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Mon Jul 13 00:35:55.111515 2020] [core:notice] [pid 92135] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jul 13 00:35:59.354300 2020] [mpm_prefork:notice] [pid 92135] AH00169: caught SIGTERM, shutting down
[Mon Jul 13 00:36:03.327171 2020] [mpm_prefork:notice] [pid 106889] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Mon Jul 13 00:36:03.327244 2020] [core:notice] [pid 106889] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jul 13 00:40:50.149875 2020] [core:error] [pid 106891] (13)Permission denied: [client 2400:cb00:15:1024::ac45:4671:16186] AH00132: file permissions deny server access: /var/www/static/nextcloud.log,>
[Mon Jul 13 00:46:39.569217 2020] [mpm_prefork:notice] [pid 106889] AH00171: Graceful restart requested, doing restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[Mon Jul 13 00:46:39.658812 2020] [mpm_prefork:notice] [pid 106889] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Mon Jul 13 00:46:39.658832 2020] [core:notice] [pid 106889] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jul 13 00:48:46.575363 2020] [mpm_prefork:notice] [pid 106889] AH00171: Graceful restart requested, doing restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[Mon Jul 13 00:48:46.646893 2020] [mpm_prefork:notice] [pid 106889] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Mon Jul 13 00:48:46.646918 2020] [core:notice] [pid 106889] AH00094: Command line: '/usr/sbin/apache2'

It works on Firefox but not on chrome or on Safari , why?
image

check your ip addresses/port forwarding, it might have changed. As far as firefox goes, it might be because your cache is not cleared. It’s using offline data is a probability. I’m using firefox and tried clicking on the link and I’m not connecting.

ok, how do I check my ip address on ubuntu server?

using “ifconfig” command

docker0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
ether 02:42:19:40:67:48 txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

enp0s25: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.8 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::223:24ff:fe08:581f prefixlen 64 scopeid 0x20
inet6 2604:99c0:8:2f60:223:24ff:fe08:581f prefixlen 64 scopeid 0x0
ether 00:23:24:08:58:1f txqueuelen 1000 (Ethernet)
RX packets 3668 bytes 762219 (762.2 KB)
RX errors 0 dropped 9 overruns 0 frame 0
TX packets 3420 bytes 2849613 (2.8 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 19 memory 0xf0500000-f0520000

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 596 bytes 55269 (55.2 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 596 bytes 55269 (55.2 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

It did not change

What do I do?

I just clicked the link to your website and it’s working.

If only Safari not works check the Safari and MacOS configuration.

It works, It just needed time