Nextcloud version (eg, 12.0.2): 18.0.3
Operating system and version (eg, Ubuntu 17.04): Ubuntu 19.10
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.41
PHP version (eg, 7.1): PHP 7.3.16
The issue you are facing:
got following error message while everything seems to work:
- Die Ausführung des Cron-Jobs über die Kommandozeile war nicht möglich. Die folgenden technischen Fehler sind dabei aufgetreten:
- Dein Datenverzeichnis ist ungültig Stelle sicher, dass eine Datei “.ocdata” im Wurzelverzeichnis des data-Verzeichnisses existiert.
- Letzte Cron-Job-Ausführung: Vor 1 Stunde. Möglicherweise liegt ein Fehler vor. Überprüfe Einstellungen für Hintergrundausführungen
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
The output of your Nextcloud log in Admin > Logging:
{"reqId":"2gmhm5V7fwPULgG1ZxtE","level":3,"time":"2020-04-03T14:19:11+00:00","remoteAddr":"192.168.178.30","user":"Mirko","app":"no app in context","method":"GET","url":"/index.php/settings/apps/update/mail","message":{"Exception":"Symfony\\Component\\Routing\\Exception\\RouteNotFoundException","Message":"Unable to generate a URL for the named route \"mail.page.index\" as such route does not exist.","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":339,"function":"generate","class":"Symfony\\Component\\Routing\\Generator\\UrlGenerator","type":"->","args":["mail.page.index",[],1]},{"file":"/var/www/nextcloud/lib/private/Route/CachingRouter.php","line":59,"function":"generate","class":"OC\\Route\\Router","type":"->","args":["mail.page.index",[],false]},{"file":"/var/www/nextcloud/lib/private/URLGenerator.php","line":82,"function":"generate","class":"OC\\Route\\CachingRouter","type":"->","args":["mail.page.index",[]]},{"file":"/var/www/nextcloud/apps/mail/appinfo/app.php","line":42,"function":"linkToRoute","class":"OC\\URLGenerator","type":"->","args":["mail.page.index"]},{"file":"/var/www/nextcloud/lib/private/legacy/app.php","line":266,"args":["/var/www/nextcloud/apps/mail/appinfo/app.php"],"function":"require_once"},{"file":"/var/www/nextcloud/lib/private/legacy/app.php","line":155,"function":"requireAppFile","class":"OC_App","type":"::","args":["*** sensitive parameter replaced ***"]},{"file":"/var/www/nextcloud/lib/private/legacy/app.php","line":966,"function":"loadApp","class":"OC_App","type":"::","args":["*** sensitive parameter replaced ***"]},{"file":"/var/www/nextcloud/lib/private/legacy/app.php","line":918,"function":"executeRepairSteps","class":"OC_App","type":"::","args":["*** sensitive parameter replaced ***",["OCA\\Mail\\Migration\\FixCollectedAddresses","OCA\\Mail\\Migration\\MakeItineraryExtractorExecutable","OCA\\Mail\\Migration\\MigrateProvisioningConfig","OCA\\Mail\\Migration\\ProvisionAccounts"]]},{"file":"/var/www/nextcloud/lib/private/Installer.php","line":205,"function":"updateApp","class":"OC_App","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/apps/settings/lib/Controller/AppSettingsController.php","line":528,"function":"updateAppstoreApp","class":"OC\\Installer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":170,"function":"updateApp","class":"OCA\\Settings\\Controller\\AppSettingsController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Settings\\Controller\\AppSettingsController"},"updateApp"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":125,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Settings\\Controller\\AppSettingsController"},"updateApp"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Settings\\Controller\\AppSettingsController","updateApp",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"appId":"*** sensitive parameter replaced ***","_route":"settings.AppSettings.updateApp"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"appId":"*** sensitive parameter replaced ***","_route":"settings.AppSettings.updateApp"}]},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":299,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"appId":"*** sensitive parameter replaced ***","_route":"settings.AppSettings.updateApp"}]},{"file":"/var/www/nextcloud/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/settings/apps/update/mail"]},{"file":"/var/www/nextcloud/index.php","line":38,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/nextcloud/3rdparty/symfony/routing/Generator/UrlGenerator.php","Line":144,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0","version":"18.0.3.0"}
{"reqId":"ranTT2fZqQ2kswdEjcft","level":2,"time":"2020-04-04T05:08:29+00:00","remoteAddr":"192.168.178.79","user":"--","app":"no app in context","method":"POST","url":"/index.php/login","message":"Login failed: Geburtstag (Remote IP: 192.168.178.79)","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Safari/605.1.15","version":"18.0.3.0"}
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'oc1pfu1ifcq8',
'passwordsalt' => '/jxS5jNW6jrjCO54nxfTbKD8Cm/jsl',
'secret' => 'AtgB/4riPSvTKiX0e5SGmHZk9ws+Q4Q0eg20Aw+7meM49TR9',
'trusted_domains' =>
array (
0 => '192.168.178.37',
),
'datadirectory' => '/mnt/data',
'dbtype' => 'mysql',
'version' => '18.0.3.0',
'overwrite.cli.url' => 'https://192.168.178.37',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextclouduser',
'dbpassword' => 'oxr',
'installed' => true,
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/var/run/redis/redis-server.sock',
'port' => 0,
'timeout' => 0.0,
),
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
);
The output of your Apache/nginx/system log in /var/log/____
:
root@Nextcloud:~# cat /var/log/apache2/error.log
[Mon Apr 06 00:00:34.917049 2020] [ssl:warn] [pid 224] AH01906: nc1.local:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Apr 06 00:00:34.917484 2020] [mpm_prefork:notice] [pid 224] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1c configured -- resuming normal operations
[Mon Apr 06 00:00:34.917492 2020] [core:notice] [pid 224] AH00094: Command line: '/usr/sbin/apache2'
Apr 6 16:10:01 Nextcloud postfix/master[373]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
Apr 6 16:11:01 Nextcloud postfix/smtpd[10718]: fatal: in parameter smtpd_relay_restrictions or smtpd_recipient_restrictions, specify at least one working instance of: reject_unauth_destination, defer_unauth_destination, reject, defer, defer_if_permit or check_relay_domains
Apr 6 16:11:02 Nextcloud postfix/master[373]: warning: process /usr/lib/postfix/sbin/smtpd pid 10718 exit status 1
Apr 6 16:11:02 Nextcloud postfix/master[373]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
Apr 6 16:12:03 Nextcloud postfix/smtpd[10719]: fatal: in parameter smtpd_relay_restrictions or smtpd_recipient_restrictions, specify at least one working instance of: reject_unauth_destination, defer_unauth_destination, reject, defer, defer_if_permit or check_relay_domains
Apr 6 16:12:04 Nextcloud postfix/master[373]: warning: process /usr/lib/postfix/sbin/smtpd pid 10719 exit status 1
Apr 6 16:12:04 Nextcloud postfix/master[373]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
Apr 6 16:13:04 Nextcloud postfix/smtpd[10720]: fatal: in parameter smtpd_relay_restrictions or smtpd_recipient_restrictions, specify at least one working instance of: reject_unauth_destination, defer_unauth_destination, reject, defer, defer_if_permit or check_relay_domains
Apr 6 16:13:05 Nextcloud postfix/master[373]: warning: process /usr/lib/postfix/sbin/smtpd pid 10720 exit status 1
Apr 6 16:13:05 Nextcloud postfix/master[373]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
Apr 6 16:14:05 Nextcloud postfix/smtpd[10721]: fatal: in parameter smtpd_relay_restrictions or smtpd_recipient_restrictions, specify at least one working instance of: reject_unauth_destination, defer_unauth_destination, reject, defer, defer_if_permit or check_relay_domains
Apr 6 16:14:06 Nextcloud postfix/master[373]: warning: process /usr/lib/postfix/sbin/smtpd pid 10721 exit status 1
Apr 6 16:14:06 Nextcloud postfix/master[373]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
Apr 6 16:15:06 Nextcloud postfix/smtpd[10722]: fatal: in parameter smtpd_relay_restrictions or smtpd_recipient_restrictions, specify at least one working instance of: reject_unauth_destination, defer_unauth_destination, reject, defer, defer_if_permit or check_relay_domains
Apr 6 16:15:07 Nextcloud postfix/master[373]: warning: process /usr/lib/postfix/sbin/smtpd pid 10722 exit status 1
Apr 6 16:15:07 Nextcloud postfix/master[373]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
Apr 6 16:16:07 Nextcloud postfix/smtpd[10724]: fatal: in parameter smtpd_relay_restrictions or smtpd_recipient_restrictions, specify at least one working instance of: reject_unauth_destination, defer_unauth_destination, reject, defer, defer_if_permit or check_relay_domains
Apr 6 16:16:08 Nextcloud postfix/master[373]: warning: process /usr/lib/postfix/sbin/smtpd pid 10724 exit status 1
Apr 6 16:16:08 Nextcloud postfix/master[373]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
Apr 6 16:17:08 Nextcloud postfix/smtpd[10737]: fatal: in parameter smtpd_relay_restrictions or smtpd_recipient_restrictions, specify at least one working instance of: reject_unauth_destination, defer_unauth_destination, reject, defer, defer_if_permit or check_relay_domains
Apr 6 16:17:09 Nextcloud postfix/master[373]: warning: process /usr/lib/postfix/sbin/smtpd pid 10737 exit status 1
Apr 6 16:17:09 Nextcloud postfix/master[373]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
Apr 6 16:18:09 Nextcloud postfix/smtpd[10738]: fatal: in parameter smtpd_relay_restrictions or smtpd_recipient_restrictions, specify at least one working instance of: reject_unauth_destination, defer_unauth_destination, reject, defer, defer_if_permit or check_relay_domains
Apr 6 16:18:10 Nextcloud postfix/master[373]: warning: process /usr/lib/postfix/sbin/smtpd pid 10738 exit status 1
Apr 6 16:18:10 Nextcloud postfix/master[373]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
Apr 6 16:19:10 Nextcloud postfix/smtpd[10739]: fatal: in parameter smtpd_relay_restrictions or smtpd_recipient_restrictions, specify at least one working instance of: reject_unauth_destination, defer_unauth_destination, reject, defer, defer_if_permit or check_relay_domains
Apr 6 16:19:11 Nextcloud postfix/master[373]: warning: process /usr/lib/postfix/sbin/smtpd pid 10739 exit status 1
Apr 6 16:19:11 Nextcloud postfix/master[373]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
Apr 6 16:20:11 Nextcloud postfix/smtpd[10740]: fatal: in parameter smtpd_relay_restrictions or smtpd_recipient_restrictions, specify at least one working instance of: reject_unauth_destination, defer_unauth_destination, reject, defer, defer_if_permit or check_relay_domains
Apr 6 16:20:12 Nextcloud postfix/master[373]: warning: process /usr/lib/postfix/sbin/smtpd pid 10740 exit status 1
Apr 6 16:20:12 Nextcloud postfix/master[373]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
Apr 6 16:21:12 Nextcloud postfix/smtpd[10742]: fatal: in parameter smtpd_relay_restrictions or smtpd_recipient_restrictions, specify at least one working instance of: reject_unauth_destination, defer_unauth_destination, reject, defer, defer_if_permit or check_relay_domains
Apr 6 16:21:13 Nextcloud postfix/master[373]: warning: process /usr/lib/postfix/sbin/smtpd pid 10742 exit status 1
Apr 6 16:21:13 Nextcloud postfix/master[373]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
Apr 6 16:22:13 Nextcloud postfix/smtpd[10743]: fatal: in parameter smtpd_relay_restrictions or smtpd_recipient_restrictions, specify at least one working instance of: reject_unauth_destination, defer_unauth_destination, reject, defer, defer_if_permit or check_relay_domains
Apr 6 16:22:14 Nextcloud postfix/master[373]: warning: process /usr/lib/postfix/sbin/smtpd pid 10743 exit status 1
Apr 6 16:22:14 Nextcloud postfix/master[373]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
Apr 6 16:23:14 Nextcloud postfix/smtpd[10783]: fatal: in parameter smtpd_relay_restrictions or smtpd_recipient_restrictions, specify at least one working instance of: reject_unauth_destination, defer_unauth_destination, reject, defer, defer_if_permit or check_relay_domains
Apr 6 16:23:15 Nextcloud postfix/master[373]: warning: process /usr/lib/postfix/sbin/smtpd pid 10783 exit status 1
Apr 6 16:23:15 Nextcloud postfix/master[373]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
Apr 6 16:24:01 Nextcloud CRON[10788]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Apr 6 16:24:15 Nextcloud postfix/smtpd[10790]: fatal: in parameter smtpd_relay_restrictions or smtpd_recipient_restrictions, specify at least one working instance of: reject_unauth_destination, defer_unauth_destination, reject, defer, defer_if_permit or check_relay_domains
Apr 6 16:24:16 Nextcloud postfix/master[373]: warning: process /usr/lib/postfix/sbin/smtpd pid 10790 exit status 1
Apr 6 16:24:16 Nextcloud postfix/master[373]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
Apr 6 16:25:16 Nextcloud postfix/smtpd[10792]: fatal: in parameter smtpd_relay_restrictions or smtpd_recipient_restrictions, specify at least one working instance of: reject_unauth_destination, defer_unauth_destination, reject, defer, defer_if_permit or check_relay_domains
Apr 6 16:25:17 Nextcloud postfix/master[373]: warning: process /usr/lib/postfix/sbin/smtpd pid 10792 exit status 1
Apr 6 16:25:17 Nextcloud postfix/master[373]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
Apr 6 16:26:17 Nextcloud postfix/smtpd[10797]: fatal: in parameter smtpd_relay_restrictions or smtpd_recipient_restrictions, specify at least one working instance of: reject_unauth_destination, defer_unauth_destination, reject, defer, defer_if_permit or check_relay_domains
Apr 6 16:26:18 Nextcloud postfix/master[373]: warning: process /usr/lib/postfix/sbin/smtpd pid 10797 exit status 1
Apr 6 16:26:18 Nextcloud postfix/master[373]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
Apr 6 16:27:18 Nextcloud postfix/smtpd[10798]: fatal: in parameter smtpd_relay_restrictions or smtpd_recipient_restrictions, specify at least one working instance of: reject_unauth_destination, defer_unauth_destination, reject, defer, defer_if_permit or check_relay_domains
Apr 6 16:27:19 Nextcloud postfix/master[373]: warning: process /usr/lib/postfix/sbin/smtpd pid 10798 exit status 1
Apr 6 16:27:19 Nextcloud postfix/master[373]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
Apr 6 16:28:20 Nextcloud postfix/smtpd[10844]: fatal: in parameter smtpd_relay_restrictions or smtpd_recipient_restrictions, specify at least one working instance of: reject_unauth_destination, defer_unauth_destination, reject, defer, defer_if_permit or check_relay_domains
Apr 6 16:28:21 Nextcloud postfix/master[373]: warning: process /usr/lib/postfix/sbin/smtpd pid 10844 exit status 1
Apr 6 16:28:21 Nextcloud postfix/master[373]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
Apr 6 16:29:21 Nextcloud postfix/smtpd[10845]: fatal: in parameter smtpd_relay_restrictions or smtpd_recipient_restrictions, specify at least one working instance of: reject_unauth_destination, defer_unauth_destination, reject, defer, defer_if_permit or check_relay_domains
Apr 6 16:29:22 Nextcloud postfix/master[373]: warning: process /usr/lib/postfix/sbin/smtpd pid 10845 exit status 1
Apr 6 16:29:22 Nextcloud postfix/master[373]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
Apr 6 16:30:22 Nextcloud postfix/smtpd[10887]: fatal: in parameter smtpd_relay_restrictions or smtpd_recipient_restrictions, specify at least one working instance of: reject_unauth_destination, defer_unauth_destination, reject, defer, defer_if_permit or check_relay_domains
Apr 6 16:30:23 Nextcloud postfix/master[373]: warning: process /usr/lib/postfix/sbin/smtpd pid 10887 exit status 1
Apr 6 16:30:23 Nextcloud postfix/master[373]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
Apr 6 16:31:23 Nextcloud postfix/smtpd[10894]: fatal: in parameter smtpd_relay_restrictions or smtpd_recipient_restrictions, specify at least one working instance of: reject_unauth_destination, defer_unauth_destination, reject, defer, defer_if_permit or check_relay_domains
Apr 6 16:31:24 Nextcloud postfix/master[373]: warning: process /usr/lib/postfix/sbin/smtpd pid 10894 exit status 1
Apr 6 16:31:24 Nextcloud postfix/master[373]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
root@Nextcloud:~#
Data directory:
root@Nextcloud:~# ls -la /mnt/data/
total 10032
drwxrwx--- 13 www-data www-data 17 Apr 2 17:59 .
drwxr-xr-x 3 root root 4096 Mar 31 20:26 ..
-rwxr-xr-x 1 www-data www-data 542 Apr 2 17:50 .htaccess
-rwxr-xr-x 1 www-data www-data 0 Apr 2 17:50 .ocdata
drwxr-xr-x 4 www-data www-data 4 Apr 2 17:59 Abfall
drwxr-xr-x 4 www-data www-data 4 Apr 2 17:59 Abfallkalender
drwxr-xr-x 4 www-data www-data 4 Apr 2 17:59 Familie
drwxr-xr-x 4 www-data www-data 4 Apr 2 17:59 Familienkalender
drwxr-xr-x 4 www-data www-data 4 Apr 2 17:59 Geburtstag
drwxr-xr-x 4 www-data www-data 4 Apr 2 17:59 Geburtstage
drwxr-xr-x 4 www-data www-data 4 Apr 2 17:59 Mxxx
drwxr-xr-x 9 www-data www-data 11 Apr 3 15:20 Mxxx
drwxr-xr-x 4 www-data www-data 4 Apr 2 17:50 Sxxx
drwxr-xr-x 12 www-data www-data 12 Apr 2 17:59 appdata_oc1pfu1ifcq8
drwxr-xr-x 2 www-data www-data 3 Apr 2 17:59 files_external
-rwxr-xr-x 1 www-data www-data 0 Apr 2 17:50 index.html
-rw-r----- 1 www-data www-data 10099435 Apr 4 07:08 nextcloud.log
root@Nextcloud:~#
Can somebody please help to get rid of this “error” message.
Kind regards