Carddav sync job never runs, namespace mismatch #26202

Closed
PVince81 opened this Issue Sep 23, 2016 · 1 comment

Projects

None yet

1 participant

@PVince81
Collaborator

Steps

  1. Setup v9.1.1
  2. select * from oc_jobs
  3. Run cron several times
  4. select * from oc_jobs

Expected

Sync job runs, marked as such in oc_jobs

Actual

OCA\DAV\CardDAV\Sync\SyncJob job never runs:

MariaDB [owncloud]> select * from oc_jobs;
+----+---------------------------------------------------+----------+------------+--------------+-------------+
| id | class                                             | argument | last_run   | last_checked | reserved_at |
+----+---------------------------------------------------+----------+------------+--------------+-------------+
|  1 | OCA\Files_Versions\BackgroundJob\ExpireVersions   | null     | 1474639042 |   1474639118 |           0 |
|  2 | OCA\Files_Sharing\DeleteOrphanedSharesJob         | null     | 1474639117 |   1474639118 |           0 |
|  3 | OCA\Files_Sharing\ExpireSharesJob                 | null     | 1474639117 |   1474639117 |           0 |
|  4 | OCA\Files_Trashbin\BackgroundJob\ExpireTrash      | null     | 1474639117 |   1474639117 |           0 |
|  5 | OCA\Files\BackgroundJob\ScanFiles                 | null     | 1474639117 |   1474639117 |           0 |
|  6 | OCA\Files\BackgroundJob\DeleteOrphanedItems       | null     | 1474639117 |   1474639117 |           0 |
|  7 | OCA\Files\BackgroundJob\CleanupFileLocks          | null     | 1474639117 |   1474639117 |           0 |
|  8 | OCA\DAV\CardDAV\Sync\SyncJob                      | null     |          0 |   1474639117 |  1474639117 |
|  9 | OCA\Federation\SyncJob                            | null     | 1474639117 |   1474639117 |           0 |
| 10 | OCA\UpdateNotification\Notification\BackgroundJob | null     | 1474639117 |   1474639117 |           0 |
| 11 | \OC\Authentication\Token\DefaultTokenCleanupJob   | null     | 1474639118 |   1474639118 |           0 |
+----+---------------------------------------------------+----------+------------+--------------+-------------+

It seems that the namespace doesn't match the class, wasn't this moved recently ?

@DeepDiver1975 please clarify. What's the consequence ?
What's the difference with the federation sync job ?

@PVince81 PVince81 added this to the 9.1.2 milestone Sep 23, 2016
@PVince81 PVince81 added the regression label Sep 23, 2016
@PVince81
Collaborator

Hmm, in 9.0.4 it was called OCA\DAV\CardDAV\SyncJob and when you update to 9.1.1 that job stays and the broken was is inserted, so you don't lose functionality as the old one still runs.

However if you setup 9.1.1 from scratch that one is missing and replaced by the invalid one.

@DeepDiver1975 DeepDiver1975 referenced this issue Sep 23, 2016
Merged

Use correct name for background jobs #26203

5 of 12 tasks complete
@DeepDiver1975 DeepDiver1975 added a commit that referenced this issue Oct 19, 2016
@DeepDiver1975 @DeepDiver1975 DeepDiver1975 + DeepDiver1975 [stable9.1] Use correct name for background jobs
fixes #26202
cc92cdb
@PVince81 PVince81 closed this in #26203 Oct 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment