Nextcloud version 21.0.1
Operating system and version debian 4.19.0-12-amd64
Apache or nginx version 2.4.38
PHP version 7.3
The issue you are facing:
Hi, I noticed that my cronjob was not executed since 14 days. It worked for years before. I tryed to start it manuell from within the console with
su -s /bin/bash www-data
php7.3 -f /var/www/nextcloud/cron.php
php7.3 -f /var/www/nextcloud/occ system:cron
Even the adding indices is not working with occ. While manually axecuting this command it is executed for a few seconds and afterwards the console is telling me that the process is killed.
Is this the first time you’ve seen this error? Yes
The output of your Nextcloud log in Admin > Logging:
there are no error or fatal logs, just a few warning logs with failed logins
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'XXXXXXX',
'passwordsalt' => 'XXXXXXX',
'secret' => '.XXXXXXX',
'trusted_domains' =>
array (
0 => 'XXXXXXX',
1 => 'XXXXXXX',
),
'datadirectory' => '/var/www/nextcloud/data',
'overwrite.cli.url' => 'XXXXXXX',
'dbtype' => 'mysql',
'version' => '21.0.1.1',
'dbname' => 'owncloud',
'dbhost' => 'localhost',
'dbtableprefix' => 'oc_',
'dbuser' => 'XXXXXXX',
'dbpassword' => 'XXXXXXX',
'installed' => true,
'forcessl' => true,
'loglevel' => 0,
'theme' => '',
'maintenance' => false,
'updatechecker' => false,
'trashbin_retention_obligation' => '7, 30',
'htaccess.RewriteBase' => '/',
'mail_from_address' => 'nextcloud',
'mail_smtpmode' => 'smtp',
'mail_domain' => 'XXXXXXX',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtphost' => 'smtp.gmail.com',
'mail_smtpauth' => 1,
'mail_smtpport' => '587',
'mail_smtpname' => 'XXXXXXX',
'mail_smtppassword' => 'XXXXXXX',
'mail_smtpsecure' => 'tls',
'updater.release.channel' => 'stable',
'memcache.local' => '\\OC\\Memcache\\APCu',
'app_install_overwrite' =>
array (
0 => 'calendar',
),
'mysql.utf8mb4' => true,
'updater.secret' => 'XXXXXXX',
);
The output of your Apache/nginx/system log in /var/log/____
:
[Fri Apr 23 00:00:01.814058 2021] [mpm_prefork:notice] [pid 11034] AH00163: Apache/2.4.38 (Debian) OpenSSL/1.1.1d configured -- resuming normal operations
[Fri Apr 23 00:00:01.814083 2021] [core:notice] [pid 11034] AH00094: Command line: '/usr/sbin/apache2'
[Fri Apr 23 01:04:48.205874 2021] [access_compat:error] [pid 15432] [client 80.136.50.197:53161] AH01797: client denied by server configuration: /var/www/nextcloud/config
[Fri Apr 23 05:25:01.920979 2021] [mpm_prefork:notice] [pid 11034] AH00171: Graceful restart requested, doing restart
[Fri Apr 23 05:25:02.309847 2021] [mpm_prefork:notice] [pid 11034] AH00163: Apache/2.4.38 (Debian) OpenSSL/1.1.1d configured -- resuming normal operations
[Fri Apr 23 05:25:02.309867 2021] [core:notice] [pid 11034] AH00094: Command line: '/usr/sbin/apache2'
[Fri Apr 23 05:25:02.749005 2021] [mpm_prefork:notice] [pid 11034] AH00171: Graceful restart requested, doing restart
[Fri Apr 23 05:25:02.784084 2021] [mpm_prefork:notice] [pid 11034] AH00163: Apache/2.4.38 (Debian) OpenSSL/1.1.1d configured -- resuming normal operations
[Fri Apr 23 05:25:02.784098 2021] [core:notice] [pid 11034] AH00094: Command line: '/usr/sbin/apache2'
[Fri Apr 23 07:11:06.474496 2021] [php7:error] [pid 6166] [client 35.180.147.121:22259] script '/var/www/html/wp-login.php' not found or unable to stat
[Fri Apr 23 08:25:06.358558 2021] [php7:error] [pid 5250] [client 45.155.205.27:50296] script '/var/www/html/index.php' not found or unable to stat
[Fri Apr 23 09:35:58.407774 2021] [access_compat:error] [pid 5246] [client 192.168.5.1:64704] AH01797: client denied by server configuration: /var/www/nextcloud/config
[Fri Apr 23 09:47:25.361154 2021] [access_compat:error] [pid 16459] [client 192.168.5.1:49168] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata
[Fri Apr 23 09:49:33.244891 2021] [access_compat:error] [pid 14152] [client 192.168.5.1:49242] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata
[Fri Apr 23 09:50:15.215835 2021] [access_compat:error] [pid 6166] [client 192.168.5.1:49258] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata
[Fri Apr 23 09:52:54.740823 2021] [access_compat:error] [pid 16204] [client 80.136.50.197:54643] AH01797: client denied by server configuration: /var/www/nextcloud/config
[Fri Apr 23 09:59:20.178591 2021] [access_compat:error] [pid 18583] [client 192.168.5.1:49696] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata
[Fri Apr 23 09:59:34.194095 2021] [access_compat:error] [pid 18583] [client 192.168.5.1:49708] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata
[Fri Apr 23 10:00:46.771987 2021] [access_compat:error] [pid 18634] [client 192.168.5.1:49796] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata
[Fri Apr 23 10:01:02.604149 2021] [access_compat:error] [pid 18772] [client 192.168.5.1:49814] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata
[Fri Apr 23 10:08:35.659403 2021] [access_compat:error] [pid 14051] [client 192.168.5.1:50149] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata