Hintergrundaufgaben: Some jobs have not been executed since vor 11 Tagen

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

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:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):slight_smile:
  • 32.0.5
  • Operating system and version (e.g., Ubuntu 24.04):
    • Debian 13
  • Web server and version (e.g, Apache 2.4.25):
    • Apache2
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • none
  • PHP version (e.g, 8.3):
    • 8.4
  • Is this the first time you’ve seen this error? (Yes / No):
    • yes
  • When did this problem seem to first start?
    • replace me
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • AIO
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

Some jobs have not been executed since vor 11 Tagen

Hallo zusammen, es handelt sich um eine Neuinstallation.
Wenn ich unter Grundeinstellungen die Hintergrundaufgaben aufrufe, kommet die Meldung:

“Some jobs have not been executed since vor 11 Tagen. Please consider increasing the execution frequency”

Cron ist aktiviert und konfiguriert.

Bei der Protokollierung gibt es folgende 3 Fehlermeldungen:

  • Could not resolve OCA\Circles\Cron\Maintenance! Class “OCA\Circles\Cron\Maintenance” does not exist
  • Exception Parent folder not in filecache for trash
  • QueryNotFoundException Could not resolve OCA\Circles\Cron\Maintenance! Class “OCA\Circles\Cron\Maintenance” does not exist

Vielen Dank im vor aus für die Hilfe

Steps to replicate it (hint: details matter!):

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

{"reqId":"BSxPLkGExRdEoHtTAgZP","level":2,"time":"2026-02-11T12:35:19+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","scriptName":"/var/www/nextcloud/cron.php","message":"failed to create instance of background job: OCA\\Text\\Cron\\Cleanup","userAgent":"--","vers>
{"reqId":"BSxPLkGExRdEoHtTAgZP","level":2,"time":"2026-02-11T12:35:19+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","scriptName":"/var/www/nextcloud/cron.php","message":"failed to create instance of background job: OCA\\AppAPI\\BackgroundJob\\ExAppInitStatusCheck>
{"reqId":"BSxPLkGExRdEoHtTAgZP","level":3,"time":"2026-02-11T12:35:24+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","scriptName":"/var/www/nextcloud/cron.php","message":"Error while running background job OCA\\GroupFolders\\BackgroundJob\\ExpireGroupVersions (id:>
{"reqId":"BSxPLkGExRdEoHtTAgZP","level":3,"time":"2026-02-11T12:35:24+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","scriptName":"/var/www/nextcloud/cron.php","message":"Error while running background job OCA\\GroupFolders\\BackgroundJob\\ExpireGroupTrash (id: 14>
{"reqId":"xek5xKTGKV7WVcHlcr4D","level":3,"time":"2026-02-11T13:40:17+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","scriptName":"/var/www/nextcloud/cron.php","message":"Error while running background job OCA\\GroupFolders\\BackgroundJob\\ExpireGroupVersions (id:>
{"reqId":"xek5xKTGKV7WVcHlcr4D","level":3,"time":"2026-02-11T13:40:17+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","scriptName":"/var/www/nextcloud/cron.php","message":"Error while running background job OCA\\GroupFolders\\BackgroundJob\\ExpireGroupTrash (id: 14>
{"reqId":"s5z01A2KynJC248Hicnc","level":2,"time":"2026-02-11T13:45:19+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","scriptName":"/var/www/nextcloud/cron.php","message":"failed to create instance of background job: OCA\\AppAPI\\BackgroundJob\\ExAppInitStatusCheck>
{"reqId":"s5z01A2KynJC248Hicnc","level":3,"time":"2026-02-11T13:45:19+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","scriptName":"/var/www/nextcloud/cron.php","message":"Error while running background job OCA\\GroupFolders\\BackgroundJob\\ExpireGroupVersions (id:>
{"reqId":"s5z01A2KynJC248Hicnc","level":3,"time":"2026-02-11T13:45:19+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","scriptName":"/var/www/nextcloud/cron.php","message":"Error while running background job OCA\\GroupFolders\\BackgroundJob\\ExpireGroupTrash (id: 14>
{"reqId":"NDPQz8ulyW2UPBietyhC","level":2,"time":"2026-02-11T14:05:04+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","scriptName":"/var/www/nextcloud/cron.php","message":"failed to create instance of background job: OCA\\Circles\\Cron\\Maintenance","userAgent":"-->
{"reqId":"XAjy0sKGFHnULl6Cw8mu","level":2,"time":"2026-02-11T14:50:17+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","scriptName":"/var/www/nextcloud/cron.php","message":"failed to create instance of background job: OCA\\GroupFolders\\BackgroundJob\\ExpireGroupVer>
{"reqId":"XAjy0sKGFHnULl6Cw8mu","level":2,"time":"2026-02-11T14:50:17+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","scriptName":"/var/www/nextcloud/cron.php","message":"failed to create instance of background job: OCA\\GroupFolders\\BackgroundJob\\ExpireGroupTra>



Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

Firefox

Web server / Reverse Proxy

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

PASTE HERE

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "192.168.1.111",
            "dieter-m.mooo.com"
        ],
        "memcache.local": "\\OC\\Memcache\\APCu",
        "filelocking.enabled": "true",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0
        },
        "maintenance_window_start": "3",
        "default_phone_region": "DE",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "32.0.5.0",
        "overwrite.cli.url": "http:\/\/192.168.1.111",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "forbidden_filename_basenames": [
            "con",
            "prn",
            "aux",
            "nul",
            "com0",
            "com1",
            "com2",
            "com3",
            "com4",
            "com5",
            "com6",
            "com7",
            "com8",
            "com9",
            "com\u00b9",
            "com\u00b2",
            "com\u00b3",
            "lpt0",
            "lpt1",
            "lpt2",
            "lpt3",
            "lpt4",
            "lpt5",
            "lpt6",
            "lpt7",
            "lpt8",
            "lpt9",
            "lpt\u00b9",
            "lpt\u00b2",
            "lpt\u00b3"
        ],
        "forbidden_filename_characters": [
            "<",
            ">",
            ":",
            "\"",
            "|",
            "?",
            "*",
            "\\",
            "\/"
        ],
        "forbidden_filename_extensions": [
            " ",
            ".",
            ".filepart",
            ".part"
        ],
        "maintenance": false,
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtpauth": true,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***"
    }
}

Apps

Enabled:

  • activity: 5.0.0-dev.0
  • bruteforcesettings: 5.0.0-dev.0
  • calendar: 6.2.0
  • cloud_federation_api: 1.16.0
  • comments: 1.22.0
  • contacts: 8.3.2
  • contactsinteraction: 1.13.1
  • dashboard: 7.12.0
  • dav: 1.34.2
  • deck: 1.16.3
  • federatedfilesharing: 1.22.0
  • federation: 1.22.0
  • files: 2.4.0
  • files_downloadlimit: 5.0.0-dev.0
  • files_pdfviewer: 5.0.0-dev.0
  • files_reminders: 1.5.0
  • files_sharing: 1.24.1
  • files_trashbin: 1.22.0
  • files_versions: 1.25.0
  • firstrunwizard: 5.0.0-dev.0
  • guests: 4.6.0
  • logreader: 5.0.0-dev.0
  • lookup_server_connector: 1.20.0
  • nextcloud_announcements: 4.0.0-dev.0
  • notes: 4.13.0
  • notifications: 5.0.0-dev.0
  • oauth2: 1.20.0
  • password_policy: 4.0.0-dev.0
  • photos: 5.0.0-dev.1
  • privacy: 4.0.0-dev.0
  • profile: 1.1.0
  • provisioning_api: 1.22.0
  • recommendations: 5.0.0-dev.0
  • related_resources: 3.0.0-dev.0
  • serverinfo: 4.0.0-dev.0
  • settings: 1.15.1
  • sharebymail: 1.22.0
  • support: 4.0.0-dev.0
  • survey_client: 4.0.0-dev.0
  • systemtags: 1.22.0
  • theming: 2.7.0
  • twofactor_backupcodes: 1.21.0
  • twofactor_nextcloud_notification: 6.0.0-dev.0
  • twofactor_totp: 14.0.0
  • updatenotification: 1.22.0
  • user_status: 1.12.0
  • viewer: 5.0.0-dev.0
  • webhook_listeners: 1.3.0
  • workflowengine: 2.14.0
    Disabled:
  • admin_audit: 1.22.0
  • app_api: 32.0.0 (installed 32.0.0)
  • circles: 32.0.0 (installed 32.0.0)
  • encryption: 2.20.0
  • files_external: 1.24.1
  • groupfolders: 20.1.10 (installed 20.1.10)
  • suspicious_login: 10.0.0-dev.0
  • text: 6.0.1 (installed 6.0.1)
  • user_ldap: 1.23.0
  • weather_status: 1.12.0 (installed 1.12.0)

Tips for increasing the likelihood of a response

PC wurde mehrmals neu gestartet

Wurde denn überhaupt ein Cronjob angelegt?

Was zeigt:

root@DebianServerVM2:~# crontab -u www-data -l

Moin, könnte ein Bug in der App “Circles” sein.

  • Der fehlerhafte Job stammt aus einer alten oder unvollständigen Registrierung.
  • Wenn du ihn entfernst, löscht du nur den kaputten Eintrag, nicht die App selbst.
  • Circles sollte danach ganz normal funktionieren. :slight_smile:

Du kannst mal mit dem folgenden Kommando die Jobs prüfen:

sudo -u www-data php occ background:queue:list | grep Circles

Zunächst würde ich ein Backup erstellen, da bist Du auf der sicheren Seite und kannst ohne Probleme wieder das System zurück spielen.
Tauch dort ein Eintrag “OCA\Circles\Cron\Maintenance” auf, ist das der Übeltäter. Du kannst dann den Job wie folgt löschen:

sudo -u www-data php occ background:queue:delete OCA\Circles\Cron\Maintenance

Wichtig ist dann aber noch die App “Circles” zu reparieren:

sudo -u www-data php occ maintenance:repair

Und anschließend mal noch cron testen. Wenn keine Fehlermeldung mehr kommt, ist das Problem behoben:

sudo -u www-data php -f cron.php

Hey,

die App Circles war nie installiert

Habe dann trotzdem

sudo -u www-data php occ maintenance:repair

ausgeführt und anschließend noch

sudo -u www-data php -f cron.php

welches ohne Fehlermeldung durch gelaufen ist.

Hat den Fehler nicht behoben.

sudo crontab -u www-data -l

zeigt folgendes:

*/5 * * * * php -f /var/www/nextcloud/cron.php

sudo -u www-data php occ background:list

bringt folgendes:

| 1 | OCA\ContactsInteraction\BackgroundJob\CleanupJob | 2026-02-09T16:31:44+00:00 | null |
| 2 | OCA\FilesReminders\BackgroundJob\CleanUpReminders | 2026-02-09T16:32:34+00:00 | null |
| 3 | OCA\FilesReminders\BackgroundJob\ScheduledNotifications | 2026-02-11T15:55:42+00:00 | null |
| 4 | OCA\Files_Versions\BackgroundJob\ExpireVersions | 2026-02-11T15:55:42+00:00 | null |
| 5 | OCA\Federation\SyncJob | 2026-02-10T09:52:57+00:00 | null |
| 8 | OCA\UpdateNotification\BackgroundJob\UpdateAvailableNotifications | 2026-01-31T18:37:27+00:00 | null |
| 9 | OCA\ServerInfo\Jobs\UpdateStorageStats | 2026-02-11T15:40:18+00:00 | null |
| 10 | OCA\UserStatus\BackgroundJob\ClearOldStatusesBackgroundJob | 2026-02-11T15:55:42+00:00 | null |
| 11 | OCA\NextcloudAnnouncements\Cron\Crawler | 2026-02-11T12:35:20+00:00 | null |
| 12 | OCA\WorkflowEngine\BackgroundJobs\Rotate | 2026-02-11T15:40:18+00:00 | null |
| 13 | OCA\Files\BackgroundJob\ScanFiles | 2026-02-11T15:55:42+00:00 | null |
| 14 | OCA\Files\BackgroundJob\DeleteOrphanedItems | 2026-02-11T15:45:17+00:00 | null |
| 15 | OCA\Files\BackgroundJob\CleanupFileLocks | 2026-02-11T15:55:42+00:00 | null |
| 16 | OCA\Files\BackgroundJob\CleanupDirectEditingTokens | 2026-02-11T15:50:35+00:00 | null |
| 17 | OCA\Files\BackgroundJob\DeleteExpiredOpenLocalEditor | 2026-01-31T18:52:29+00:00 | null |
| 18 | OCA\Files_Sharing\DeleteOrphanedSharesJob | 2026-01-31T18:53:21+00:00 | null |
| 19 | OCA\Files_Sharing\ExpireSharesJob | 2026-01-31T18:53:28+00:00 | null |
| 20 | OCA\Files_Sharing\SharesReminderJob | 2026-02-11T15:45:17+00:00 | null |
| 21 | OCA\Files_Sharing\BackgroundJob\FederatedSharesDiscoverJob | 2026-01-31T18:53:59+00:00 | null |
| 22 | OCA\OAuth2\BackgroundJob\CleanupExpiredAuthorizationCode | 2026-01-31T18:54:07+00:00 | null |
| 23 | OCA\Activity\BackgroundJob\EmailNotification | 2026-02-11T15:55:27+00:00 | null |
| 24 | OCA\Activity\BackgroundJob\ExpireActivities | 2026-01-31T18:54:54+00:00 | null |
| 25 | OCA\Activity\BackgroundJob\DigestMail | 2026-02-11T15:50:02+00:00 | null |
| 26 | OCA\Activity\BackgroundJob\RemoveFormerActivitySettings | 2026-02-11T12:35:23+00:00 | null |
| 28 | OCA\Support\BackgroundJobs\CheckSubscription | 2026-02-11T15:55:42+00:00 | null |
| 29 | OCA\Notifications\BackgroundJob\GenerateUserSettings | 2026-02-11T12:35:23+00:00 | null |
| 30 | OCA\Notifications\BackgroundJob\SendNotificationMails | 2026-02-11T15:55:27+00:00 | null |
| 31 | OCA\Files_Trashbin\BackgroundJob\ExpireTrash | 2026-02-11T15:30:02+00:00 | null |
| 32 | OCA\DAV\BackgroundJob\CleanupDirectLinksJob | 2026-01-31T19:01:44+00:00 | null |
| 33 | OCA\DAV\BackgroundJob\UpdateCalendarResourcesRoomsBackgroundJob | 2026-02-11T15:50:17+00:00 | null |
| 34 | OCA\DAV\BackgroundJob\CleanupInvitationTokenJob | 2026-01-31T19:01:46+00:00 | null |
| 35 | OCA\DAV\BackgroundJob\EventReminderJob | 2026-02-11T15:55:42+00:00 | null |
| 36 | OCA\DAV\BackgroundJob\CalendarRetentionJob | 2026-02-11T12:35:24+00:00 | null |
| 37 | OCA\DAV\BackgroundJob\PruneOutdatedSyncTokensJob | 2026-01-31T19:04:03+00:00 | null |
| 38 | OCA\DAV\BackgroundJob\FederatedCalendarPeriodicSyncJob | 2026-02-11T15:50:02+00:00 | null |
| 39 | OCA\Photos\Jobs\AutomaticPlaceMapperJob | 2026-01-31T19:09:26+00:00 | null |
| 40 | OC\Authentication\Token\TokenCleanupJob | 1970-01-01T00:00:00+00:00 | null |
| 41 | OC\Log\Rotate | 2026-02-11T15:50:17+00:00 | null |
| 42 | OC\Preview\BackgroundCleanupJob | 1970-01-01T00:00:00+00:00 | null |
| 43 | OC\TextProcessing\RemoveOldTasksBackgroundJob | 1970-01-01T00:00:00+00:00 | null |
| 44 | OC\User\BackgroundJobs\CleanupDeletedUsers | 1970-01-01T00:00:00+00:00 | null |
| 45 | OC\Core\BackgroundJobs\GenerateMetadataJob | 1970-01-01T00:00:00+00:00 | null |
| 111 | OCA\Calendar\BackgroundJob\CleanUpOutdatedBookingsJob | 1970-01-01T00:00:00+00:00 | null |
| 112 | OCA\Contacts\Cron\SocialUpdateRegistration | 1970-01-01T00:00:00+00:00 | null |
| 116 | OC\Core\BackgroundJobs\CleanupLoginFlowV2 | 2026-02-11T15:50:17+00:00 | null |
| 117 | OC\Security\Bruteforce\CleanupJob | 1970-01-01T00:00:00+00:00 | null |
| 119 | OC\TextToImage\RemoveOldTasksBackgroundJob | 1970-01-01T00:00:00+00:00 | null |
| 120 | OC\TaskProcessing\RemoveOldTasksBackgroundJob | 1970-01-01T00:00:00+00:00 | null |
| 122 | OCA\DAV\BackgroundJob\DeleteOutdatedSchedulingObjects | 2026-02-11T12:19:09+00:00 | null |
| 139 | OCA\TwoFactorNextcloudNotification\BackgroundJob\CleanupTokens | 2026-02-11T15:50:02+00:00 | null |
| 142 | OCA\Deck\Cron\DeleteCron | 2026-02-11T12:35:24+00:00 | null |
| 143 | OCA\Deck\Cron\ScheduledNotifications | 2026-02-11T15:55:27+00:00 | null |
| 144 | OCA\Deck\Cron\CardDescriptionActivity | 2026-02-11T15:55:27+00:00 | null |
| 145 | OCA\Deck\Cron\SessionsCleanup | 2026-02-11T15:55:42+00:00 | null |
| 301 | OCA\DAV\Migration\BuildCalendarSearchIndexBackgroundJob | 1970-01-01T00:00:00+00:00 | {“offset”:1,“stopAt”:2}

Der Fehler war, das der Cron-Dienst nicht aktiviert war.

“sudo systemctl enable cron”

1 Like