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

Carddav sync job never runs, namespace mismatch #26202

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

Comments

Projects
None yet
2 participants
@PVince81
Member

PVince81 commented Sep 23, 2016

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

This comment has been minimized.

Show comment
Hide comment
@PVince81

PVince81 Sep 23, 2016

Member

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.

Member

PVince81 commented Sep 23, 2016

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 added a commit that referenced this issue Sep 23, 2016

@DeepDiver1975 DeepDiver1975 referenced this issue Sep 23, 2016

Merged

Use correct name for background jobs #26203

5 of 12 tasks complete

DeepDiver1975 added a commit that referenced this issue Oct 19, 2016

@PVince81 PVince81 closed this in #26203 Oct 19, 2016

elie195 added a commit to elie195/core that referenced this issue Mar 23, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment