Nextcloud version : 18.2
Operating system and version : Raspbian 9 Stretch
nginx version : nginx/1.10.3
PHP version : PHP 7.3.13-1
The issue you are facing:
the installation is compromised, a 404 error pops up when navigating to the website, which results inaccessible also for the mobile applications.
Is this the first time you’ve seen this error? : Y
Steps to replicate it:
- I was updating two apps, one of which being 2-steps authentication (unfortunately I cannot recall about the second one, possibly a not fully supported update)
- The installation lead to a failure, which prompted a page with an upgrade error, and recommendation to submit that error to the Nextcloud community [the detailed error was lost as I ran out of power shortly afterwards]
- Removing the oauth2 app folder and rebooting the server lead to just an nginx 404 message being displayed and overall failure
The output of your config.php file in `/path/to/nextcloud:
<?php
$CONFIG = array (
'passwordsalt' => 'XXXXXXXXXXXXXXXXXXXXXXX',
'secret' => 'XXXXXXXXXXXXXXXXXXX/XXXXXXXXXXXXXXXXXXX',
'trusted_domains' =>
array (
0 => 'localhost',
1 => '*',
),
'datadirectory' => '/mnt/externaldrive/dietpi_userdata/nextcloud_data',
'dbtype' => 'mysql',
'version' => '18.0.2.2',
'memcache.local' => '\\OC\\Memcache\\APCu',
'filelocking.enabled' => true,
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/var/run/redis/redis-server.sock',
'port' => 0,
),
'overwrite.cli.url' => 'http://localhost/nextcloud',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'oc_xxxxxxxxx',
'dbpassword' => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXX',
'installed' => true,
'instanceid' => 'xxxxxxxxxxxxxxxxx',
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
'app_install_overwrite' =>
array (
0 => 'apporder',
1 => 'ownpad',
2 => 'files_downloadactivity',
3 => 'event_update_notification',
4 => 'jsloader',
5 => 'unsplash',
6 => 'sharerenamer',
7 => 'uploaddetails',
8 => 'files_ebookreader',
9 => 'files_reader',
),
'updater.release.channel' => 'stable',
);
The output of your Apache/nginx/system log in /var/log/____
:
020/03/20 22:46:57 [error] 969#969: *1 open() "/var/www/50x.html" failed (2: No such file or directory), client: 5.77.89.222, server: www.brogiolo.eu, request: "GET /nextc$
2020/03/20 22:55:54 [error] 969#969: *3 open() "/var/www/50x.html" failed (2: No such file or directory), client: 37.162.185.57, server: www.brogiolo.eu, request: "PROPFIND$
2020/03/20 22:55:54 [error] 969#969: *3 open() "/var/www/50x.html" failed (2: No such file or directory), client: 37.162.185.57, server: www.brogiolo.eu, request: "PROPFIND$
2020/03/20 22:55:54 [error] 972#972: *5 open() "/var/www/50x.html" failed (2: No such file or directory), client: 5.77.89.222, server: www.brogiolo.eu, request: "GET /nextc$
2020/03/20 22:55:54 [error] 972#972: *6 open() "/var/www/50x.html" failed (2: No such file or directory), client: 5.77.89.222, server: www.brogiolo.eu, request: "GET /nextc$
2020/03/20 22:55:54 [error] 969#969: *8 open() "/var/www/50x.html" failed (2: No such file or directory), client: 5.77.89.222, server: www.brogiolo.eu, request: "GET /nextc$
2020/03/20 22:55:55 [error] 969#969: *8 open() "/var/www/50x.html" failed (2: No such file or directory), client: 5.77.89.222, server: www.brogiolo.eu, request: "GET /nextc$
2020/03/20 22:55:55 [error] 972#972: *7 open() "/var/www/50x.html" failed (2: No such file or directory), client: 5.77.89.222, server: www.brogiolo.eu, request: "GET /nextc$
2020/03/20 22:55:56 [error] 972#972: *7 open() "/var/www/50x.html" failed (2: No such file or directory), client: 5.77.89.222, server: www.brogiolo.eu, request: "GET /nextc$
2020/03/20 22:55:56 [error] 969#969: *8 open() "/var/www/50x.html" failed (2: No such file or directory), client: 5.77.89.222, server: www.brogiolo.eu, request: "PROPFIND /$
2020/03/20 22:55:57 [error] 972#972: *7 open() "/var/www/50x.html" failed (2: No such file or directory), client: 5.77.89.222, server: www.brogiolo.eu, request: "GET /nextc$
2020/03/20 22:55:59 [error] 972#972: *7 open() "/var/www/50x.html" failed (2: No such file or directory), client: 5.77.89.222, server: www.brogiolo.eu, request: "GET /nextc$
2020/03/20 22:56:00 [error] 972#972: *7 open() "/var/www/50x.html" failed (2: No such file or directory), client: 5.77.89.222, server: www.brogiolo.eu, request: "GET /nextc$
2020/03/20 22:56:04 [error] 969#969: *21 open() "/var/www/50x.html" failed (2: No such file or directory), client: 5.77.89.222, server: www.brogiolo.eu, request: "GET /next$
2020/03/20 22:56:05 [error] 969#969: *22 open() "/var/www/50x.html" failed (2: No such file or directory), client: 5.77.89.222, server: www.brogiolo.eu, request: "GET /next$
2020/03/20 22:56:07 [error] 971#971: *25 open() "/var/www/50x.html" failed (2: No such file or directory), client: 5.77.89.222, server: www.brogiolo.eu, request: "GET /next$
Thank you in advance!!