[SOLVED] Nextcloudpi stuck in maintenance mode

[/details]

Nextcloud version (15.0.8.1):(i’m not sure…)
Operating system and version (Raspbian GNU/Linux 9 (stretch)):
Apache version (Apache/2.4.25 (Raspbian) Server built: 2019-04-02T19:05:13:
PHP version (PHP 7.2.19-1+0~20190531112637.22+stretch~1.gbp75765b (cli) (built: May 31 2019 11:26:38) ( NTS )
)
:

today i in the page of my nextcloudpi i recieved a message to upgrade the webdav service i agreed and now the server is stuck in maintenance mode. I’m new to the server world and don’t know what to do. Can anyone help me?

nextcloud logs

https://pastebin.com/JLV8dYzg

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

<?php
$CONFIG = array (
  'passwordsalt' => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
  'secret' => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
  'trusted_domains' => 
  array (
    0 => 'localhost',
    11 => '87.18.79.51',
    1 => '192.168.1.6',
    5 => 'nextcloudpi.local',
    7 => 'nextcloudpi',
    8 => 'nextcloudpi.lan',
    3 => 'myddns',
    2 => 'myddns',
    4 => 'myddns',
  ),
  'datadirectory' => '/var/www/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '15.0.8.1',
  'overwrite.cli.url' => 'https://myddns/',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'user',
  'dbpassword' => 'passwd',
  'installed' => true,
  'instanceid' => 'ocday91zo7nd',
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => '/var/run/redis/redis.sock',
    'port' => 0,
    'timeout' => 0.0,
    'password' => 'passwd',
  ),
  'tempdirectory' => '/var/www/nextcloud/data/tmp',
  'mail_smtpmode' => 'sendmail',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_from_address' => 'ncp',
  'mail_domain' => 'ownyourbits.com',
  'overwriteprotocol' => 'https',
  'loglevel' => 0,
  'log_type' => 'file',
  'jpeg_quality' => '60',
  'maintenance' => true,
  'mail_sendmailmode' => 'smtp',
  'theme' => '',
);

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

==> /var/log/apache2/access.log <==

==> /var/log/apache2/error.log <==
[Mon Jun 03 06:25:02.857453 2019] [ssl:warn] [pid 926:tid 1996382448] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 03 06:25:03.000396 2019] [mpm_event:notice] [pid 926:tid 1996382448] AH00489: Apache/2.4.25 (Raspbian) OpenSSL/1.0.2r configured -- resuming normal operations
[Mon Jun 03 06:25:03.000501 2019] [core:notice] [pid 926:tid 1996382448] AH00094: Command line: '/usr/sbin/apache2'

==> /var/log/apache2/nc-access.log <==
192.168.1.9 - - [03/Jun/2019:08:52:13 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:52:33 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:52:53 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:52:54 +0100] "GET /index.php/csrftoken HTTP/2.0" 503 8878 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:53:13 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:53:14 +0100] "GET / HTTP/2.0" 503 8182 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:53:15 +0100] "GET /core/search/js/search.js?v=71e660ca-0 HTTP/2.0" 200 1419 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:53:15 +0100] "GET /core/search/js/searchprovider.js?v=71e660ca-0 HTTP/2.0" 200 3633 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:53:15 +0100] "GET /core/js/jquery-ui-fixes.js?v=71e660ca-0 HTTP/2.0" 200 209 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:53:15 +0100] "GET /core/js/files/fileinfo.js?v=71e660ca-0 HTTP/2.0" 200 883 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:53:15 +0100] "GET /core/vendor/select2/select2.css?v=71e660ca-0 HTTP/2.0" 200 3095 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:53:15 +0100] "GET /core/js/contactsmenu.js?v=71e660ca-0 HTTP/2.0" 200 3093 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:53:15 +0100] "GET /core/vendor/jquery-ui/themes/base/jquery-ui.css?v=71e660ca-0 HTTP/2.0" 200 5972 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:53:15 +0100] "GET /core/js/files/client.js?v=71e660ca-0 HTTP/2.0" 200 5595 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:53:15 +0100] "GET /core/js/contactsmenu_templates.js?v=71e660ca-0 HTTP/2.0" 200 1463 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:53:15 +0100] "GET /core/js/maintenance-check.js?v=71e660ca-0 HTTP/2.0" 200 303 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:53:15 +0100] "GET /core/css/guest.css?v=71e660ca-0 HTTP/2.0" 200 5415 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:53:15 +0100] "GET /core/img/background.png?v=2 HTTP/2.0" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:53:15 +0100] "GET /core/img/logo/logo.svg?v=68263213c706f46e70c41d0c27f6e8a7d65c7e87 HTTP/2.0" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:53:15 +0100] "GET /core/img/logo/logo.svg?v=1 HTTP/2.0" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:53:15 +0100] "GET /core/img/actions/error-white.svg?v=1 HTTP/2.0" 304 0 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:53:15 +0100] "GET /core/vendor/core.js?v=71e660ca-0 HTTP/2.0" 200 281922 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:53:35 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:53:55 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:54:15 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:54:35 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:54:55 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:55:15 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:55:35 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:55:55 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:56:15 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:56:35 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:56:55 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:57:15 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:57:35 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:57:55 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:58:15 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:58:35 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:58:55 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:59:15 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:59:35 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:08:59:55 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:00:15 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:00:35 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:00:55 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:01:15 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:01:35 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:01:55 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:02:15 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:02:35 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:02:55 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:03:15 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:03:35 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:03:55 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:04:15 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:04:35 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:04:55 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:05:15 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:05:16 +0100] "GET /index.php/csrftoken HTTP/2.0" 503 8878 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:05:35 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:05:55 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:06:15 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:06:35 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:06:55 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:07:15 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:07:35 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:07:55 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:08:15 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:08:35 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:08:55 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:09:15 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:09:35 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:09:55 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:10:15 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:10:35 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:10:55 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:11:15 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:11:35 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:11:55 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:12:15 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:12:35 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:12:55 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:13:15 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:13:35 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:13:55 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:14:15 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:14:35 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:14:55 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:15:15 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:15:35 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:15:55 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:16:15 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:16:35 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:16:55 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:17:15 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:17:16 +0100] "GET /index.php/csrftoken HTTP/2.0" 503 8878 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:17:35 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:17:55 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:18:15 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.9 - - [03/Jun/2019:09:18:35 +0100] "GET /status.php HTTP/2.0" 200 145 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"

==> /var/log/apache2/nc-error.log <==

==> /var/log/apache2/other_vhosts_access.log <==
localhost:80 192.168.1.9 - - [03/Jun/2019:06:33:47 +0100] "GET / HTTP/1.1" 302 506 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
localhost:80 109.168.80.139 - - [03/Jun/2019:07:16:41 +0100] "GET / HTTP/1.1" 302 450 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"
localhost:80 74.136.16.231 - - [03/Jun/2019:07:36:44 +0100] "GET / HTTP/1.1" 400 0 "-" "-"
localhost:80 80.82.77.139 - - [03/Jun/2019:07:43:18 +0100] "GET / HTTP/1.1" 302 450 "-" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36"
localhost:80 80.82.77.139 - - [03/Jun/2019:07:43:18 +0100] "GET /robots.txt HTTP/1.1" 302 470 "-" "-"
localhost:80 80.82.77.139 - - [03/Jun/2019:07:43:18 +0100] "GET /sitemap.xml HTTP/1.1" 302 472 "-" "-"
localhost:80 80.82.77.139 - - [03/Jun/2019:07:43:18 +0100] "GET /.well-known/security.txt HTTP/1.1" 302 498 "-" "-"
localhost:80 80.82.77.139 - - [03/Jun/2019:07:43:18 +0100] "GET /favicon.ico HTTP/1.1" 302 528 "-" "python-requests/2.13.0"

Hi,

You can disable the maintenance mode via shell command. So please login to your Raspi and run:
sudo -u www-data php /var/www/nextcloud/occ maintenance:mode --off

Then reload the web page and check if everything is working.

By the way: the data directory being under the NC installation (/var/www/nextcloud/data) directory is considered insecure. I suggest to move the data directory elsewhere. There is a guide in this forum how to move it.

Adding the global IP address here (array entry 11 here) isn’t necessary. Looks like you access your server via DNS name and https anyway. Accessing the server via global IP address and https only causes warnings regarding the SSL certificate.

thank you for the answer, now the server is online again.
Every time i go in mainteinance mode i have to run the shell command to put in normal mode?
sorry to ask but to cancel the entry 11 can i just delete the array entry?
i will move the directory

Yes, just delete the line and make it:

  'trusted_domains' => 
  array (
    0 => 'localhost',
    1 => '192.168.1.6',
    5 => 'nextcloudpi.local',
    7 => 'nextcloudpi',
    8 => 'nextcloudpi.lan',
    3 => 'myddns',
    2 => 'myddns',
    4 => 'myddns',
  ),

Regarding the maintenance mode:
I don’t know how you activated the maintenance mode. The Nextcloud online updater for Nextcloud updates, for example, puts Nextcloud in maintenance mode, but offers a button to disable the maintenance mode after the successful update again. Not sure what mechanism for what update exactly you used.

thanks again for the time spent on my problem

Sure thing, no problem! :slight_smile:
Enjoy your own cloud server :slight_smile: