Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NC 29 : Cron job execution fails because OC\BackgroundJob\TimedJob was not found #3632

Closed
theyoungstone opened this issue Apr 27, 2024 · 0 comments

Comments

@theyoungstone
Copy link

Describe the bug
Cronjob execution on Nextcloud 29 fails.

To Reproduce
Steps to reproduce the behavior:

  1. Install or update to NC 29
  2. Run php cron.php

Expected behavior
No error

Server details

Operating system:
Linux Debian 10.13 - 4.19.0-26-cloud-amd64 #1 SMP Debian 4.19.304-1 (2024-01-09) x86_64 GNU/Linux

Web server:
apache2 2.4.38-3+deb10u10

Database:
mariadb-server 10.3.39-0+deb10u2

PHP version:
8.3.6

Nextcloud version:
29.0.0.19

Version of the richdocuments app

Version of Collabora Online

Configuration of the richdocuments app

Insert the output of `./occ config:list richdocuments` (or equivalent adapted for your runtime environment)
Logs

Nextcloud log (data/nextcloud.log)

sudo -u www-data /usr/bin/php -f /var/www/html/nextcloud/cron.php
Error: Class "OC\BackgroundJob\TimedJob" not found in /var/www/html/nextcloud/apps/phonetrack/lib/Cron/AutoExport.php:15
Stack trace:
#0 /var/www/html/nextcloud/lib/composer/composer/ClassLoader.php(576): include()
#1 /var/www/html/nextcloud/lib/composer/composer/ClassLoader.php(427): Composer\Autoload\{closure}()
#2 [internal function]: Composer\Autoload\ClassLoader->loadClass()
#3 /var/www/html/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(126): ReflectionClass->__construct()
#4 /var/www/html/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(146): OC\AppFramework\Utility\SimpleContainer->resolve()
#5 /var/www/html/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(470): OC\AppFramework\Utility\SimpleContainer->query()
#6 /var/www/html/nextcloud/lib/private/ServerContainer.php(155): OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback()
#7 /var/www/html/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(64): OC\ServerContainer->query()
#8 /var/www/html/nextcloud/lib/public/Server.php(55): OC\AppFramework\Utility\SimpleContainer->get()
#9 /var/www/html/nextcloud/lib/private/BackgroundJob/JobList.php(326): OCP\Server::get()
#10 /var/www/html/nextcloud/lib/private/BackgroundJob/JobList.php(235): OC\BackgroundJob\JobList->buildJob()
#11 /var/www/html/nextcloud/cron.php(163): OC\BackgroundJob\JobList->getNext()
#12 {main}
@theyoungstone theyoungstone closed this as not planned Won't fix, can't repro, duplicate, stale Apr 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant