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

Failures in update testing to 10 #32270

Closed
PVince81 opened this issue Aug 8, 2018 · 3 comments · Fixed by #32309
Closed

Failures in update testing to 10 #32270

PVince81 opened this issue Aug 8, 2018 · 3 comments · Fixed by #32309
Assignees
Labels
feature:update p2-high Escalation, on top of current planning, release blocker regression Type:Bug
Milestone

Comments

@PVince81
Copy link
Contributor

PVince81 commented Aug 8, 2018

https://drone.owncloud.com/owncloud/update-testing/108

@DeepDiver1975 please fill in details

Assigning you for fixing in this sprint as discussed.

Would be good to get an overview of the actual impact, what update paths work and which are broken now as it used to work.

Thanks.

@PVince81 PVince81 added this to the development milestone Aug 8, 2018
@PVince81 PVince81 added the p2-high Escalation, on top of current planning, release blocker label Aug 8, 2018
@PVince81
Copy link
Contributor Author

PVince81 commented Aug 8, 2018

setting to p2 as we should examine this before the next release

@ownclouders
Copy link
Contributor

GitMate.io thinks possibly related issues are #22485 (test), #31579 (test), #22492 (test), #16790 (Feedback of failure after sending test email is poor), and #20661 (Update).

@DeepDiver1975
Copy link
Member

Error:

+ cd owncloud
+ ls | grep -v data | grep -v config | xargs rm -rf
+ tar -jxf /drone/src/owncloud-daily-stable10-qa.tar.bz2 -C /drone/src
+ php ./occ up
ownCloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
2018-08-13T00:30:41+00:00 Set log level to debug
2018-08-13T00:30:41+00:00 Turned on maintenance mode
2018-08-13T00:30:41+00:00 Repair step: Repair MySQL database engine
2018-08-13T00:30:41+00:00 Repair info: Not a mysql database -> nothing to do
2018-08-13T00:30:41+00:00 Repair step: Repair MySQL collation
2018-08-13T00:30:41+00:00 Repair info: Not a mysql database -> nothing to do
2018-08-13T00:30:41+00:00 Repair step: Repair SQLite autoincrement
2018-08-13T00:30:41+00:00 Repair step: Repair orphaned reshare
2018-08-13T00:30:41+00:00 Repair step: Repair duplicate entries in oc_lucene_status
2018-08-13T00:30:41+00:00 Repair info: lucene_status table does not exist -> nothing to do
2018-08-13T00:30:41+00:00 Repair step: Upgrade app code from the marketplace
2018-08-13T00:30:41+00:00 Repair info: Enabling market app to assist with update
2018-08-13T00:30:41+00:00 Doctrine\DBAL\Exception\InvalidFieldNameException: An exception occurred while executing 'INSERT INTO "oc_jobs" ("class", "argument", "last_run", "last_checked") VALUES(?, ?, ?, ?)' with params ["OCA\\Market\\CheckUpdateBackgroundJob", "null", 0, 1534120241]:

SQLSTATE[HY000]: General error: 1 table oc_jobs has no column named last_checked
2018-08-13T00:30:41+00:00 Update failed
2018-08-13T00:30:41+00:00 Maintenance mode is kept active
2018-08-13T00:30:41+00:00 Reset log level 

Investigation result:

  • order of upgrade: first execute repair steps - second perform database migrations
  • migration Version20170101215145 adds the missing column 'last_checked'
  • the repair step OC\Repair\Apps tries to add the job
    -> 💥

DeepDiver1975 added a commit that referenced this issue Aug 13, 2018
DeepDiver1975 added a commit that referenced this issue Aug 14, 2018
micbar pushed a commit that referenced this issue Aug 14, 2018
DeepDiver1975 added a commit that referenced this issue Aug 14, 2018
…66a5c74f485c8294b7c5

[stable10] Fixes #32270 - continue with upgrade even if the market ap…
@PVince81 PVince81 modified the milestones: development, QA Jan 11, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jan 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature:update p2-high Escalation, on top of current planning, release blocker regression Type:Bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants