Cron.php not found or unable to stat

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 12.0.2): 15
Operating system and version (eg, Ubuntu 17.04):centos 7.6
Apache or nginx version (eg, Apache 2.4.25): 2.4.6
PHP version (eg, 7.1):7.3

The issue you are facing:
script ‘/var/www/html/nextcloud/apps/files/cron.php’ not found or unable to stat
script ‘/var/www/html/nextcloud/apps/files/status.php’ not found or unable to stat

after login as admin:

Interner Serverfehler

Der Server konnte die Anfrage nicht fertig stellen.

Sollte dies erneut auftreten, senden Sie bitte die nachfolgenden technischen Einzelheiten an Ihren Server-Administrator.

Weitere Details können im Server-Protokoll gefunden werden.

Technische Details

  • Entfernte Adresse:

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

Steps to replicate it:

  1. installed ssl / vhost
  2. changed domain name
  3. cant login with name > before ip worked

The output of your Nextcloud log in Admin > Logging:

PASTE HERE

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

<?php
$CONFIG = array (
  'instanceid' => 'idhere',
  'passwordsalt' => 'salthere',
  'secret' => 'secrethere,
  'trusted_domains' =>
  array (
    0 => 'somedomain',
  ),
  'datadirectory' => '/var/www/html/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '15.0.5.3',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '3306',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'secure',
  'dbpassword' => 'secure',
  'installed' => true,
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => 'localhost',
    'port' => 6379,
    'timeout' => 3,
  ),
  'maintenance' => false,
);

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

[Mon Apr 01 17:21:08.737536 2019] [php7:error] [pid 18081] [client ip:6322] script '/var/www/html/nextcloud/apps/files/status.php' not found or unable to stat
[Mon Apr 01 17:21:28.712621 2019] [php7:error] [pid 18082] [client ip:37267] script '/var/www/html/nextcloud/apps/files/status.php' not found or unable to stat
[Mon Apr 01 17:23:54.789268 2019] [php7:error] [pid 18138] [client ip:36102] script '/var/www/html/nextcloud/apps/files/cron.php' not found or unable to stat
[Mon Apr 01 17:24:07.586870 2019] [php7:error] [pid 18133] [client ip:37751] script '/var/www/html/nextcloud/apps/files/cron.php' not found or unable to stat
[Mon Apr 01 17:24:15.038300 2019] [php7:error] [pid 18134] [client ip:59969] script '/var/www/html/nextcloud/apps/files/cron.php' not found or unable to stat
[Mon Apr 01 17:24:18.269824 2019] [php7:error] [pid 18082] [client ip:3259] script '/var/www/html/nextcloud/apps/files/cron.php' not found or unable to stat
[Mon Apr 01 17:33:12.507600 2019] [php7:error] [pid 18137] [client ip:47570] script '/var/www/html/nextcloud/apps/files/cron.php' not found or unable to stat
[Mon Apr 01 17:33:15.978727 2019] [php7:error] [pid 18134] [client ip:19907] script '/var/www/html/nextcloud/apps/files/cron.php' not found or unable to stat
[Mon Apr 01 17:34:23.248229 2019] [php7:error] [pid 18137] [client ip:36224] script '/var/www/html/nextcloud/apps/files/cron.php' not found or unable to stat

I guess there’s something misconfigured, cause cron.php and status.php reside in the nextcloud root dir, not in apps/files/…

since it was a new install, i just reinstalled it and all works perfectly