CRON: QueryNotFoundException - Could not resolve OCA\Deck\Cron\SessionsCleanup!
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 354
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 43
Description
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Describe the bug
see ==> https://github.com/nextcloud/deck/issues/7468
(Server: shares with others no more functional for some users)
Deck related warnings/errors
Warnung
cron
QueryNotFoundException
Could not resolve OCA\Deck\Cron\ScheduledNotifications! Class "OCA\Deck\Cron\ScheduledNotifications" does not exist
30.11.2025, 22:00:02
Warnung
cron
QueryNotFoundException
Could not resolve OCA\Deck\Cron\DeleteCron! Class "OCA\Deck\Cron\DeleteCron" does not exist
Warnung
cron
QueryNotFoundException
Could not resolve OCA\Deck\Cron\CardDescriptionActivity! Class "OCA\Deck\Cron\CardDescriptionActivity" does not exist
failed to create instance of background job: OCA\Deck\Cron\CardDescriptionActivity
30.11.2025, 22:00:02
Warnung
cron
QueryNotFoundException
Could not resolve OCA\Deck\Cron\ScheduledNotifications! Class "OCA\Deck\Cron\ScheduledNotifications" does not exist
failed to create instance of background job: OCA\Deck\Cron\ScheduledNotifications
30.11.2025, 22:00:02
Warnung
cron
QueryNotFoundException
Could not resolve OCA\Deck\Cron\DeleteCron! Class "OCA\Deck\Cron\DeleteCron" does not exist
failed to create instance of background job: OCA\Deck\Cron\DeleteCron
30.11.2025, 22:00:02
Fehler
no app in context
InvalidParameterException
Parameter "boardId" for route "deck.page.indexcard" must match "[^/]++" ("" given) to generate a corresponding URL.
To Reproduce
Steps to reproduce the behavior:
- check the nextcloud logs
- see the errors above
- Nextcloud core function: "shares with others" is not functional anymore
- by disabling DECK App - Nextcloud "shares with others" is functional again (no empty site anymore, shares will be shown correctly)
Expected behavior
In general - especially the FEATURED Core apps should NOT crash core functions in the CLOUD.
DECK app will disturb the proper function of shares.
Screenshots
If applicable, add screenshots to help explain your problem.
Client details:
- Browser : MS Edge, newest version ==>
- Version : 142.0.3595.94 (Offizielles Build) (64-Bit)
- Device: Windows 11 Pro, newest Patch Version, 23H2
Server details
Operating system:
see server issue: 56747
Web server:
see server issue: 56747
Database:
see server issue: 56747
PHP version:
see server issue: 56747
Nextcloud version: (see Nextcloud admin page)
see server issue: 56747
Where did you install Nextcloud from:
see server issue: 56747
Signing status:
see server issue: 56747
Login as admin user into your Nextcloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.
see server issue: 56747
List of activated apps:
see server issue: 56747
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder
Nextcloud configuration:
see server issue: 56747
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder
or
Insert your config.php content here
Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)
see server issue: 56747
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
Logs
Nextcloud log (data/nextcloud.log)
Insert your Nextcloud log here
Browser log
GET https://my.domain.com/ocs/v2.php/apps/files_sharing/api/v1/shares?shared_with_me=false&include_tags=true 500 (Internal Server Error)
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the cron registration and handling for OCA\Deck\Cron\SessionsCleanup, ScheduledNotifications, DeleteCron, and CardDescriptionActivity, then inspect the deck.page.indexcard route involved in the empty boardId error. Reproduce the warnings and failed shares request in a test environment; done means the referenced cron classes resolve and Nextcloud sharing no longer returns the reported failure with Deck enabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100