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

Upgrade from 14.0.1 to 14.0.2 RC1 waiting for cron to finish #11630

Closed
Emi94 opened this issue Oct 5, 2018 · 5 comments
Closed

Upgrade from 14.0.1 to 14.0.2 RC1 waiting for cron to finish #11630

Emi94 opened this issue Oct 5, 2018 · 5 comments
Labels

Comments

@Emi94
Copy link

Emi94 commented Oct 5, 2018

Steps to reproduce

1.Start upgrade on web interface from NC 14.0.1 to 14.0.2 RC 1
2.Continue with the occ upgrade

Expected behaviour

Upgrade should finish successfully

Actual behaviour

After running occ upgrade I get "Waiting for cron to finish (checks again in 5 seconds)" over and over

Server configuration

Operating system: ubuntu 16.04

Web server: apache 2.4

Database: postgresql 9.5

PHP version: php 7.0

Nextcloud version: 14.0.1 -> 14.0.2 RC 1

I managed to make the upgrade continue by running UPDATE oc_jobs SET reserved_at=0 as specified here: #9992

This is the job that had a reserved_at > 0:
6 | OCA\Files\BackgroundJob\ScanFiles | null | 1538701211 | 1538701211 | 1538701211 | 884

@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #6140 (ugrade from 12.0.1 to 12.0.2 failed), #11392 (Stuck Waiting for cron to finish when upgrading from 14.0 to 14.0.1), #9329 (Upgrade from 13.0.1 to 13.0.2 not possible), #3797 (Upgrade from 11.0.1 to 11.0.2 lost apps and theme), and #11588 (14.0.2 RC 1).

@Co0p3r21
Copy link

Co0p3r21 commented Oct 5, 2018

The workaround #10949 still works. But for me there is a problem with Code integrity. It is possible to fix it but keep that in mind.

@enzolis
Copy link

enzolis commented Oct 11, 2018

Same issue during update to final version: 14.0.1 -> 14.0.2
Workaround fixes the hang.
The offending job in my case was:
226 | OCA\Survey_Client\BackgroundJobs\MonthlyReport | null | 1539258472 | 1539258472 | 1539258472 | 0

Best regards,
Thimo

@MorrisJobke
Copy link
Member

Duplicate of #10949

@MorrisJobke MorrisJobke marked this as a duplicate of #10949 Oct 12, 2018
@MorrisJobke
Copy link
Member

Workaround can be found in #10949 (comment) and the very next comment there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants