nextcloud / richdocuments

📑 Collabora Online for Nextcloud
https://nextcloud.com/collaboraonline
355 stars 116 forks source link

Nextcloud Office breaks cron with call to OC\BackgroundJob\TimedJob #3523

Closed cfuller closed 8 months ago

cfuller commented 8 months ago

Describe the bug On every cron run, the following error is thrown by this app, causing cron to fail: Error: Class "OC\BackgroundJob\TimedJob" not found in /var/www/nextcloud/apps/richdocuments/lib/Backgroundjobs/ObtainCapabilities.php:29

To Reproduce Steps to reproduce the behavior:

  1. Enable system cron to run background jobs
  2. Install and Enable Nextcloud Office
  3. See error

Expected behavior Background jobs run via system cron with no errors

Client details:

Server details

Operating system: Ubuntu 20.04

Web server: Apache

Database: MariaDB

PHP version: 8.2

Nextcloud version: Nextcloud Hub 8 (29.0.0 beta 2)

Version of the richdocuments app 8.4.0-beta.1

Version of Collabora Online

Configuration of the richdocuments app

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

{ "apps": { "richdocuments": { "disable_certificate_verification": "yes", "enabled": "yes", "installed_version": "8.4.0-beta.1", "public_wopi_url": "https:\/\/nc..com", "types": "prevent_group_restriction", "use_groups": "Users", "wopi_url": "https:\/\/nc..com\/apps\/richdocumentscode\/proxy.php?req=" } } }

Logs #### Nextcloud log (data/nextcloud.log) ``` Insert your Nextcloud log here ``` #### Browser log ``` Insert your browser log here, this could for example include: a) The javascript console log b) The network log c) ... ```
kmorber commented 8 months ago

I applied the fixes, but i still have the same problem.

joshtrichards commented 7 months ago

@kmorber Are you sure it's still coming from RD? Not something else like the FTS app? Can you post the exact error you're still seeing?